에러 문구 : Network Error AxiosError: Network Error at XMLHttpRequest.handleError
에러 해결 : 나의 경우는 테스트 서버에 CORS가 적용이 안 되어 있었어서 발생한 문제였음.
적용하니 해결됨.
아래는 chat gpt에 위 에러 문구로 검색하니 나온 총 해결법 리스트
Possible Causes of the Network Error
- Server Unreachable: The server you are trying to reach might be down or unreachable. This could be due to server-side issues or incorrect URL.
- CORS Issues: If you are making a request from a web application running on a different origin (domain, protocol, or port) than your server, the server needs to allow cross-origin requests. If CORS (Cross-Origin Resource Sharing) is not properly configured, the request will fail.
- Network Connectivity: There may be issues with your internet connection or network settings. This can include problems with your local network, firewall settings, or proxy configuration.
- Invalid URL: The URL you are trying to request might be malformed or incorrect. Make sure the URL is correctly formatted and points to a valid endpoint.
- Request Configuration: There might be an issue with how the request is configured. For example, incorrect headers, authentication tokens, or request parameters might cause the request to fail.
- Browser Extensions: Sometimes, browser extensions or ad blockers can interfere with network requests, causing errors.
'마주쳤던 에러 해결 모음' 카테고리의 다른 글
에러 해결 heidisql authentication plugin 'caching_sha2_password' cannot be loaded (0) | 2024.07.27 |
---|---|
SQLD 자격증 보수 교육하기, 기간 영구적으로 만들기 (배속설정) (1) | 2024.02.21 |
개발자 도구의 실행을 차단했습니다. 문제 해결 방법 (0) | 2024.02.21 |
python2에서 pip 설치하는 방법 (0) | 2023.12.28 |
Could not find com.mysql:mysql-connector-j:.Required by: project : (0) | 2023.12.28 |
댓글