kalkih / passport-appointment-bot

An automated bot designed to seamlessly book appointments for the renewal or creation of Swedish passports or national ID cards.
24 stars 9 forks source link

FetchError: request to https://bokapass.nemoq.se/Booking/Booking/Index/ostergotland failed, reason: socket hang up #31

Closed qubanga closed 2 years ago

qubanga commented 2 years ago

Application error at startup. Worked fine yesterday.

Command prompt snip (error log is empty):

PS C:\temp> .\passport-appointment-bot-win-x64.exe [08:12:18] [info] Validating configuration... [08:12:18] [success] Configuration is valid [08:12:18] [info] Validating configured region... [08:12:18] [success] Valid region Östergötland [08:12:18] [info] Validating configured locations... [08:12:18] [success] Valid locations Linköping [08:12:18] [info] Starting booking session... [08:12:18] [verbose] Started captcha webserver on port 57657

C:\snapshot\pass-bot\node_modules\node-fetch\lib\index.js:1491 reject(new FetchError(request to ${request.url} failed, reason: ${err.message}, 'system', err)); ^ FetchError: request to https://bokapass.nemoq.se/Booking/Booking/Index/ostergotland failed, reason: socket hang up at ClientRequest. (C:\snapshot\pass-bot\node_modules\node-fetch\lib\index.js:1491:11) at ClientRequest.emit (node:events:390:28) at TLSSocket.socketOnEnd (node:_http_client:471:9) at TLSSocket.emit (node:events:402:35) at endReadableNT (node:internal/streams/readable:1343:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { type: 'system', errno: 'ECONNRESET', code: 'ECONNRESET' }

qubanga commented 2 years ago

Sorry, new version fixed this issue.