4 months ago
We have static IPs enabled on one of our services. That said, when we query the DB, occasionally the query will fail due to an unauthorized IP attempting to connect to the DB.
Weirdly, this is intermittent. Originally thought it was an issue with the DB provider, but after digging into logs, they shared this:
> Based on the error message and logs you shared—specifically the authentication error (code 28000)—we’ve traced the root cause to certain worker processes attempting to connect from IP addresses that aren’t currently listed in your Neon project's allowed IP addresses. This is why you’re seeing intermittent database connection errors despite most queries functioning as expected.
So it appears something is going on with Static IPs in Railway. Again, it's intermittent, so unclear exactly what the issue is.
2 Replies
4 months ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Can't Connect to MySQL Instance – Getting permission denied root@'ip'
🧵 mongodb won't connect on deployment but does on local and railway shell
If you find the answer from one of these, please let us know by solving the thread!
Status changed to Solved alexpareto • 4 months ago
4 months ago
It was another environment triggering the errors 
Status changed to Awaiting Railway Response Railway • 4 months ago
Status changed to Solved alexpareto • 4 months ago