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 2021/04/08 06:22:13 UTC

[GitHub] [apisix-dashboard] xiaotaibai2008 opened a new issue #1717: before login dashboard,there occurs an error: /apisix/admin/tool/version_match 401 (Unauthorized)

xiaotaibai2008 opened a new issue #1717:
URL: https://github.com/apache/apisix-dashboard/issues/1717


   ## Issue description
   <!-- A clear and concise description of what the issue is. -->
   when open dashboard in  web browser,there occurs a error:Failed to load resource: the server responded with a status of 401 (Unauthorized)
   ## Expected behavior
   <!-- A clear and concise description of what you expected to happen. -->
    no such error 
   
   ## How to Reproduce
   
   when type "ip-address :9000" in web browser ,then the website redirect to login page ;
   press F12 ,there is an error occurs 
   
   ## Screenshots
   <!-- Add screenshots to help explain your problem if applicable. -->
   ![image](https://user-images.githubusercontent.com/24215735/113976060-03f54a00-9873-11eb-8808-507846cba0e0.png)
   
   ## Environment
   ![image](https://user-images.githubusercontent.com/24215735/113976120-271ff980-9873-11eb-8e0f-293be7d1ded6.png)
   
   
   ## Additional context
   <!-- Do you want to solve this issue? or add any other context about the problem here. -->


-- 
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-dashboard] juzhiyuan commented on issue #1717: before login dashboard,there occurs an error: /apisix/admin/tool/version_match 401 (Unauthorized)

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


   good for me :) 


-- 
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-dashboard] juzhiyuan commented on issue #1717: before login dashboard,there occurs an error: /apisix/admin/tool/version_match 401 (Unauthorized)

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


   oh sure! 


-- 
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-dashboard] bisakhmondal commented on issue #1717: before login dashboard,there occurs an error: /apisix/admin/tool/version_match 401 (Unauthorized)

Posted by GitBox <gi...@apache.org>.
bisakhmondal commented on issue #1717:
URL: https://github.com/apache/apisix-dashboard/issues/1717#issuecomment-815795440


   Hii, It seems the dashboard is making a GET request to the backend without a valid authorization token. And it's obvious when the user hasn't still logged in. I think as a solution, we can check the `localstorage` for the token, if present only then we will send the GET request to the backend. How does it sound to you @juzhiyuan? :)


-- 
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-dashboard] bisakhmondal commented on issue #1717: before login dashboard,there occurs an error: /apisix/admin/tool/version_match 401 (Unauthorized)

Posted by GitBox <gi...@apache.org>.
bisakhmondal commented on issue #1717:
URL: https://github.com/apache/apisix-dashboard/issues/1717#issuecomment-815885615


   Cool😄. Should I open a PR or let the others pick it up!!


-- 
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-dashboard] Jaycean closed issue #1717: before login dashboard,there occurs an error: /apisix/admin/tool/version_match 401 (Unauthorized)

Posted by GitBox <gi...@apache.org>.
Jaycean closed issue #1717:
URL: https://github.com/apache/apisix-dashboard/issues/1717


   


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