商店中的 WSO2 令牌再生问题
WSO2 Token regeneration issue in store
我在 Linux 机器上使用独立的 wso2,我已经更改了 SSL 的配置以使用自己的证书。我遵循了这个指南,
https://docs.wso2.com/display/ADMIN44x/Creating+New+Keystores
现在我遇到了一些问题,当我在 store > applications > sandboxkeys 或 productionkeys 中重新生成令牌时出现错误,
Token revoke failed : HTTP error code : 500
在日志中,
[2017-09-20 06:58:56,114] WARN - EndpointContext Endpoint : AnonymousEndpoint with address https://{uri.var.hostname}:{uri.var.portnum}/oauth2/revoke will be marked SUSPENDED as it failed
[2017-09-20 06:58:56,114] WARN - EndpointContext Suspending endpoint : AnonymousEndpoint with address https://{uri.var.hostname}:{uri.var.portnum}/oauth2/revoke - last suspend duration was : 30000ms and current suspend duration is : 30000ms - Next retry after : Wed Sep 20 06:59:26 UTC 2017
[2017-09-20 06:58:56,114] INFO - LogMediator STATUS = Executing token 'fault' sequence, ERROR_CODE = 101500, ERROR_MESSAGE = Error in Sender
[2017-09-20 06:58:56,115] INFO - HandlerUtils Massage Info: Transaction id=5857679204959341105735016 Message direction=OUT Server name=gitcapp.com Timestamp=1505890736115 Service name=__SynapseService Operation Name=mediate
[2017-09-20 06:58:56,146] ERROR - subscription-add:jag java.lang.RuntimeException: Token revoke failed : HTTP error code : 500
但是其余工作正常,端点对于 HTTPS 工作正常。
谁能帮我解决这个问题?
提前致谢。
确保您已正确配置 api-manager.xml
中的 <APIKeyValidator>
部分,就像这样。
<APIKeyValidator>
<!-- Server URL of the API key manager -->
<ServerURL>https://your.new hostname.com:9443/services/</ServerURL>
我在 Linux 机器上使用独立的 wso2,我已经更改了 SSL 的配置以使用自己的证书。我遵循了这个指南,
https://docs.wso2.com/display/ADMIN44x/Creating+New+Keystores
现在我遇到了一些问题,当我在 store > applications > sandboxkeys 或 productionkeys 中重新生成令牌时出现错误,
Token revoke failed : HTTP error code : 500
在日志中,
[2017-09-20 06:58:56,114] WARN - EndpointContext Endpoint : AnonymousEndpoint with address https://{uri.var.hostname}:{uri.var.portnum}/oauth2/revoke will be marked SUSPENDED as it failed
[2017-09-20 06:58:56,114] WARN - EndpointContext Suspending endpoint : AnonymousEndpoint with address https://{uri.var.hostname}:{uri.var.portnum}/oauth2/revoke - last suspend duration was : 30000ms and current suspend duration is : 30000ms - Next retry after : Wed Sep 20 06:59:26 UTC 2017
[2017-09-20 06:58:56,114] INFO - LogMediator STATUS = Executing token 'fault' sequence, ERROR_CODE = 101500, ERROR_MESSAGE = Error in Sender
[2017-09-20 06:58:56,115] INFO - HandlerUtils Massage Info: Transaction id=5857679204959341105735016 Message direction=OUT Server name=gitcapp.com Timestamp=1505890736115 Service name=__SynapseService Operation Name=mediate
[2017-09-20 06:58:56,146] ERROR - subscription-add:jag java.lang.RuntimeException: Token revoke failed : HTTP error code : 500
但是其余工作正常,端点对于 HTTPS 工作正常。
谁能帮我解决这个问题?
提前致谢。
确保您已正确配置 api-manager.xml
中的 <APIKeyValidator>
部分,就像这样。
<APIKeyValidator>
<!-- Server URL of the API key manager -->
<ServerURL>https://your.new hostname.com:9443/services/</ServerURL>