Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Application error: a client-side exception has occurred

Open CactiStaccingCrane opened this issue 2 years ago • 3 comments

When I add entries for Vietnamese in Firefox at open-assistant.io, the website just bugs out and says: Application error: a client-side exception has occurred (see the browser console for more information). At the log, there are two issues that is labeled critical: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/api/vl/auth/check. (Reason: CORS request did not succeed). Status code: (null). and Error: React.Children.only expected to receive a single React element child. Next JS The issue persists even when I cleared out all of my cache and use incognito mode.

CactiStaccingCrane avatar Feb 08 '23 04:02 CactiStaccingCrane

It seems to be language dependent: I haven't encountered this error in English, though I might not have tested enough. I've reproduced the issue with different accounts, Discord and email. #1087 seems to be related

CactiStaccingCrane avatar Feb 08 '23 04:02 CactiStaccingCrane

More detailed debugging and picking apart the error starts from here on Discord: https://canary.discord.com/channels/1055935572465700980/1055935573371658252/1072725330462257192

DigitalDwagon avatar Feb 08 '23 04:02 DigitalDwagon

Looks like the localhost call is unrelated, since it happens on all languages and doesn't seem to cause issue. I've split it off into #1340

DigitalDwagon avatar Feb 08 '23 04:02 DigitalDwagon

This has been fixed

notmd avatar Feb 22 '23 11:02 notmd