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