wso2 api manger carbon page给出403 Forbidden [英] wso2 api manger carbon page gives 403 Forbidden

查看:25
本文介绍了wso2 api manger carbon page给出403 Forbidden的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了一个新的 wso2 api manager 并尝试打开链接 http://host_name:9443/碳.它给出了 403 禁止的错误,堆栈跟踪是:

I've downloaded a fresh wso2 api manager and trying to open the link http://host_name:9443/carbon. It gives an error of 403 forbidden and the stack trace is :

- JavaLogger potential cross-site request forgery (CSRF) attack thwarted (user:<anonymous>, ip:127.0.0.1, method:POST, uri:/carbon/admin/login_action.jsp, error:required token is missing from the request)

有人知道出了什么问题或我缺少什么吗?

Does anyone have an idea what's wrong or what I'm missing?

推荐答案

这个问题是由于 JDK 1.8.0_151 中的>bug,您可以继续以下方法:

This issue happens due a bug in JDK 1.8.0_151, and you can proceed with approaches:

  1. 从内部版本 1.8.0_151 降级到 1.8.0_144;
  2. 但是如果你不能继续降级,那么你可以在Tomcat中禁用压缩repository/conf/tomcat/catalina-server.xml,将压缩切换到"off" 而不是默认的 "on".
  1. Downgrade from build 1.8.0_151 to 1.8.0_144;
  2. But if you cannot proceed with the downgrade of, so you can disable the compression in Tomcat repository/conf/tomcat/catalina-server.xml, switching compression to "off" instead of the default which is "on".

这篇关于wso2 api manger carbon page给出403 Forbidden的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆