3 months ago
Good morning, I've had an app hosted on railway for several years. In the last 4-6 months it's been arbitrarily failing and can only be fixed by restarting manually. I've had to do this 3-4 times now. The reasons for failure seem arbitrary:
fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "[removed_1]", Request id "[removed_1]:[removed_2]": An unhandled exception was thrown by the application.
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.Fortunately manual restarting works, but I would appreciate knowing if this is something in my code or something on your end. The restart policy is Active On Failure up to 10 times but either it never triggers or it doesn't work and requires a manual restart.
It may be related to my other issue: GitHub connections. I used to have the project repo hosted on one url, but then changed my github account name and can no longer deploy. I've tried unconnecting and reconnecting with no success. Specifically when I click "connect repo", nothing shows up. I've verified the Railway connection to my GH account is active and up to date, and that railway can see only the single required repo.
any help would be appreciated.
Project ID: bc34a59a-6e6b-4072-b0a5-fdf95b73f2c9
0 Replies
3 months ago
Hello,
Where would your database be hosted?
3 months ago
As for the GitHub connection being broken.. well, you don't have a GitHub repo attached to that service, so I would start there.
Database is hosted on Azure
I’ve tried repeatedly to connect a repo and it keeps failing
3 months ago
Is it a managed database on Azure?
Can you go a little more into depth on what is failing and how?