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

"No Elements Found" #264

Open Fickdichhurensohn opened 1 year ago

Fickdichhurensohn commented 1 year ago

System Information

The initial setup works w/o problems. Assign a app password in the nextcloud web interface. login. All passwords are here, extension works w/o issues. After closing the browswer for the first time however, it stops working: While my account still shows up, when clicking on it, it tells me there are "no elements found".

I do not believe this is due to the setup on the hosting end, as in the web interface all passwords show up without issue. Same thing when using the android NC password app.

Any help would be greatly appreciated!

Browser log

Content-Security-Policy: The page's settings blocked the loading of a resource at wasm-eval ("script-src"). [background.js:2:533714](moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js) NetworkError when attempting to fetch resource. TypeError: NetworkError when attempting to fetch resource. Object { details: {…}, error: {…} } [background.js:2:732369](moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js) Uncaught (in promise) TypeError: can't access dead object 5 this._authQueue is null TypeError: this._authQueue is null addServer moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 Object { details: {…}, error: {…} } addServer@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:747020 [background.js:2:732369](moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js) this._processingQueue is null TypeError: this._processingQueue is null addPassword moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 execute moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/PasswordMine.js:1 _executeController moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 _initBackgroundControllers moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 Object { details: {…}, error: {…} } addPassword@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:734291 execute@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/PasswordMine.js:1:351 _executeController@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:839510 _initBackgroundControllers/<@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:834261 [background.js:2:732369](moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js) this._processingQueue is null TypeError: this._processingQueue is null addPassword moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 execute moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/PasswordMine.js:1 _executeController moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 _initBackgroundControllers moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 Object { details: {…}, error: {…} } addPassword@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:734291 execute@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/PasswordMine.js:1:351 _executeController@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:839510 _initBackgroundControllers/<@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:834261 [background.js:2:732369](moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js) this._processingQueue is null TypeError: this._processingQueue is null addPassword moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 execute moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/PasswordMine.js:1 _executeController moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 _initBackgroundControllers moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 Object { details: {…}, error: {…} } addPassword@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:734291 execute@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/PasswordMine.js:1:351 _executeController@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:839510 _initBackgroundControllers/<@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:834261 [background.js:2:732369](moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js) this._processingQueue is null TypeError: this._processingQueue is null addPassword moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 execute moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/PasswordMine.js:1 _executeController moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 _initBackgroundControllers moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2 Object { details: {…}, error: {…} } addPassword@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:734291 execute@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/PasswordMine.js:1:351 _executeController@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:839510 _initBackgroundControllers/<@moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js:2:834261 [background.js:2:732369](moz-extension://66af8588-ba26-4f4c-83e2-5e71e1ba0440/js/background.js) ​ ``` In Firefox: - Open about:debugging#/runtime/this-firefox - Click "Inspect" on the extension - Copy the content from the "Console" tab In Chrome - Open chrome://extensions - Enable "Developer mode" in the top right corner - Click "Background page" on the extension - Copy the content from the "Console" tab ```
marius-wieschollek commented 1 year ago

That's a lot of errors. Can you add the details of that "NetworkError when attempting to fetch resource. TypeError: NetworkError when attempting to fetch resource." ? The error may also be easier to copy if you check the log in the "Debug" tab in the Addon settings

Fickdichhurensohn commented 1 year ago

Hi

Not sure if im giving you what you need, but in the Debu tab in the addon settings i get the following error, over and over agian:

marius-wieschollek commented 1 year ago

No, that was not the error i'm looking for.

I'm pretty sure that the log message you posted contains your actual Nextcloud Login information, so i removed it and you should change that ASAP.

Fickdichhurensohn commented 1 year ago

The lack of sleep is getting to me. Thanks for letting me know, changed it just to be sure.

Ill check again tonight if i can get the error.

But also it suddenly started working again, atleast for acouple of hours... Not sure whats up.

The NC password app for android works super reliable, never had that there.

On 5 October 2023 10:03:38 CEST, "M. Wieschollek" @.***> wrote:

No, that was not the error i'm looking for.

I'm pretty sure that the log message you posted contains your actual Nextcloud Login information, so i removed it and you should change that ASAP.

-- Reply to this email directly or view it on GitHub: https://github.com/marius-wieschollek/passwords-webextension/issues/264#issuecomment-1748327979 You are receiving this because you authored the thread.

Message ID: @.***>

Fickdichhurensohn commented 11 months ago

{"details":{"data":{},"message":"Cannot read properties of null (reading 'push')","stack":"TypeError: Cannot read properties of null (reading 'push')\n at Object.addPassword (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:760535)\n at d.execute (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/PasswordMine.js:1:351)\n at Object._executeController (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:864533)\n at Array. (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:859284)\n at async Object._notifyListeners (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:823084)\n at async Object._processMessage (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:822671)\n at async Object._processReceivedMessage (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:821719)","time":1697295450130},"error":{"name":"TypeError","stack":["TypeError: Cannot read properties of null (reading 'push')"," at Object.addPassword (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:760535)"," at d.execute (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/PasswordMine.js:1:351)"," at Object._executeController (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:864533)"," at Array. (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:859284)"," at async Object._notifyListeners (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:823084)"," at async Object._processMessage (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:822671)"," at async Object._processReceivedMessage (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:821719)"],"string":"TypeError: Cannot read properties of null (reading 'push')","message":"Cannot read properties of null (reading 'push')"}}

{"details":{"data":{"id":"8ad7eb0f-5661-48f2-bc41-518a1dc5d53d","tab":null,"type":"queue.fetch","reply":null,"silent":false,"sender":"background","channel":"runtime","payload":{"name":"mining"},"receiver":"background"},"message":"Could not establish connection. Receiving end does not exist.","stack":"Error: Could not establish connection. Receiving end does not exist.\n at I (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:748828)","time":1697282621129},"error":{"name":"Error","stack":["Error: Could not establish connection. Receiving end does not exist."," at I (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:748828)"],"string":"Error: Could not establish connection. Receiving end does not exist.","message":"Could not establish connection. Receiving end does not exist."}}

{"details":{"data":{},"message":"Failed to fetch","stack":"TypeError: Failed to fetch\n at O._executeRequest (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:572614)\n at O.send (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:570831)\n at i.findByName (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:560711)\n at Object._getServerSetting (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:872792)\n at async Object._serverGet (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:872077)\n at async Object.get (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:871061)\n at async Object.get (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:831814)\n at async Object.init (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:873984)\n at async Object.init (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:875756)","time":1697282543944},"error":{"name":"TypeError","stack":["TypeError: Failed to fetch"," at O._executeRequest (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:572614)"," at O.send (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:570831)"," at i.findByName (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:560711)"," at Object._getServerSetting (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:872792)"," at async Object._serverGet (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:872077)"," at async Object.get (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:871061)"," at async Object.get (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:831814)"," at async Object.init (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:873984)"," at async Object.init (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:875756)"],"string":"TypeError: Failed to fetch","message":"Failed to fetch"}}

Fickdichhurensohn commented 11 months ago

Hi so i tried switching to edge, mainly due to the better power managment and battery lifetime, and i get the exact same problem. These are the three types of errors i see in the debug window.

acidicX commented 1 week ago

@marius-wieschollek and @Fickdichhurensohn (lol) I think I just found the source of this error. It's setting "always use private browsing mode" to true in Firefox, which triggered the same behavior for me.

I've switched to save nothing & delete on exit, which is basically the same, and now the extension works again.

grafik