2 months ago
My project is also still giving errors. Where it was working normally and connecting to the database, now it can no longer communicate with the database. It keeps showing an IP that my application cannot access. I configure the internal connection URL in the environment variable.
My project: thomaslegal10/whatsapp-dispenser
ZapVupt.Web
I use .NET C# and it's giving a connection error with the PostgreSQL database.
I also have a problem where it gives an error in the new deployment, but the previous one failed the health check and still stopped the container. Now my application is completely offline. I need help.
2026-03-19T12:53:44.988151934Z [inf] fail: Program[0]
2026-03-19T12:53:44.988158394Z [inf] Falha ao aplicar migrations (tentativa 3/3): Failed to connect to 10.174.10.175:5432
2026-03-19T12:53:44.988166754Z [inf] Npgsql.NpgsqlException (0x80004005): Failed to connect to 10.174.10.175:5432
2026-03-19T12:53:44.988170624Z [inf] ---> System.TimeoutException: The operation has timed out.
2026-03-19T12:53:44.988174094Z [inf] at Npgsql.TaskTimeoutAndCancellation.ExecuteAsync(Func`2 getTaskFunc, NpgsqlTimeout timeout, CancellationToken cancellationToken)
2026-03-19T12:53:44.988214324Z [inf] at Npgsql.Internal.NpgsqlConnector.g__OpenCore|214_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
2026-03-19T12:53:44.988218904Z [inf] at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
2026-03-19T12:53:44.988223154Z [err] at Npgsql.TaskTimeoutAndCancellation.ExecuteAsync(Func`2 getTaskFunc, NpgsqlTimeout timeout, CancellationToken cancellationToken)
2026-03-19T12:53:44.988229404Z [inf] at Npgsql.Internal.NpgsqlConnector.ConnectAsync(NpgsqlTimeout timeout, CancellationToken cancellationToken)
2026-03-19T12:53:44.988232334Z [err] at Npgsql.Internal.NpgsqlConnector.ConnectAsync(NpgsqlTimeout timeout, CancellationToken cancellationToken)
2026-03-19T12:53:44.988232444Z [inf] fail: Microsoft.EntityFrameworkCore.Database.Connection[20004]
2026-03-19T12:53:44.988238654Z [inf] at Npgsql.Internal.NpgsqlConnector.ConnectAsync(NpgsqlTimeout timeout, CancellationToken cancellationToken)
2026-03-19T12:53:44.988238714Z [inf] An error occurred using the connection to database 'railway' on server 'tcp://postgres.railway.internal:5432'.
2026-03-19T12:53:44.988243694Z [err] at Program.$(String[] args) in /app/Program.cs:line 108
Attachments
5 Replies
2 months ago
Hi everyone, really sorry for the trouble. We experienced some networking disruptions earlier today that might have affected internal connectivity for some of your services mentioned here. Please try redeploying both your database service and your application (not just a restart) which should refresh the internal DNS and restore connectivity. If you're still seeing connection failures after a full redeploy, please let us know and we'll look at your specific project.
Status changed to Awaiting User Response Railway • 2 months ago
2 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • about 2 months ago
