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/09/10 07:45:22 UTC

[GitHub] [apisix] maxluo1992 opened a new issue #2206: request help:

maxluo1992 opened a new issue #2206:
URL: https://github.com/apache/apisix/issues/2206


   ### Issue description
   I use the docker image to open apisix in the k8s environment, but an error 401 Authorization Required is reported when accessing the resources of the dashboard. But I did not report an error when deploying in a traditional environment.
   ### Environment
   * APISIx Version (CMD: 'APISIx version'):1.2
   * OS: centos7.8 for docker


----------------------------------------------------------------
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] maxluo1992 commented on issue #2206: request help:

Posted by GitBox <gi...@apache.org>.
maxluo1992 commented on issue #2206:
URL: https://github.com/apache/apisix/issues/2206#issuecomment-690093689


   Check the nginx error.log, which reads:
   [lua] init.lua:95: handler(): failed to check token: missing apikey, client: 10.244.3.1, server: , request: "GET /apisix/admin/upstreams HTTP/1.1", host: "192.168.63.184:31191", referrer: "http://192.168.63.184:31191/apisix/dashboard"


----------------------------------------------------------------
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] maxluo1992 edited a comment on issue #2206: request help:

Posted by GitBox <gi...@apache.org>.
maxluo1992 edited a comment on issue #2206:
URL: https://github.com/apache/apisix/issues/2206#issuecomment-690093689


   Check the nginx error.log, which reads:
   [lua] init.lua:95: handler(): failed to check token: missing apikey, client: 10.244.3.1, server: , request: "GET /apisix/admin/upstreams HTTP/1.1", host: "192.168.63.184:31191", referrer: "http://192.168.63.184:31191/apisix/dashboard"
   [lua] ctx.lua:82: __index(): failed to fetch cookie value by key: cookie_x_api_key error: nil, client: 10.244.3.1, server: , request: "GET /apisix/admin/routes HTTP/1.1", host: "192.168.63.184:31191", referrer: "http://192.168.63.184:31191/apisix/dashboard"


----------------------------------------------------------------
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] moonming commented on issue #2206: request help:

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #2206:
URL: https://github.com/apache/apisix/issues/2206#issuecomment-690073030


   @juzhiyuan please take a look


----------------------------------------------------------------
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] juzhiyuan commented on issue #2206: request help:

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #2206:
URL: https://github.com/apache/apisix/issues/2206#issuecomment-690333590


   > http://192.168.63.184:31191/apisix/dashboard
   
   May I know which version of the dashboard are you using? v1.0?


----------------------------------------------------------------
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