wso2 api 管理器碳页面给出了 403 Forbidden [英] wso2 api manger carbon page gives 403 Forbidden

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

问题描述

我下载了一个新的 wso2 api 管理器并试图打开链接 http://host_name:9443/碳.它给出了 403 forbidden 的错误,堆栈跟踪是:

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 在 JDK 1.8.0_151 中,您可以继续使用以下方法:

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 中禁用压缩,将压缩切换到关闭" 而不是默认的 开启".
  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 管理器碳页面给出了 403 Forbidden的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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