에러 화면 D:\Project\stable-diffusion-webui\venv\Scripts>pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 Looking in indexes: https://download.pytorch.org/whl/cu117 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certif..
파이썬에서는 일반적으로 urllib, requests, httpslib 등의 모듈을 사용하여 웹 서버와 통신하게 됩니다. 이러한 모듈을 사용하여 SSL/TLS 보안 연결을 설정할 때 신뢰할 수 있는 인증서를 사용해야 합니다. 일반적으로 집이나 보안이 강한 곳이 아닌 경우 문제가 되지 않지만, 회사와 같은 강력한 보안이 되어 있는 네트워크에서 접근 할 경우 SSL 에러가 발생할 수 있습니다. 이를 해결하기 위해서는 5가지 방법이 존재하는데 알아보도록 하겠습니다. 인증서 업데이트 우선 가장 기본적인 해결책으로 SSL 인증서를 업데이트 하는 것입니다. 이미 인증서를 가지고 있지만 만료되었거나 유효하지 않을 경우 SSL 에러가 발생할 수 있는데 이럴 경우 인증서를 업데이트 하는 것으로 문제를 해결할 수 있습니다..
에러 내용 Git으로 레파지토리(Repository)를 clone하기 위해 명령어를 날린 순간 아래와 같은 에러가 떨어지고 말았다. $ git clone https://huggingface.co/kakaobrain/kogpt Cloning into 'kogpt'... fatal: unable to access 'https://huggingface.co/kakaobrain/kogpt/': SSL certificate problem: unable to get local issuer certificate SSL 인증서 문제로 로컬 발급자 인증서를 가져올 수 없다는 에러였다. 이 문제를 해결하는 방법은 git의 설정을 바꾸면 되는데 아래와 같이 설정을 변경하도록 한다. 해결 내용 $ git config --gl..
네이버 API를 호출 시 집에서는 아무런 이상없이 호출되던 녀석이 회사에서는 인증서 문제로 API 접근이 실패하였다. 에러 메세지 java.lang.RuntimeException: API 요청과 응답 실패 at search.NaverSearch.search(NaverSearch.java:44) at search.Main.main(Main.java:35) Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at s..
회사 컴퓨터에 Conda로 가상환경을 설치하려 했더니 아래와 같이 에러가 발생하였다. (base) D:\Project\tts>conda create -n tts python=3.8.0 Collecting package metadata (current_repodata.json): failed CondaHTTPError: HTTP 000 CONNECTION FAILED for url Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. If your current network has https:/..