Public Logs in Public Railway project not working
alphalink
HOBBYOP

2 years ago

Hi, we have a public Railway project and we want the logs to be publicly inspectable.

While the UI looks like this should be possible, it does not seem to work unfortunately. No logs load in the UI and we can see that the websocket connection fails with the following response:

// wss://backboard.railway.app/graphql/internal

{
  "id": "5a0ce145-fa9b-49d9-ae7d-49245cc62e02",
  "type": "next",
  "payload": {
    "errors": [
      { "message": "Problem processing request" }
    ],
    "data": null 
  }
}

We can however see the logs as usual when logged in.

The project url is: https://railway.app/project/267aef10-2d89-4d0e-9aaa-a16821c54c94/logs

How may we enable public logs for our public project? Or is this not supported after all?

Thank you

Solved

2 Replies

brody
EMPLOYEE

2 years ago

Hey Mohit,

Public logs for public services would not be supported in the same the variables wouldn't be public, the information could hold sensitive information.


Status changed to Awaiting User Response Railway over 1 year ago


melissa
PRO

2 years ago

Hey @mohit, I wanted to follow up on Brody's response. To keep the feature simple, we intentionally made logs inaccessible from unauthenticated sessions to avoid exposing sensitive information. However, we have previously discussed adding more granular controls to public projects so users can decide for themselves what they want to show/hide. I'd love to understand your use-case to inform the discussion!


Railway
BOT

6 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...