기존에 Axios를 통해 request 를 요청하던중 self signed certificate chain 에러가 발생해서 코드가 다운 되는 이슈가 발생했습니다. 해당 이슈에 대해 확인 해보던 중에 알게 된 사실은 OpenSSL 이슈라는 걸 확인해서 찾아보던 중에 해결 방법으론 2가지가 있는데 1. axios instance 생성시에 httpsAgent 세팅을 통해서 해결 하는 방법 2. NODE_TLS_REJECT_UNAUTHORIZED Environment 세팅을 통해 해결 NODE_TLS_REJECT_UNAUTHORIZED=0 REFERENCES https://github.com/axios/axios/issues/535
Update WireGaurd Package to 14 and Set Hashed password VPN 서버로 wireGaurd를 세팅하였고, 해당 패키지가 오래 되어서 업그레이드를 하게 되었습니다. i used wireGaurd as my VPN server, and the server is not updated long time so i try to update the package. 기존에는 password를 plain 방식으로 제공해서 추가하면 되었는데, 업데이트 된 버전부터는 password 값을 hashed 데이터로 넣어달라고 에러를 리턴하더라구요. previous the wireGaurd need to plain text password, but after the upgrade version, they need to put the hashed password in the environment. and if you sent not hashed password then they got a return from server 그래서 어떤식으로 제공하는지 에러 메세지에 나온 주소로 가봤는데, 해당 주소가 찾을수 없다는 에러가 리턴되었습니다. https://github.com/wg-easy/wg-easy/blob/master/How_to_generate_an_bcrypt_hash.md so i access the page they mention in the error details, but the page is not exists. this is the page link they mention in the error details https://github.com/wg-easy/wg-easy/blob/master/How_to_generate_an_bcrypt_hash.md 그래서 Chatgpt를 통해 물어보니, 제가 bcrypt 를 통해 hashed 한 데이터를 PASSWORD_HASH environment에 세팅해주면 된다...
Mac에서 docker 실행시에 행이 발생할때 Mac을 메인 PC로 작업을 진행중에 갑자기 docker 실행시에 hang이 걸리는 이슈가 발생해서 해당 관련 내용에 대해 오류를 수정하다가 해당 내용이 공유가 되면 좋을것 같아서 이렇게 적습니다. 저는 방법을 찾던중에 docker 버전이 자동 업그레이드 되면서 발생한 이슈로 판단해서 기존에 PC에 깔려있는 docker를 지우고 새로 설치하는 형태로 이슈를 해결하였습니다. 이때 주의할 점은 기존에 docker를 Mac에서 지웠다고 하더라도 관련된 리소스들은 제거 되지 않아 문제가 원활하게 해결 되지 않습니다. 그래서 아래 내용을 통해 관련된 docker 리소스를 다 제거 후에 재 설치를 해줄 경우 docker가 정상 동작합니다. rm -rf ~/Library/Group\ Containers/group.com.docker rm -rf ~/Library/Containers/com.docker.docker rm -rf ~/.docker cd /usr/local/bin sudo rm -rf docker docker-compose docker-compose-v1 kubectl.docker com.docker.cli https://github.com/docker/for-mac/issues/6576#issuecomment-1315409976
덕분에 워크스페이스찾음요 ..감사
답글삭제