2 months ago
Hi, I'm noticing something strange with one of my applications that is running on railway. I updated an API only application to setup cors but the OPTIONS requests don't seem to be forwarded to the correct running container. I tried to find the logs but couldn't find anything.
If it's helpful here's railway's request headers in the request:
x-railway-edge
railway/us-east4-eqdc4a
x-railway-request-id
4TRhuJ_FR5O_xP0Kg4a9AQ
9 Replies
2 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!
2 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 2 months ago
2 months ago
@brody can we keep this private till it is actually resolved. I don't know if I would have to share private information or not yet and would like to get a resolution fast if it means I have to share some information to help y'all debug faster
2 months ago
Also, another thing I noticed is that I can see the request when I filter the "HTTP logs" which seems to return a 204 status but within my deploy logs I can't find anything related to it.
Attachments
2 months ago
We do not filter headers or the OPTIONS method under any circumstances, so since this isn't an issue with our platform or product, I have opted to open this up to the community for them to help you, as we cannot provide application-level support, but the community can help.
2 months ago
Hmm, I'll try to debug it but it seems like only the OPTIONS request is somehow are being filtered. I have a logger to log any incoming requests (even failed ones) and I don't see anything incoming but the proxy returns a 204 status code.
2 months ago
There is nothing on our end that would return a 204; that is what your app is returning.
2 months ago
okay, yeah lemme debug it more before I waste your time
2 months ago
I'll drop out here since this isn't an issue with our platform or product. Any further support will be community-provided for this thread.
But I wish you all the best as you debug this!
2 months ago
Def a me issue. Sorry for bothering the team.
Status changed to Solved j2fyi • 2 months ago
