503 Error when using Railway with Terraform
I'm running into a 503 - Service Unavailable error when trying to use terraform (specifically
terraform plan
) with railway using the railway API.
I'm using this community plugin to integrate terraform and railway - https://registry.terraform.io/providers/terraform-community-providers/railway/latest
My read on this is some kind of API Rate limit on the railway token. Our setup already works with 50 railway terraform resources, but gives us an error when we add 20 more.Solution:Jump to solution
New reply sent from Help Station thread:
Which GH repo do you recommend flagging this issue on? The terraform provider?This would be the right place.You're seeing this because this thread has been automatically linked to the Help Station thread....
5 Replies
Project ID:
21b7eb49-e84c-40c9-9278-73e17ff7b318
21b7eb49-e84c-40c9-9278-73e17ff7b318
tagging @sina from our team for more visibility
!t
New reply sent from Help Station thread:
This thread has been escalated to the Railway team.You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Can you send a payload of what the issue is? We'd like to look at the rate limiting response.Not seeing anything otherwise that would suggest this is on our side. But would like to dig in deeper. Thanks.You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
This is what i can see on my end on terraform on running the planYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
We've merged what should be a fix to this issue, raising the rate limit.Please let us know if this issue reoccurs.Thanks.You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
This issue still occursYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Do you know which endpoint this is hitting? Because I've lifted it to allow 100 RPS bursts, but Terraform could be making tons of additional requestsCan you also send your IP?Additionally, we don't maintain the Terraform provider. What's the usecase that you're using it?You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Additionally I can totally track 100+ services no problem. Maybe this is an issue with one of the resources in the provider?Which resources are you trying to add? I would probably file this against the GitHub issue and then we can have a look there as wellYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
@jake This is hitting the following endpoint: https://backboard.railway.app/graphql/v2(https://github.com/terraform-community-providers/terraform-provider-railway/blob/88190d08233dc212881ff4fe5ebf8fe40a676af6/internal/provider/provider.go#L90)Resources I'm trying to add are - railway project, railway environment, railway service, along with custom domains, shared variables, and deployment triggers.The use-case is to maintain the railway infra alongside other infra as IAC for the company.My IP: 67.180.48.234You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Which GH repo do you recommend flagging this issue on? The terraform provider?You're seeing this because this thread has been automatically linked to the Help Station thread.
Solution
New reply sent from Help Station thread:
Which GH repo do you recommend flagging this issue on? The terraform provider?This would be the right place.You're seeing this because this thread has been automatically linked to the Help Station thread.