I/o timeout connecting to gateway.discord.gg
been getting a whole lot of these on my logs. Discord bot is non operational as a result. Searches show nothing about this right now, discord api status seems fine and so does railway.
18 Replies
Project ID:
31c54db3-6e09-499b-ae8a-f3c198ca5f1c
Project Id is 31c54db3-6e09-499b-ae8a-f3c198ca5f1c
For the record, no code changes this used to work about 4 hours ago
discord could have decided to ban that particular shared ip
Youch
I'm going to guess there's no way to change that on command lol
not really besides try to spin up an entirely new railway project, or switch regions
Definitely can't do the latter, heh. Does it switch around every so often?
I don't actually know how often a services have their ip's rotated
rip
but you'll be happy to know that static ip's are being worked on
wooooo!
in the mean time (because it's still several months away) you could look into purchasing a vpn/proxy service (like PIA) that provides a static IP and then use the proxy in code
just an idea, don't know if the discord client you are using would support such things
never heard of PIA
I just say them because I know they're pretty trustworthy and do provide a static ip
and also provide a proxy as opposed to just a vpn client
oddly enough, playing a bit with the settings caused a redeploy. that somehow fixed it. <:dracthyr_shrug:1104131900538363904>
you got lucky haha, I'd still look into using a proxy because your next deployment could switch back to the banned IP, or discord could ban the new ip
i'll probably look into it
if I do find the time I'll probably ask how to set it up here
lol
I'll be honest, that wouldn't be specific to railway, it's an entirely in code thing
i see
that makes sense