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/05/29 07:11:07 UTC

[GitHub] [incubator-apisix] houshunwei commented on issue #1626: 修改config.yaml中admin的允许ip后可以进入dashboard,进入后菜单报错

houshunwei commented on issue #1626:
URL: https://github.com/apache/incubator-apisix/issues/1626#issuecomment-635802904


   我用的1.2镜像,存在同样问题。
   跟着下面的教程做的:
   https://github.com/apache/incubator-apisix/blob/master/doc/getting-started-cn.md
   
   403的问题,我已经解决了,需要设置 allow_admin:  中请求端的ip(比如我的宿主机ip 172.18.0.1/24)。
   
   但是我遇到另外的问题,请求admin不通,报 no route to host:
   [root@e55e6d0dc93b apisix]# curl "http://127.0.0.1:9080/apisix/admin/services/" -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'
   {"error_msg":"no route to host"}
   
   
   
   
   


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