Meowhal / osu-ahr

irc bot for osu multi lobby auto host rotation
MIT License
129 stars 37 forks source link

Node.js @Lobby#raiseNetError getaddrinfo ENOTFOUND #144

Open Naomikho opened 2 years ago

Naomikho commented 2 years ago

Edit: added another error message that pops out. [14:15:25.899][INFO] pre - Starting up... [14:15:25.922][INFO] cli - Connecting to osu!Bancho... [14:15:46.959][ERROR] lobby - @Lobby#raiseNetError connect ETIMEDOUT 192.241.219.151:6667 Error: connect ETIMEDOUT 192.241.219.151:6667 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)

[20:12:35.588][INFO] pre - Starting up... [20:12:35.610][INFO] cli - Connecting to osu!Bancho... [20:12:35.614][ERROR] lobby - @Lobby#raiseNetError getaddrinfo ENOTFOUND irc.ppy.sh Error: getaddrinfo ENOTFOUND 3-4.25* irc.ppy.sh at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)

I get the error messages above when using npm run start. I have updated node and its version is already 16.6. I have also followed the json format as below:

{ "irc": { "server": "irc.ppy.sh", "nick": "Naomikho", "opt": { "port": 6667, "password": "redacted" } } }

May I know what is the issue here? Is it my network settings?

xayanide commented 2 years ago

Both errors are related to connectivity. ETIMEDOUT The receiver didn't respond after some time. ENOTFOUND Gives a hint that your internet connection may be lacking.

Yes, you should try to check your network settings. Related to internet connection.

I can reproduce the second error mentioned by disabling my Ethernet adapter, an equivalent of not having internet.

There is also a tiny possibility that you might've tried to use the irc bot while there was a maintenance in osu!, I doubt it though.

Naomikho commented 2 years ago

Thank you for the response. I still haven't found out what exactly was causing the network issue, but I'll continue looking into it further on my own.