Error 502 between multiple projects through public network
pierro-mojito
PROOP

a year ago

Hi guys,

I'm currently doing a permission-less app that can be deployed multiple times and where those apps can reach each others using on-chain information

I've setup 2 deployment to make some tests. And my 2 deployments can communicate sucesfully. But I have a issue only for a query, something that look like this :

curl --location 'https://.railway.app/' \
--header 'X-Signature: ' \
--header 'Content-Type: application/json' \
--data ''

When I do this call in my application, I have the following error :

{
  "severity": "warn",
  "timestamp": "2025-04-04T12:15:48.220463681Z",
  "message": "Failed to ....",
  "tags": {
     ...
  },
  "attributes": {
    "body": "{\"status\":\"error\",\"code\":502,\"message\":\"Application failed to respond\",\"request_id\":\"nTr59lM1TdWfQOtvR0I5Iw_603524580\"}",
    "level": "warn",
    "status_code": 502,
    "ts": 1743768945.4754088
  }
}

I don't understand why I have this behaviour only with this call. I've logged the request that is sended to try using postman and it worked well…

And on the receiver side, I don't see any log about this request. I should have at least one as I use the logger fiber middleware

Based on the "request_id" in the log, it is possible to get some information ?

17 Replies

pierro-mojito
PROOP

a year ago

51eddb11-035d-477b-bdb2-a38dd58fc40d


a year ago

Hey, on your receiver service, is there anything in the HTTP logs? Usually there's useful information there.


pierro-mojito
PROOP

a year ago

Not for this call, but I have for others, that's why I don't understand :/


a year ago

That shouldn't happen. Railway would show every HTTP request made, even if it results in a 502. I doubt it's a Railway issue but I'll wait for @Brody to confirm it.


a year ago

Just to be sure, are we talking about HTTP logs from the service and not your application, correct?

1357733189036019700


a year ago

what service in what environment?


pierro-mojito
PROOP

a year ago

I was not aware for that sub tab, my bad

1357734371020247300


pierro-mojito
PROOP

a year ago

1357734466189004800


a year ago

Can you get us the browser URL for the service you're looking at right now?


pierro-mojito
PROOP

a year ago

Of course : https://ai-api-orchestrator-b.up.railway.app
It's the deployment id number : 47f64ba0-dc50-436f-ba7b-6bb18f279788


a year ago

We're looking for the dashboard URL you're using right now.



a year ago

Yes, that one, thanks.


a year ago

i'


a year ago

I'm told fiber doesn't follow the http spec perfectly, maybe that's coming into play here.

do you have a MRE?


pierro-mojito
PROOP

a year ago

Not for the moment but I can generate one if needed


a year ago

yes please


Loading...