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

Node.js @Lobby#raiseNetError getaddrinfo ENOTFOUND #144

Open
Naomikho opened this issue Aug 10, 2022 · 2 comments
Open

Node.js @Lobby#raiseNetError getaddrinfo ENOTFOUND #144

Naomikho opened this issue Aug 10, 2022 · 2 comments

Comments

@Naomikho
Copy link

Naomikho commented Aug 10, 2022

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
Copy link
Contributor

xayanide commented Aug 13, 2022

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
Copy link
Author

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.

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

2 participants