商店中的 WSO2 token 再生问题

标签 wso2 wso2-api-manager

我在 Linux 计算机上使用 wso2 独立版,我已更改 SSL 配置以使用自己的证书。我遵循了本指南,

https://docs.wso2.com/display/ADMIN44x/Creating+New+Keystores

现在我遇到了一些问题,当我在商店>应用程序>沙箱 key 或生产 key 中重新生成 token 时,它会给出错误,

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 端点工作正常。

有人可以帮我吗?

提前致谢。

最佳答案

确保您已配置<APIKeyValidator> api-manager.xml 中的部分正确地,就像这样。

<APIKeyValidator>
    <!-- Server URL of the API key manager -->
    <ServerURL>https://your.new hostname.com:9443/services/</ServerURL>

关于商店中的 WSO2 token 再生问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46316515/

相关文章:

javascript - 如何将wso2聚合调解器的列表响应列表转换为单个列表

git - 如何使用和理解 wso2 git 存储库?

Java,使用用户名和密码访问安全的 WSO2 Web 服务

wso2 - 如何在 APIM 2.0 中调用没有访问 token 的 api

WSO2 APIM Analytics SQL Server 安装

java - 在WSO2中给出端口号和传递的参数

type-conversion - 在 WSO2 Integration Studio 中将 double 转换为整数

WSO2 BAM 2.4.0 启动失败 - 无法启动连接池

build - WSO2-APIM 建筑与修改碳 apimgt 子组件

wso2-api-manager - WSO2 Api Manager(wso2am-4.0.0) - wso2am-4.0.0 中的默认 token 端点是否已更改?