Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Bot crashes with poor internet connection #14

Closed
ItsPhant opened this issue Mar 14, 2018 · 2 comments
Closed

Bot crashes with poor internet connection #14

ItsPhant opened this issue Mar 14, 2018 · 2 comments
Labels

Comments

@ItsPhant
Copy link
Owner

https://github.com/ItsPhant/Dommebot.js/issues/15

@ItsPhant
Copy link
Owner Author

Error: getaddrinfo EAI_AGAIN gateway.discord.gg:443
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
Emitted 'error' event at:
    at WebSocketConnection.onError (/data/phant/Source/PhantBot-release/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:371:17)
    at WebSocket.onError (/data/phant/Source/PhantBot-release/node_modules/discord.js/node_modules/ws/lib/EventTarget.js:109:16)
    at WebSocket.emit (events.js:180:13)
    at ClientRequest._req.on (/data/phant/Source/PhantBot-release/node_modules/discord.js/node_modules/ws/lib/WebSocket.js:649:10)
    at ClientRequest.emit (events.js:180:13)
    at TLSSocket.socketErrorListener (_http_client.js:394:9)
    at TLSSocket.emit (events.js:180:13)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at process._tickCallback (internal/process/next_tick.js:114:19)

@ItsPhant ItsPhant added the bug label Mar 14, 2018
@ItsPhant
Copy link
Owner Author

I ended up just using a systemd service to restart it.

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

No branches or pull requests

1 participant