butler
butler copied to clipboard
Poor error message when Qlik Sense version service cannot be contacted
What version of Butler are you using?
12.4.0
What version of Node.js are you using? Not applicable if you use the standalone version of Butler.
No response
What command did you use to start Butler?
butler.exe -c butler-config.yaml
What operating system are you using?
WinSrv 2019
What CPU architecture are you using?
x86_64
What Qlik Sense versions are you using?
2024-May IR
Describe the Bug
In this case Qlik Sense had not yet fully started when Butler was started. Resulted in this error messages. Add better exception handling.
2024-07-03T05:43:45.765Z error: QLIKSENSE VERSION MONITOR: Error: connect ECONNREFUSED 10.11.12.13:9032
2024-07-03T05:43:45.765Z error: QLIKSENSE VERSION MONITOR: Error: connect ECONNREFUSED 10.11.12.13:9032
at AxiosError.from (C:\snapshot\butler\node_modules\axios\dist\node\axios.cjs:836:14)
at RedirectableRequest.handleRequestError (C:\snapshot\butler\node_modules\axios\dist\node\axios.cjs:3086:25)
at RedirectableRequest.emit (node:events:549:35)
at ClientRequest.<anonymous> (C:\snapshot\butler\node_modules\follow-redirects\index.js:38:24)
at ClientRequest.emit (node:events:537:28)
at TLSSocket.socketErrorListener (node:_http_client:465:9)
at TLSSocket.emit (node:events:537:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (C:\snapshot\butler\node_modules\axios\dist\node\axios.cjs:3876:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async cke (C:\snapshot\butler\build.cjs:806:15798)
Expected Behavior
No response
To Reproduce
No response