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.
p>
p>
Read More:
- Error: request failed with status code 500
- NuxtSe rverError:Request failed With status code 500 my solution and thinking
- Error in v-on handler (Promise/async): “Error: Request failed with status code 500“
- SSH suddenly fails to log in, and an error is reported: failed to start openssh daemon
- After Vue is packaged, a blank page appears, an error is reported in the resource request, and there is no error handling scheme
- Registering in Windows10 regsvr32 xxx.ocx reported an error but the call to DIIRegisterServer failed with error code 0x80040200…
- MySQL master-slave replication. An error is reported when starting slave. Slave failed to initialize relay log info structure from the repository
- An error is reported when using SecureCRT to log in to a non root account
- ajax error 400 (Failed to load resource: the server responded with a status of 400 (Bad Request))
- jsp: Failed to load resource: the server responded with a status of 400 (Bad Request)
- Kafka reported error shutdown broker because all log dirs in… Have failed
- An error was reported during PSU upgrade: OPatch failed with error code 73
- Developing in Android java.net.SocketException : socket failed: eacces (permission denied) reported an error
- Apache2 cannot be started and an error is reported for apache2.service failed because the control process exited with error code.
- During the development of vue, v-for reported an error [vue/require-v-for-key] Elements in iteration expect to have’v-bind:key’ directives.
- Remove video with video byte 0, uncaught (in promise) domexception: failed to load because no supported source was f
- egg.js The frame post request reported an error of invalid CSRF token security verification, which has been solved
- The request failed with HTTP status 401: Unauthorized. SSRS 2008
- The browser console reports failed to load resource: net :: ERR_CONNECTION_RESET, which results in unable to log in
- An error is reported in the compiler require of laravel: installation failed, reversing/ composer.json to its original content.