valpa commented on issue #1079: bug: Attempt to get JWT token fail URL: https://github.com/apache/incubator-apisix/issues/1079#issuecomment-575979762 I was using docker version from https://github.com/apache/incubator-apisix-docker.git Rebuild today so I believe APISIX is the last update in master branch. Just tested again, still fail ``` jerry@jerry:~/api_gateway/incubator-apisix-docker/example $ curl -i -X PUT http://localhost:9080/apisix/admin/consumers -d '{"username":"1212121212","plugins":{"jwt-auth":{"key":"1212121212"}}}' HTTP/1.1 201 Created Date: Sun, 19 Jan 2020 08:28:28 GMT Content-Type: text/plain Transfer-Encoding: chunked Connection: keep-alive Server: APISIX web server {"node":{"value":{"username":"1212121212","plugins":{"jwt-auth":{"algorithm":"HS256","key":"1212121212","secret":"5078d51b-dadd-40de-abbe-9704f16dc8cf","exp":86400}}},"createdIndex":305,"key":"\/apisix\/consumers\/1212121212","modifiedIndex":305},"action":"set"} jerry@jerry:~/api_gateway/incubator-apisix-docker/example $ curl -i -X GET http://localhost:9080/apisix/plugin/jwt/sign?key=1212121212 HTTP/1.1 500 Internal Server Error Date: Sun, 19 Jan 2020 08:28:28 GMT Content-Type: text/html Content-Length: 174 Connection: close Server: APISIX web server <html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html> ```
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
