omnivore-app / omnivore

Omnivore is a complete, open source read-it-later solution for people who like reading.
https://omnivore.app
GNU Affero General Public License v3.0
11.68k stars 602 forks source link

Web: "Application error: a client-side exception has occurred" #2980

Open hiepph opened 9 months ago

hiepph commented 9 months ago

I'm on Firefox. When I open the Omnivore page, I literally cannot do anything except viewing this error:

Application error: a client-side exception has occurred (see the browser console for more information)

I opened the console and this error popped up:

TypeError: e.labels is undefined
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
hiepph commented 9 months ago

So I went to the main home page [1] and logged in again. Now the error disappeared!

It's weird. It might be good to take a look at this bug, though.

[1] https://omnivore.app/

jacksonh commented 9 months ago

It sounds like the network request failed.

jacksonh commented 8 months ago

Based on the stack trace here its likely the labels request failing. Going to see if i can replicate, i thought I had killed all this places this caused an issue.

hiepph commented 8 months ago

This might provide you some context:

I would expect it redirects me back to the login page instead of showing that error.

Well, if I allow all possible Omnivore cookies to persist, including api-prod.omnivore.app andomnivore.app, then it's not a problem.

[1] https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/ [2] https://omnivore.app/home?q=in%3Ainbox [3] https://omnivore.app/

jacksonh commented 8 months ago

Ahhh, hmm yeah we can handle this better. I think where its failing we aren't really expecting the user to have been logged out