R
Railway•5mo ago
zgmg92

Some logs never load

Railway
Log Explorer
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
87 Replies
Percy
Percy•5mo ago
Project ID: 2735e0d8-8458-46b3-8998-56ab1d1c4646,0b22e706-dea1-442f-ae72-45d81ce1ae7e
zgmg92
zgmg92•5mo ago
I tried hard refreshing the browser and all that Service is online and working but I have no log observability
Fragly
Fragly•5mo ago
Could you try redeploying? if redeploying doesn't solve the issue then make sure you're sending unbuffered data to stdout
zgmg92
zgmg92•5mo ago
I'm not seeing how to redeploy from web nor can I rollback if something goes wrong
No description
zgmg92
zgmg92•5mo ago
@Fragly It's a legacy service so I don't really want to deploy from code unless I need to What does unbuffered mean here? I'm using logrus with Go to stdout, stderr
Fragly
Fragly•5mo ago
Oh nevermind, if the issue is from a railway database then buffered stdout is not the issue
Fragly
Fragly•5mo ago
nevermind i'm tweaking
zgmg92
zgmg92•5mo ago
Haha
Brody
Brody•5mo ago
fr
Fragly
Fragly•5mo ago
you should be able to rollback old deployments Can't you?
Brody
Brody•5mo ago
you can but thats not what they want to do
zgmg92
zgmg92•5mo ago
No description
zgmg92
zgmg92•5mo ago
I can't if I want to They've elapsed For what it's worth build logs are stuck on loading too
Brody
Brody•5mo ago
its an old service, and youre on the hobby plan, i dont think logs are kept for that long
zgmg92
zgmg92•5mo ago
But it's being used now and I don't have any present logs I don't mean historical logs
Brody
Brody•5mo ago
i know
Brody
Brody•5mo ago
open the deployment and redeploy it
No description
zgmg92
zgmg92•5mo ago
No description
zgmg92
zgmg92•5mo ago
Doesn't appear to me
Brody
Brody•5mo ago
interesting run railway up again
zgmg92
zgmg92•5mo ago
Doesn't that deploy from the code at present?
Brody
Brody•5mo ago
yes
zgmg92
zgmg92•5mo ago
But I won't be able to rollback?
Brody
Brody•5mo ago
you arent being shown the 3 dot menu, so it doesnt appear to be an option for you
zgmg92
zgmg92•5mo ago
I'm cautious to redeploy for that reason
Brody
Brody•5mo ago
railway isnt going to switch to the new deployment if it fails to build
zgmg92
zgmg92•5mo ago
Fair Thanks, I'll leave it for now but I still don't know what's causing the problem. Has this come up for other people? Just redeploy is the solution?
Brody
Brody•5mo ago
yeah a redeploy is a good idea
Duchess
Duchess•5mo ago
Thread has been flagged to Railway team by @Brody.
zgmg92
zgmg92•5mo ago
It's worse than I thought
Brody
Brody•5mo ago
oh yeah?
zgmg92
zgmg92•5mo ago
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
zgmg92
zgmg92•5mo ago
But it's only that project, other projects are fine
Brody
Brody•5mo ago
just so you know, neither me nor fragly work for railway, these links do absolutely nothing for us
zgmg92
zgmg92•5mo ago
Oh Who do I ping This is semi serious Not having any observability is not good
Brody
Brody•5mo ago
please do not ping anyone
zgmg92
zgmg92•5mo ago
OK
Brody
Brody•5mo ago
are your apps down?
zgmg92
zgmg92•5mo ago
Calls out to Railway No but I have no observability Which is pretty bad
Brody
Brody•5mo ago
the apps are up, that is what truely matters but instead of links, show us screenshots please
zgmg92
zgmg92•5mo ago
Sure
zgmg92
zgmg92•5mo ago
No description
No description
zgmg92
zgmg92•5mo ago
This is the second logs problem I've had this week, I wonder if they are related I just see a forever spinner, only affects this project but affects this project all the way Service is still up and running along, and I would have Discord notifications if it broke, but I don't like flying blind
Brody
Brody•5mo ago
okay going to check whos on call
zgmg92
zgmg92•5mo ago
Summarization for the Railway team: I have no logs for this entire project https://railway.app/project/2735e0d8-8458-46b3-8998-56ab1d1c4646/service/103508b3-a934-4c60-a942-df4770f16d8f. It's still working but all logs are infinite spinners. Only appears to affect this project
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Brody
Brody•5mo ago
oh shit im sorry i got pinged for something and forgot to check and notify whos on call
zgmg92
zgmg92•5mo ago
It's fine, I just think Railway will want to figure this out it likely affects other people Last time Ray was on it I think
Brody
Brody•5mo ago
@char8 - all services within users project have no logs they rotate, as far as i can tell its char right now
zgmg92
zgmg92•5mo ago
Thanks appreciate it
JustJake
JustJake•5mo ago
3 of us see logs
zgmg92
zgmg92•5mo ago
Checking now Here I recorded a video. Still affects me Maybe relevant console error {"message":"Not Authorized","locations":[{"line":9,"column":3}],"path":["tcpProxies"],"extensions":{"code":"INTERNAL_SERVER_ERROR","exception":{"status":400}}} ^
Zazh
Zazh•5mo ago
try clearing cache and cookies
zgmg92
zgmg92•5mo ago
I did the hard refresh in Chrome Shift Command R I'll try that as well
zgmg92
zgmg92•5mo ago
zgmg92
zgmg92•5mo ago
No zoom video
Brody
Brody•5mo ago
fwiw, the zoom video is very jarring, its not needed
char8
char8•5mo ago
can you see if there's a websocket request in the network panel?
zgmg92
zgmg92•5mo ago
Sure, I tried clearing Cookies and Local Storage as well
zgmg92
zgmg92•5mo ago
Brody
Brody•5mo ago
try in a guest browser so there is no interference from extensions
zgmg92
zgmg92•5mo ago
Here I show the network panel for a working project and the broken project @char8
zgmg92
zgmg92•5mo ago
@Brody @char8 This is in Incognito
Brody
Brody•5mo ago
you can filter by only websockets activity and theres no need to ping please
zgmg92
zgmg92•5mo ago
Filtering for WebSockets, I see Status 101
zgmg92
zgmg92•5mo ago
Sure sorry
Brody
Brody•5mo ago
are there any messages
zgmg92
zgmg92•5mo ago
Yeah see the above video, unless I am on the wrong tab
Brody
Brody•5mo ago
i watched the video. you didnt open the messages for those websocket connections
zgmg92
zgmg92•5mo ago
Ah I see Sorry am new to debugging websockets
jr
jr•5mo ago
I think this might be a permissions issue. Can you see if there are any failed network requests
zgmg92
zgmg92•5mo ago
It looks like the same thing as the console.error I pasted above
zgmg92
zgmg92•5mo ago
{
"id": "a4f31107-fbea-4b9f-99f0-ca79bce5d302",
"type": "next",
"payload": {
"errors": [
{
"message": "Not Authorized",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"environmentLogs"
]
}
],
"data": null
}
}
{
"id": "a4f31107-fbea-4b9f-99f0-ca79bce5d302",
"type": "next",
"payload": {
"errors": [
{
"message": "Not Authorized",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"environmentLogs"
]
}
],
"data": null
}
}
Looks related
Brody
Brody•5mo ago
are you the owner of this project?
zgmg92
zgmg92•5mo ago
No description
zgmg92
zgmg92•5mo ago
I'm trying to remember how this is setup, someone else is the owner
Brody
Brody•5mo ago
are you an editor?
zgmg92
zgmg92•5mo ago
Something is wrong though, this is another project I should be the editor unless they removed me? Then why would I still see the project
jr
jr•5mo ago
ah okay. This is an issue if you are the viewer of the project You are a Viewer of the project
zgmg92
zgmg92•5mo ago
Hmm So it's not a bug? Even if I am a viewer I can't see logs?
jr
jr•5mo ago
It is a bug. You should be able to view logs as a viewer. Fix incoming
zgmg92
zgmg92•5mo ago
Oh Got it Thanks I understand now, must have been an oversight. I didn't even know I was a viewer of this project
char8
char8•5mo ago
I would remove this screenshot (emails in public 🙂)
zgmg92
zgmg92•5mo ago
I'll just delete that screenshot Anyway just ping me when it's deployed I can confirm on my side if it's working For the record I'm not sure I'm actually supposed to be viewer for this project. I'll try to confirm with the owner but I don't think they would have intentionally changed me to viewer because they still need my help Would there be any receipt trail like emails or something to confirm?
jr
jr•5mo ago
unfortunatley not at the moment
zgmg92
zgmg92•5mo ago
K I'll check in with the guy, but it doesn't make sense he would do that because I'm still on call for this project. So I wonder if something else is off. I'll follow up on that but it might take a day to hear back I heard back from my guy, he doesn't recall intentionally changing my permissions. I was and should be an editor still OK it looks fixed now I see logs and I am an editor again All good now, thank you