BookStore-Frontend icon indicating copy to clipboard operation
BookStore-Frontend copied to clipboard

[Attention] The api doesn't work when requesting with a proxy

Open Ayanami1314 opened this issue 1 year ago • 1 comments

When I was using the system proxy of clash, I found the api given not work. [reproduction]: open the api-doc of swagger, in "Login" api, click "try it out" and modify the request body like { "username": "***", [your username] "password": "***", [your password] } It responses with a timeout exceeded and {ok: false, message:"登录失败!"} and close the proxy, it works

I waste 20 minute to find this. So I post this issue and hope others can avoid this problem.

Ayanami1314 avatar Feb 22 '24 08:02 Ayanami1314

The backend server currently deployed is only accessible through the campus network. Therefore, if you use the Clash proxy, you won't be able to access it.

tao011110 avatar Feb 23 '24 05:02 tao011110