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

Haxball.js getaddrinfo ENOTFOUND #2091

Open
furkanardagul opened this issue Nov 19, 2023 · 1 comment
Open

Haxball.js getaddrinfo ENOTFOUND #2091

furkanardagul opened this issue Nov 19, 2023 · 1 comment

Comments

@furkanardagul
Copy link

Hi @basro ,

I use haxball.js module and open my room. It works successfully for 1 or 2 days with NodeJS, but then getaddrinfo closes the room by saying ENOTFOUND. I interpreted the mentioned error as involving a situation such as no data coming from haxball.js. What action can we take regarding the issue?

@furkanardagul
Copy link
Author

node_modules\haxball.js\node_modules\node-fetch\lib\index.js:1505
                        reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
                               ^
FetchError: request to https://www.haxball.com/rs/api/host failed, reason: getaddrinfo ENOTFOUND www.haxball.com
    at ClientRequest.<anonymous> (node_modules\haxball.js\node_modules\node-fetch\lib\index.js:1505:11)
    at ClientRequest.emit (node:events:513:28)
    at TLSSocket.socketErrorListener (node:_http_client:502:9)
    at TLSSocket.emit (node:events:513: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) {
  type: 'system',
  errno: 'ENOTFOUND',
  code: 'ENOTFOUND'
}

Node.js v18.16.0```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant