wso2 api经理碳页面给出了403禁止 [英] wso2 api manger carbon page gives 403 Forbidden
本文介绍了wso2 api经理碳页面给出了403禁止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经下载了一个新的wso2 api管理器,并尝试打开链接 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?
推荐答案
由于 bug ,您可以继续以下方法:
This issue happens due a bug in JDK 1.8.0_151, and you can proceed with approaches:
- 从版本1.8.0_151降级到1.8.0_144;
- 但是如果无法继续进行降级,则可以在Tomcat repository/conf/tomcat/catalina-server.xml 中禁用压缩,将压缩切换为关闭" ,而不是默认的开启" .
- Downgrade from build 1.8.0_151 to 1.8.0_144;
- 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经理碳页面给出了403禁止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文