Tag Archives: renren-fast

Vue failed to log in. F12 reported an error: request failed with status code 404

1.Vue login, F12 as follows 404 error

POST http://localhost:8701/renren-fast/sys/login 404 (Not Found) 

Uncaught (in promise) Error: Request failed with status code 404
    at createError (createError.js?16d0:16)
    at settle (settle.js?db52:18)
    at XMLHttpRequest.handleLoad (xhr.js?ec6c:77)

solution:

vue front-end project static> config> Index,js project path port is inconsistent with backend renren-fast port. Here is 8701, but in application, YML configuration file is 8702, here is changed to 8702 after the access takes effect.