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

"No connected database" when trying to send rageshakes when IDB is not available #13290

Closed
jryans opened this issue Apr 20, 2020 · 8 comments
Closed
Labels
A-Feedback-Reporting Reporting process for bugs, debug logs (rageshakes), suggestions A-Storage Storage layer of the app, including IndexedDB, local storage, etc. P2 T-Defect

Comments

@jryans
Copy link
Collaborator

jryans commented Apr 20, 2020

Hm, well I don't get the Something went wrong! message on refresh anymore, but submitting logs does result in an "No connected database" still.

And that doesn't go away even after logging in and out... so going to assume something else is causing that. Is there any other way I can get debug logs to you guys ooi?

Originally posted by @anoadragon453 in #13287 (comment)

@jryans jryans added T-Other Questions, user support, anything else A-Storage Storage layer of the app, including IndexedDB, local storage, etc. labels Apr 20, 2020
@jryans
Copy link
Collaborator Author

jryans commented Apr 20, 2020

@anoadragon453, are you using a private window in Firefox? Do you see this immediately after login without any further actions?

@anoadragon453
Copy link
Member

anoadragon453 commented Apr 20, 2020

@jryans Correct. Reproducible with a new account, on https://riot.im/develop

Possibly useful log lines:

image

Just prints "Sending bug report" when clicking "Send logs":

image

Edit: and even after closing all private tabs and reopening another one to test again with a new account.

@t3chguy
Copy link
Member

t3chguy commented Apr 20, 2020

Well the logs are stored in IDB which is not available in Firefox InPrivate so it makes sense

@anoadragon453
Copy link
Member

oh, well then

@jryans jryans changed the title "No connected database" when trying to send rageshakes "No connected database" when trying to send rageshakes when IDB is not available Apr 21, 2020
@jryans jryans added P2 T-Defect A-Feedback-Reporting Reporting process for bugs, debug logs (rageshakes), suggestions and removed T-Other Questions, user support, anything else labels Apr 21, 2020
@jryans
Copy link
Collaborator Author

jryans commented Apr 21, 2020

It would be nice to have some fallback path for recording and reporting rageshake data when IDB is not available, but it does appear like that could be complex to pull off, since the implementation is heavily IDB based right now.

@jryans
Copy link
Collaborator Author

jryans commented Apr 21, 2020

@anoadragon453 As a workaround for now, you could use Firefox's containers feature to login with test accounts instead of private windows so that you'll have regular IDB access as expected.

@anoadragon453
Copy link
Member

@anoadragon453 As a workaround for now, you could use Firefox's containers feature to login with test accounts instead of private windows so that you'll have regular IDB access as expected.

Have been doing so and it works great, thanks!

@t3chguy
Copy link
Member

t3chguy commented Jul 27, 2023

@t3chguy t3chguy closed this as completed Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Feedback-Reporting Reporting process for bugs, debug logs (rageshakes), suggestions A-Storage Storage layer of the app, including IndexedDB, local storage, etc. P2 T-Defect
Projects
None yet
Development

No branches or pull requests

3 participants