IT'S DO
article thumbnail
[jenkins & github] webhook, action 에서 로컬 서버 일때 Payload URL 보내는 법(We couldn't deliver this payload: failed to connect to host 해결)
형상관리/jenkins 2025. 2. 7. 15:14

# 결론 부터 말하면 :domain이 있는 서버면 상관 없이 잘 된다.로컬 서버일때는 github에서 Webhook의 payload든, Actions의 jenkins.yml이든 localhost 주소로 보내면 안된다.보낼시We couldn't deliver this payload: failed to connect to host  위와 같은 에러 나타남.  # 해결법 : 1. ngrok 설치https://ngrok.com/downloads/windows Download ngrokDownload ngrokngrok.com  다운 받기  2. ngrok 토큰값 주입.=> localhost를 외부에서 받을 수 있는 도메인 서버로 만들어준다.처음 실행하면 회원가입 후 토큰값 받아라고 나오는데, 회원 가입 후 이메..