R
Railway•10mo ago
cybershizo

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•10mo ago
Project ID: 2735e0d8-8458-46b3-8998-56ab1d1c4646,0b22e706-dea1-442f-ae72-45d81ce1ae7e
cybershizo
cybershizo•10mo ago
I tried hard refreshing the browser and all that Service is online and working but I have no log observability
Fragly
Fragly•10mo ago
Could you try redeploying? if redeploying doesn't solve the issue then make sure you're sending unbuffered data to stdout
cybershizo
cybershizo•10mo ago
I'm not seeing how to redeploy from web nor can I rollback if something goes wrong
No description
cybershizo
cybershizo•10mo 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•10mo ago
Oh nevermind, if the issue is from a railway database then buffered stdout is not the issue
Fragly
Fragly•10mo ago
nevermind i'm tweaking
cybershizo
cybershizo•10mo ago
Haha
Brody
Brody•10mo ago
fr
Fragly
Fragly•10mo ago
you should be able to rollback old deployments Can't you?
Brody
Brody•10mo ago
you can but thats not what they want to do
cybershizo
cybershizo•10mo ago
No description
cybershizo
cybershizo•10mo 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•10mo ago
its an old service, and youre on the hobby plan, i dont think logs are kept for that long
cybershizo
cybershizo•10mo ago
But it's being used now and I don't have any present logs I don't mean historical logs
Brody
Brody•10mo ago
i know
Brody
Brody•10mo ago
open the deployment and redeploy it
No description
cybershizo
cybershizo•10mo ago
No description
cybershizo
cybershizo•10mo ago
Doesn't appear to me
Brody
Brody•10mo ago
interesting run railway up again
cybershizo
cybershizo•10mo ago
Doesn't that deploy from the code at present?
Brody
Brody•10mo ago
yes
cybershizo
cybershizo•10mo ago
But I won't be able to rollback?
Brody
Brody•10mo ago
you arent being shown the 3 dot menu, so it doesnt appear to be an option for you
cybershizo
cybershizo•10mo ago
I'm cautious to redeploy for that reason
Brody
Brody•10mo ago
railway isnt going to switch to the new deployment if it fails to build
cybershizo
cybershizo•10mo 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•10mo ago
yeah a redeploy is a good idea
Duchess
Duchess•10mo ago
Thread has been flagged to Railway team by @Brody.
cybershizo
cybershizo•10mo ago
It's worse than I thought
Brody
Brody•10mo ago
oh yeah?
cybershizo
cybershizo•10mo 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.
cybershizo
cybershizo•10mo ago
But it's only that project, other projects are fine
Brody
Brody•10mo ago
just so you know, neither me nor fragly work for railway, these links do absolutely nothing for us
cybershizo
cybershizo•10mo ago
Oh Who do I ping This is semi serious Not having any observability is not good
Brody
Brody•10mo ago
please do not ping anyone
cybershizo
cybershizo•10mo ago
OK
Brody
Brody•10mo ago
are your apps down?
cybershizo
cybershizo•10mo ago
Calls out to Railway No but I have no observability Which is pretty bad
Brody
Brody•10mo ago
the apps are up, that is what truely matters but instead of links, show us screenshots please
cybershizo
cybershizo•10mo ago
Sure
cybershizo
cybershizo•10mo ago
No description
No description
cybershizo
cybershizo•10mo 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•10mo ago
okay going to check whos on call
cybershizo
cybershizo•10mo 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•10mo ago
oh shit im sorry i got pinged for something and forgot to check and notify whos on call
cybershizo
cybershizo•10mo 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•10mo ago
@char8 - all services within users project have no logs they rotate, as far as i can tell its char right now
cybershizo
cybershizo•10mo ago
Thanks appreciate it
JustJake
JustJake•10mo ago
3 of us see logs
cybershizo
cybershizo•10mo 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•10mo ago
try clearing cache and cookies
cybershizo
cybershizo•10mo ago
I did the hard refresh in Chrome Shift Command R I'll try that as well
cybershizo
cybershizo•10mo ago
cybershizo
cybershizo•10mo ago
No zoom video
Brody
Brody•10mo ago
fwiw, the zoom video is very jarring, its not needed
char8
char8•10mo ago
can you see if there's a websocket request in the network panel?
cybershizo
cybershizo•10mo ago
Sure, I tried clearing Cookies and Local Storage as well
cybershizo
cybershizo•10mo ago
Brody
Brody•10mo ago
try in a guest browser so there is no interference from extensions
cybershizo
cybershizo•10mo ago
Here I show the network panel for a working project and the broken project @char8
cybershizo
cybershizo•10mo ago
@Brody @char8 This is in Incognito
Brody
Brody•10mo ago
you can filter by only websockets activity and theres no need to ping please
cybershizo
cybershizo•10mo ago
Filtering for WebSockets, I see Status 101
cybershizo
cybershizo•10mo ago
Sure sorry
Brody
Brody•10mo ago
are there any messages
cybershizo
cybershizo•10mo ago
Yeah see the above video, unless I am on the wrong tab
Brody
Brody•10mo ago
i watched the video. you didnt open the messages for those websocket connections
cybershizo
cybershizo•10mo ago
Ah I see Sorry am new to debugging websockets
jr
jr•10mo ago
I think this might be a permissions issue. Can you see if there are any failed network requests
cybershizo
cybershizo•10mo ago
It looks like the same thing as the console.error I pasted above
cybershizo
cybershizo•10mo 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•10mo ago
are you the owner of this project?
cybershizo
cybershizo•10mo ago
No description
cybershizo
cybershizo•10mo ago
I'm trying to remember how this is setup, someone else is the owner
Brody
Brody•10mo ago
are you an editor?
cybershizo
cybershizo•10mo 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•10mo ago
ah okay. This is an issue if you are the viewer of the project You are a Viewer of the project
cybershizo
cybershizo•10mo ago
Hmm So it's not a bug? Even if I am a viewer I can't see logs?
jr
jr•10mo ago
It is a bug. You should be able to view logs as a viewer. Fix incoming
cybershizo
cybershizo•10mo 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•10mo ago
I would remove this screenshot (emails in public 🙂)
cybershizo
cybershizo•10mo 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•10mo ago
unfortunatley not at the moment
cybershizo
cybershizo•10mo 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
Want results from more Discord servers?
Add your server