简体   繁体   English

WSO2IS 5.11.0 - 访问 /myaccount 或 /console web 页面时出现空白屏幕

[英]WSO2IS 5.11.0 - Blank screen when accessing to /myaccount or /console web page

I deployed to test the last release of WSO2 5.11.0 in Docker container.我部署以在 Docker 容器中测试 WSO2 5.11.0 的最后一个版本。 I did not change anything in the default configuration except the hostname and callbackURL for the "Console" and "My Account" service providers to match my hostname.我没有更改默认配置中的任何内容,除了“控制台”和“我的帐户”服务提供商的主机名和回调 URL 以匹配我的主机名。

Access to the carbon console is fine.访问碳控制台很好。 But when I try to reach https://<hostname>/console or https://<hostname>/myaccount , I can fill my login and password, then I have a blank page without anything.但是当我尝试访问https://<hostname>/consolehttps://<hostname>/myaccount时,我可以填写我的登录名和密码,然后我有一个没有任何内容的空白页面。

Any idea is welcome.欢迎任何想法。 Thank you.谢谢你。

Taking the answer from comments:从评论中得到答案:

If you change the host/port of the server after one fresh pack startup , you have to follow the steps in stackoverflow.com/a/65353673/10055162 manually.如果您在新包启动后更改服务器的主机/端口,则必须手动按照stackoverflow.com/a/65353673/10055162中的步骤进行操作。 On the other hand, if you change the host/port before the fresh IS pack server startup these changes applied automatically.另一方面,如果您在新的 IS 包服务器启动之前更改主机/端口,这些更改会自动应用。

Out of the steps in stackoverflow.com/a/65353673/10055162 , You should have missed step 5 which causes you to see a blank page.stackoverflow.com/a/65353673/10055162中的步骤中,您应该错过了导致您看到空白页的第 5 步 Navigate to: Resident IDP > Inbound Authentication Configuration > OAuth2/OpenID Connect Configuration and change Identity Provider Entity ID accordingly.导航到:驻留 IDP > 入站身份验证配置 > OAuth2/OpenID 连接配置并相应地更改身份提供者实体 ID

Further, these value changes can't be done via deployment.toml.此外,这些值更改无法通过 deployment.toml 完成。

I can reproduce the same issue, upon initial startup with what I believe is a correct configuration:我可以在初始启动时使用我认为正确的配置重现相同的问题:

When adding an HTTPS ProxyPort config of 443添加 443 的 HTTPS ProxyPort配置时

[server]
hostname = "identity.myorg.io"
...
[transport.https.properties]
proxyPort = 443 

Upon initial startup, the Resident IdP erroneously sets the Identity Provider Entity ID to https://identity.myorg.io:443/oauth2/token .在初始启动时,居民 IdP 错误地将Identity Provider Entity ID设置为https://identity.myorg.io:443/oauth2/token

This means that when accessing -> https://identity.myorg.io/console|myaccount the same issue as described by the OP is encountered.这意味着在访问 -> https://identity.myorg.io/console|myaccount时遇到了与 OP 描述的相同的问题。

Manually changing the IDP EID to remove the :443 fixes it.手动更改 IDP EID 以删除:443修复它。 The server should do this automatically for port 443.服务器应自动为端口 443 执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM