xiaozongyang opened a new issue #399:
URL: https://github.com/apache/pulsar-manager/issues/399


   # What I see
   I deploy a pulsar-manager instance in docker following these instructions. 
When I try to login in my browser, I got a 404 error shown in following picture.
   
![image](https://user-images.githubusercontent.com/8848479/122704821-0c143180-d287-11eb-9b56-24d6aeef00e6.png)
   
   
![image](https://user-images.githubusercontent.com/8848479/122704898-32d26800-d287-11eb-8033-16dfc009ca0e.png)
   
   This request is copied as curl in this command,
   ```bash
   curl 'http://localhost:9527/pulsar-manager/login' \
     -H 'Connection: keep-alive' \
     -H 'Pragma: no-cache' \
     -H 'Cache-Control: no-cache' \
     -H 'sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="91", 
"Chromium";v="91"' \
     -H 'X-XSRF-TOKEN: undefined' \
     -H 'sec-ch-ua-mobile: ?0' \
     -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36' \
     -H 'tenant: undefined' \
     -H 'Content-Type: application/json' \
     -H 'Accept: application/json, text/plain, */*' \
     -H 'environment: undefined' \
     -H 'username: undefined' \
     -H 'Origin: http://localhost:9527' \
     -H 'Sec-Fetch-Site: same-origin' \
     -H 'Sec-Fetch-Mode: cors' \
     -H 'Sec-Fetch-Dest: empty' \
     -H 'Referer: http://localhost:9527/' \
     -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7' \
     -H 'Cookie: _xsrf=2|4013fd3e|b6d98ef38bbba404502e0a5149e81de2|1624113166; 
username-localhost-8888="2|1:0|10:1624191319|23:username-localhost-8888|44:MWE3Y2Y2NWNmYTU2NGVlNDg4YjkyMWExMWYzYmM0YmQ=|b3644b7048dd362805f83e20ffd3287039a86c6b8df75b01360fddfe066e35cc"'
 \
     --data-raw '{"username":"admin","password":"apachepulsar"}' \
     --compressed
   ```
   
   # Expected behavior
   Login successfully and redirect to the admin page.
   
   # Actual behavior
   No UI response and got 404 error in console.


-- 
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:
us...@infra.apache.org


Reply via email to