4 months ago
Hello,
When using the railway API (via the terraform community plugin) to create a volume attached to a service, I'm having a 504 error (timeout).
I already chat with the maintainer of the terraform plugin and it's working for him so no issue from the terraform plugin.
Can you explain to me why I'm having this 504 timeout on the volume creation please ?
Thanks
10 Replies
4 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
Status changed to Awaiting User Response Railway • 4 months ago
4 months ago
We don't provide support for the Terraform provider, but I am wondering what errors are you getting in general.
4 months ago
Hello,
I know that you don't provide support for the Terraform provider that's why I went to talk to the provider maintainer first.
I'm trying to create a service where I pull a database image from a private registry (this part works fine) and I want to attach a volume to this service (this part doesn't work and I'm having a timeout error 504).
According to the maintainer of the provider, he was able to use the terraform resource (that is using the railway API) to create the service and the attached volume. So the issue doesn't seem to be with the tf provider.
FYI : https://github.com/terraform-community-providers/terraform-provider-railway/issues/56
Do you want me to provide more info regarding the service (the id for instance) to see if you can find any logs regarding it ?
Status changed to Awaiting Railway Response Railway • 4 months ago
Status changed to Awaiting User Response Railway • 4 months ago
4 months ago
The id for the service that I want to attach a volume is : eadb2168-3ca8-4ec1-8d2b-65ae010c7bfc
Thanks
Status changed to Awaiting Railway Response Railway • 4 months ago
4 months ago
According to the maintainer of the provider :
"Tell them that using volumeCreate mutation of graphql is giving a gateway timeout."
https://github.com/terraform-community-providers/terraform-provider-railway/issues/56#issuecomment-3528839463
4 months ago
Hello!
We've escalated your issue to our engineering team.
We aim to provide an update within 1 business day.
Please reply to this thread if you have any questions!
Status changed to Awaiting User Response Railway • 4 months ago
4 months ago
This is exactly the report we needed, thanks for surfacing this. I have forwarded this to our team.
3 months ago
Hello,
Update from the product team: the call to volumeCreate that the Terraform provider makes is passing an empty string to the region field. Passing in null would be the correct approach, and would avoid this issue.
Please pass this information on to the maintainer.
Best,
Brody
Status changed to Solved brody • 4 months ago
3 months ago
✅ The ticket Service Timeout Issue has been marked as completed.
