2017-02-23 47 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)