Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The new feature to use https in outgoing webhook fails in some occasions #1081

Closed
mountaindude opened this issue Apr 12, 2024 · 1 comment · Fixed by #1082 or #1075
Closed

The new feature to use https in outgoing webhook fails in some occasions #1081

mountaindude opened this issue Apr 12, 2024 · 1 comment · Fixed by #1082 or #1075
Labels
bug delivered This feature has been included in Butler

Comments

@mountaindude
Copy link
Collaborator

Unclear why this happens. Should be better error handling at least?

2024-04-12T05:27:30.941Z error: WEBHOOKOUT 1 message: unable to verify the first certificate
2024-04-12T05:27:30.941Z error: WEBHOOKOUT 1 stack: Error: unable to verify the first certificate
    at AxiosError.from (file:///home/goran/code/butler/node_modules/axios/lib/core/AxiosError.js:89:14)
    at RedirectableRequest.handleRequestError (file:///home/goran/code/butler/node_modules/axios/lib/adapters/http.js:610:25)
    at RedirectableRequest.emit (node:events:530:35)
    at eventHandlers.<computed> (/home/goran/code/butler/node_modules/follow-redirects/index.js:38:24)
    at ClientRequest.emit (node:events:518:28)
    at TLSSocket.socketErrorListener (node:_http_client:495:9)
    at TLSSocket.emit (node:events:518:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    at Axios.request (file:///home/goran/code/butler/node_modules/axios/lib/core/Axios.js:45:41)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async sendOutgoingWebhook (file:///home/goran/code/butler/src/lib/webhook_notification.js:262:34)
@mountaindude
Copy link
Collaborator Author

Added better and more informative error logging when outbound webhook calls fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug delivered This feature has been included in Butler
Projects
None yet
1 participant