element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.01k stars 1.96k forks source link

Hitting Retry on Signature Upload Failed dialog does nothing #13287

Open anoadragon453 opened 4 years ago

anoadragon453 commented 4 years ago

Description

During testing of https://github.com/matrix-org/synapse/issues/7276 I get the following error dialog, which is definitely helpful for debugging!

image

However, hitting retry seems to produce no network request, and hitting retry a second time then just pops up the following dialog:

image

Logs being sent: yes no. Getting the following when trying to send logs:

image

And refreshing seems to say that my local database is having issues: Turns out running two Riots in the same browser context does bad things to your database.

image

Version information

anoadragon453 commented 4 years ago

To be clear, it seems that hitting Retry here corrupts my database(!), and Clear Cache and Reload doesn't fix it. Only logging out and in again does.

jryans commented 4 years ago

Tracking post-release for now. @anoadragon453, does it reliably cause database issues, or was that part a one-off fluke?

anoadragon453 commented 4 years ago

Ahhh, I'm using two matrix accounts in the same Firefox context. That's probably what's causing the database corruptions lol.

Let me retest without that.

anoadragon453 commented 4 years ago

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?

jryans commented 4 years ago

@anoadragon453, let's move the log database issues to https://github.com/vector-im/riot-web/issues/13290.