CorwinDev / Discord-Bot

Discord Bot with over 400 commands and made for large servers
MIT License
697 stars 619 forks source link

Unhandled promise rejection: Error: getaddrinfo EAI_AGAIN gateway.discord.gg #221

Open RennieSs opened 9 months ago

RennieSs commented 9 months ago

Hi! My bot have been woking as it should for abt a week, but yesterday night, my bot keeps turning off by itself. It is coded in replit, and hosted on uptimerobot.

But now i get this error when i start up my bot

Unhandled promise rejection: Error: getaddrinfo EAI_AGAIN gateway.discord.gg at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:82:26) { errno: -3001, code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'gateway.discord.gg' }

What is the problem, and how do i fix it?

TemelReyizz commented 9 months ago

Use paid hosting with pterodactyl dont using shit replit ...

pt., 5 sty 2024, 06:45 użytkownik Rennie @.***> napisał:

Hi! My bot have been woking as it should for abt a week, but yesterday night, my bot keeps turning off by itself. It is coded in replit, and hosted on uptimerobot.

But now i get this error when i start up my bot

Unhandled promise rejection: Error: getaddrinfo EAI_AGAIN gateway.discord.gg at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:82:26) { errno: -3001, code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'gateway.discord.gg' }

What is the problem, and how do i fix it?

— Reply to this email directly, view it on GitHub https://github.com/CorwinDev/Discord-Bot/issues/221, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6DKCGAH5SI6PGUKRW6DO33YM6HRDAVCNFSM6AAAAABBN6E64OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DMNZWGUYTKMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

RennieSs commented 9 months ago

I tried to port it to an other hosting, but it just messed it up. Replit is really bad :/