Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate "Uncaught UnknownError: Internal error." #1014

Open
baltpeter opened this issue Jan 12, 2023 · 9 comments
Open

Investigate "Uncaught UnknownError: Internal error." #1014

baltpeter opened this issue Jan 12, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@baltpeter
Copy link
Member

We've received the below error report.

**Debug information:**

message := Uncaught UnknownError: Internal error.
type := error
colno := 18078
filename := https://www.datenanfragen.de/js/commons.bundle.gen.js
lineno := 18
error.code := 0
error.message := Internal error.
error.name := UnknownError
error.context := 
defaultPrevented := false
eventPhase := 2
isTrusted := true
returnValue := true
code_version := 1.0.0
user_agent := Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
url.href := https://www.datenanfragen.de/
url.origin := https://www.datenanfragen.de
url.protocol := https:
url.host := www.datenanfragen.de
url.hostname := www.datenanfragen.de
url.port := 
url.pathname := /
url.search := 
url.hash := 

---

**Debug information:**

message := Uncaught UnknownError: Internal error.
type := error
colno := 18078
filename := https://www.datenanfragen.de/js/commons.bundle.gen.js
lineno := 18
error.code := 0
error.message := Internal error.
error.name := UnknownError
error.context := 
defaultPrevented := false
eventPhase := 2
isTrusted := true
returnValue := true
code_version := 1.0.0
user_agent := Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
url.href := https://www.datenanfragen.de/
url.origin := https://www.datenanfragen.de
url.protocol := https:
url.host := www.datenanfragen.de
url.hostname := www.datenanfragen.de
url.port := 
url.pathname := /
url.search := 
url.hash := 

---

**Debug information:**

message := Uncaught UnknownError: Internal error.
type := error
colno := 18078
filename := https://www.datenanfragen.de/js/commons.bundle.gen.js
lineno := 18
error.code := 0
error.message := Internal error.
error.name := UnknownError
error.context := 
defaultPrevented := false
eventPhase := 2
isTrusted := true
returnValue := true
code_version := 1.0.0
user_agent := Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
url.href := https://www.datenanfragen.de/
url.origin := https://www.datenanfragen.de
url.protocol := https:
url.host := www.datenanfragen.de
url.hostname := www.datenanfragen.de
url.port := 
url.pathname := /
url.search := 
url.hash := 

---

**Debug information:**

message := Uncaught UnknownError: Internal error.
type := error
colno := 18078
filename := https://www.datenanfragen.de/js/commons.bundle.gen.js
lineno := 18
error.code := 0
error.message := Internal error.
error.name := UnknownError
error.context := 
defaultPrevented := false
eventPhase := 2
isTrusted := true
returnValue := true
code_version := 1.0.0
user_agent := Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
url.href := https://www.datenanfragen.de/
url.origin := https://www.datenanfragen.de
url.protocol := https:
url.host := www.datenanfragen.de
url.hostname := www.datenanfragen.de
url.port := 
url.pathname := /
url.search := 
url.hash := 

---

**Debug information:**

message := Uncaught UnknownError: Internal error.
type := error
colno := 18078
filename := https://www.datenanfragen.de/js/commons.bundle.gen.js
lineno := 18
error.code := 0
error.message := Internal error.
error.name := UnknownError
error.context := 
defaultPrevented := false
eventPhase := 2
isTrusted := true
returnValue := true
code_version := 1.0.0
user_agent := Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
url.href := https://www.datenanfragen.de/
url.origin := https://www.datenanfragen.de
url.protocol := https:
url.host := www.datenanfragen.de
url.hostname := www.datenanfragen.de
url.port := 
url.pathname := /
url.search := 
url.hash := 

---

**Debug information:**

message := Uncaught UnknownError: Internal error.
type := error
colno := 18078
filename := https://www.datenanfragen.de/js/commons.bundle.gen.js
lineno := 18
error.code := 0
error.message := Internal error.
error.name := UnknownError
error.context := 
defaultPrevented := false
eventPhase := 2
isTrusted := true
returnValue := true
code_version := 1.0.0
user_agent := Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
url.href := https://www.datenanfragen.de/
url.origin := https://www.datenanfragen.de
url.protocol := https:
url.host := www.datenanfragen.de
url.hostname := www.datenanfragen.de
url.port := 
url.pathname := /
url.search := 
url.hash := 
@baltpeter baltpeter added the bug Something isn't working label Jan 12, 2023
@baltpeter
Copy link
Member Author

The debug info isn't exactly helpful, unfortunately.

Searching for "Uncaught UnknownError: Internal error." only brings up IndexedDB problems, albeit with longer error messages. That would make this @zner0L's problem.

Maybe the code location is more helpful.

@baltpeter
Copy link
Member Author

baltpeter commented Jan 12, 2023

Maybe the code location is more helpful.

Not at all, I'm afraid. commons.bundle.gen.js:18:18078 is our rethrow function*.

* Which we should probably re-evaluate at some point. I feel like a lot of our usages of that stem from us not properly understanding promises early on…

@baltpeter
Copy link
Member Author

baltpeter commented Jan 12, 2023

Doesn't seem to be related to the browser either. Remarkably enough, I've managed to match it exactly (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36) but still wasn't able to reproduce the problem.

I think I'm out of ideas.

@baltpeter baltpeter changed the title Investiage "Uncaught UnknownError: Internal error." Investigate "Uncaught UnknownError: Internal error." Jan 12, 2023
@zner0L
Copy link
Member

zner0L commented Jan 18, 2023

Have you tried private mode? This might actually be related to IndexedDB as you suggested: https://stackoverflow.com/questions/74207049/internal-error-opening-backing-store-for-indexeddb-open

@zner0L
Copy link
Member

zner0L commented Jan 18, 2023

Yes, I am pretty sure I can narrow it down to PrivacyAsyncStorage, since this is the only place where we use rethrow without any additional error message (oops, should've caught that earlier). I'll investigate.

@zner0L
Copy link
Member

zner0L commented Jan 18, 2023

It might be due to a broken browser profile, which seems plausible to me (https://jasonsavard.com/forum/discussion/4233/unknownerror-internal-error-opening-backing-store-for-indexeddb-open), but I don't really know how to mitigate that. I think in this case I do want to throw an error, but the problem is not on our side.

@baltpeter
Copy link
Member Author

Sounds plausible. Do you want to reply to the user?

@zner0L
Copy link
Member

zner0L commented Jan 18, 2023

Yes, I'll do that.

zner0L added a commit that referenced this issue Jan 18, 2023
In #1014, we found that proper error messages were missing from PrivacyAsyncStorage, which made it harder to debug. I added those now.
zner0L added a commit that referenced this issue Jan 18, 2023
In #1014, we found that proper error messages were missing from PrivacyAsyncStorage, which made it harder to debug. I added those now.
zner0L added a commit that referenced this issue Jan 18, 2023
In #1014, we found that proper error messages were missing from PrivacyAsyncStorage, which made it harder to debug. I added those now.
baltpeter pushed a commit that referenced this issue Jan 18, 2023
In #1014, we found that proper error messages were missing from PrivacyAsyncStorage,
which made it harder to debug. This commit adds them.
@baltpeter
Copy link
Member Author

@zner0L Any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants