allen
allen•2y ago

now getting 404s

now getting 404s
15 Replies
ari
ari•2y ago
Gonna start a thread! This is odd, what page were you on?
allen
allenOP•2y ago
looks like it resolved now. I think these are just transient errors during your deployment rollouts. Usually see a few 503s followed by 404s before things come back online
ari
ari•2y ago
I've been noticing this as well, I'll see if there's something we can tweak in our config to make this better The 404s might be related to the build system building pages for the first time after a deploy
allen
allenOP•2y ago
This is what the web admin was showing though while it was erring.
No description
ari
ari•2y ago
Ah thanks, that specific error should be resolved now. Bit of a timing mismatch on deploying the backend and frontend... also perhaps a bit of a hint on what we're on next 😮
allen
allenOP•2y ago
ha i was hoping so. Was just working on a self-scheduling action this morning.
ari
ari•2y ago
So yeah, two different issues here! The error in your screenshot shouldn't happen again. The 404s may happen transiently on rebuild, but we can likely make this experience better
allen
allenOP•2y ago
I'm sure websockets make this trickier than your typical green/blue strategy accounts for
ari
ari•2y ago
we do use convex under the hood to power the dashboard views! The websocket protocol didn't have much to do with the error you saw - in this case the new feature UIs were hidden correctly behind a feature flag, but the data loading code was still being called on page load before the related functions were available
allen
allenOP•2y ago
Understood. I was referring to the 503/404 issue. I see those on the websocket reconnection attempts within my app console output
ari
ari•2y ago
Ah gotcha, thanks for clarifying. 503 on websockets likely has more to do with when we deploy the backend (perhaps related to your conversation with @sujayakar a few days ago) but 404s in the dashboard in these cases is something I'll need to do some more digging on
allen
allenOP•2y ago
gotcha. for clarity though, the websocket 404s for about ~30sec after the 503 resolves during post-deploy reconnection routines.
ari
ari•2y ago
Ohhh, gotcha. The 503s and 404s are both on the websocket connection
allen
allenOP•2y ago
yup. i saw a 404 on the web and assumed it was just manifesting in a different way but same underlying issue -- sounds like perhaps there are two distinct 404 problems
ari
ari•2y ago
Sounds right! The dashboard doesn't redirect if a websocket connection fails, so if you see 404 pages in the dashboard (that weren't legitimately invalid URLs / missing resources), it would be a different issue

Did you find this page helpful?