marius-wieschollek / passwords-webextension

The official browser extension for the Passwords app for Nextcloud.
GNU General Public License v3.0
106 stars 33 forks source link

Firefox: Error with loading data when initially the Internet connection was missing #265

Open SafetyIng opened 1 year ago

SafetyIng commented 1 year ago

System Information

Steps to reproduce

  1. Start OS without a internet connection.
  2. Start Firefox
  3. Connect the computer to the internet
  4. Open password extension
  5. Start resync by pressing resync button

Expected result

Normally, the app should now display the input mask for the master password after some loading time.

Actual result

Endless loading.

When you change part 2 and 3; so you first connect to internet and then open firefox, then it works fine.

Browser log

Browser log multiple entries every second: ``` {"details":{"data":{},"message":"this._authQueue is null","file":"moz-extension://1031b756-c9ca-4c98-9609-da0972416836/js/background.js","line":2,"stack":"_tryManualAuth@moz-extension://1031b756-c9ca-4c98-9609-da0972416836/js/background.js:2:745213\n_tryAuthorization@moz-extension://1031b756-c9ca-4c98-9609-da0972416836/js/background.js:2:744256\n","time":1696524761404},"error":{"name":"TypeError","stack":["_tryManualAuth@moz-extension://1031b756-c9ca-4c98-9609-da0972416836/js/background.js:2:745213","_tryAuthorization@moz-extension://1031b756-c9ca-4c98-9609-da0972416836/js/background.js:2:744256",""],"string":"TypeError: this._authQueue is null","fileName":"moz-extension://1031b756-c9ca-4c98-9609-da0972416836/js/background.js","lineNumber":2,"columnNumber":745213,"message":"this._authQueue is null"}} ```
marius-wieschollek commented 12 months ago

Can you check if the development build improves this behaviour? There should be a message when you open the popup which allows you to retry connecting to the server if this wasn't possible at startup.