You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/28 07:15:43 UTC
[GitHub] [apisix] wenlincheng opened a new issue #2883: request help: 配置 jwt-auth 插件 获取 token的时候报错
wenlincheng opened a new issue #2883:
URL: https://github.com/apache/apisix/issues/2883
### Issue description
### Environment
* apisix version (cmd: `apisix version`):2.0
* OS:MacOS
`
2020/11/28 06:48:51 [error] 42#42: *16841 lua entry thread aborted: runtime error: unknown reason
stack traceback:
coroutine 0:
[C]: in function 'error'
/usr/local/apisix//deps/share/lua/5.1/resty/jwt.lua:465: in function 'get_secret_str'
/usr/local/apisix//deps/share/lua/5.1/resty/jwt.lua:493: in function 'sign'
/usr/local/apisix/apisix/plugins/jwt-auth.lua:209: in function 'handler'
/usr/local/apisix/apisix/api_router.lua:107: in function 'handler'
/usr/local/apisix//deps/share/lua/5.1/resty/radixtree.lua:730: in function 'dispatch'
/usr/local/apisix/apisix/api_router.lua:133: in function 'match'
/usr/local/apisix/apisix/init.lua:373: in function 'http_access_phase'
access_by_lua(nginx.conf:174):2: in main chunk, client: 172.20.0.1, server: , request: "GET /apisix/plugin/jwt/sign?key=pikaman HTTP/1.1", host: "127.0.0.1:9080"
`
配置 jwt-auth 插件 获取 token的时候报这个错是什么原因呢 运行以下命令
curl http://127.0.0.1:9080/apisix/plugin/jwt/sign?key=pikaman -i
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #2883: request help: 配置 jwt-auth 插件 获取 token的时候报错
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #2883:
URL: https://github.com/apache/apisix/issues/2883#issuecomment-735230227
Please describe the steps in detail, including configuring the consumer, configuring the jwt plugin, and attaching configuration parameters for easy reproduction.
In addition, please use English.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] github-actions[bot] closed issue #2883: request help: 配置 jwt-auth 插件 获取 token的时候报错
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #2883:
URL: https://github.com/apache/apisix/issues/2883
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] idbeta commented on issue #2883: request help: 配置 jwt-auth 插件 获取 token的时候报错
Posted by GitBox <gi...@apache.org>.
idbeta commented on issue #2883:
URL: https://github.com/apache/apisix/issues/2883#issuecomment-737042893
@wenlincheng Can you provide more detailed steps?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] github-actions[bot] commented on issue #2883: request help: 配置 jwt-auth 插件 获取 token的时候报错
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2883:
URL: https://github.com/apache/apisix/issues/2883#issuecomment-971427307
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] github-actions[bot] commented on issue #2883: request help: 配置 jwt-auth 插件 获取 token的时候报错
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2883:
URL: https://github.com/apache/apisix/issues/2883#issuecomment-984480641
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org