2017-02-23 49 views
0

当我尝试以默认管理员身份登录时,我在emm控制台上遇到错误。当我用域名替换IP地址时,会发生这种情况。登录到出版商,商店和碳工作正常。WSO2 EMM2.2.0 emm控制台错误

这里是EMM控制台页面上的错误信息:

HTTP Status : 500
{/app/modules/oauth/token-handlers.js} Could not set up token pair by password grant type. Error in token retrieval - setupTokenPairByPasswordGrantType(x, y)

下面是在日志中的错误消息:

TID: [-1234] [] [2017-02-23 10:29:10,943] ERROR {/app/modules/oauth/token-handler-utils.js} - {/app/modules/oauth/token-handler-utils.js} Error in retrieving access token by password grant type - getTokenPairAndScopesBySAMLGrantType(x, y, z)

TID: [-1234] [] [2017-02-23 10:29:10,944] ERROR {auth-module} - An exception thrown when executing the script '/app/modules/login.js'.

TID: [-1234] [] [2017-02-23 10:29:10,944] ERROR {auth-module} - {/app/modules/oauth/token-handlers.js} Could not set up token pair by password grant type. Error in token retrieval - setupTokenPairByPasswordGrantType(x, y)

我该如何解决这个问题?谢谢。

回答

0

我试着通过使用反向代理并安装SSL证书来解决错误。

不过,我碰到这个错误:

TID: [-1234] [] [2017-03-02 16:06:07,734] ERROR {/app/modules/oauth/token-handler-utils.js} - {/app/modules/oauth/token-handler-utils.js - getDynamicClientAppCredentials()} Error in retrieving dynamic client credentials.

TID: [-1234] [] [2017-03-02 16:06:07,746] ERROR {auth-module} - An exception thrown when executing the script '/app/modules/login.js'.

TID: [-1234] [] [2017-03-02 16:06:07,746] ERROR {auth-module} - {/app/modules/oauth/token-handlers.js} Could not set up encoded tenant based client credentials to session context as the server is unable to obtain dynamic client credentials - setUpEncodedTenantBasedClientAppCredentials(x)