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

Passman startup failure on Chrome #141

Closed
theCalcaholic opened this issue Jul 25, 2017 · 4 comments
Closed

Passman startup failure on Chrome #141

theCalcaholic opened this issue Jul 25, 2017 · 4 comments

Comments

@theCalcaholic
Copy link

theCalcaholic commented Jul 25, 2017

passman_bugged

Steps to reproduce

Not sure if this will be reproducable for others. However for me the issue was caused after:

  1. Install and setup the passman chrome extension on device 1 (in my case a windows machine - don't think it matters).
  2. Open chrome on device 2 (a linux machine in my case) and wait until the extensions are synchronized.
  3. try to open the Passman extension by clicking on the icon in the right upper corner.

Expected behaviour

Passman shows the setup dialog (requesting next-/owncloud domain and credentials) - that or it is already configured and shows the list of credentials for the current site.

Actual behaviour

The dialog is bugged (see attached image) and there is a log message in the JS console saying [Passman extension] Stopping, vault key not set -- inject.js:328

Things I tried so far

  • Try to install the passman extension in a fresh chrome profile (without reinstalling chrome and without synchronizing anything) - to the same result.
  • Try to delete any extension cache and configuration of Passman I could find in the chrome config directory - to no avail

Things I didn't try

  • Reinstall chrome on the linux machine

Configuration of machine 1

Operating system: Windows 7 64 bit

Browser: Google Chrome (latest version I think, 50.*; can't verify until in two weeks)

Extensions that might cause interference: None - tried to disable any other extension.

Passman version: 2.1.2

Extension version: 2.0.0 as well as 2.0.1

Nextcloud version: 12.0.0

Configuration of machine 2

Operating system: Debian 64 bit

Browser: Google Chrome (latest version I think, 50.*; can't verify until in two weeks)

Extensions that might cause interference: None - tried to disable any other extension.

Passman version: 2.1.2

Extension version: 2.0.0 as well as 2.0.1

Nextcloud version: 12.0.0

JS log

[Passman extension] Stopping, vault key not set -- inject.js:328

@brantje
Copy link
Member

brantje commented Jul 25, 2017

Thanks for reporting this issue.
As you say, this one will be hard to reproduce. I'm using the extension with some different configurations without problems:

  • Windows 10 -> Both firefox and Chrome at work
  • Windows 10 + Linux -> Chrome / Chromium / Firefox at home
  • MacOS -> Firefox and chrome on the test mac

Can you enable developer mode for extensions? You can do that here.
After that, open the passman extension, right click in the popup and click on Inspect Element.
A new window will open, click on it. After that press F5 to reload the popup.
Then click on a tab called Console. Make a screenshot of it and paste it here.
Hopefully we see some errors.

@theCalcaholic
Copy link
Author

theCalcaholic commented Jul 26, 2017

I tested again to install Passman after having removed all Profile directories. The result is the same - which should mean that the issue is actually not related to Chrome's profile-synchronisation.
Furthermore that implies that the Windows system is not relevant to the issue.

The logs yielded interesting results after having activated Dev mode and reloading (as you suggested):

Error: Invalid arguments to connect.
    at Object.updateArgumentsPreValidate (extensions::runtime:142:13)
    at Object.<anonymous> (extensions::binding:372:30)
    at Object.API.runtime.connect (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/lib/API/runtime.js:77:32)
    at new <anonymous> (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/ui/popup/controllers/main.js:38:36)
    at Object.invoke (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:4841:19)
    at $controllerInit (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:10694:34)
    at nodeLinkFn (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:9571:35)
    at compositeLinkFn (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:8880:13)
    at compositeLinkFn (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:8883:13)
    at publicLinkFn (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:8745:30)

and as screenshot...

Next thing I'll try is moving the whole chrome config before attempting to reinstall - but I won't delete it as long as you're interested in tracking the bug down.
EDIT: After doing so I still get the same result. Does chrome have any non profile related cache I could clear?

EDIT 2: I forgot to mention that passman works fine on Chromium 59.0.3071.104 on the same system as well as on Firefox.

@brantje
Copy link
Member

brantje commented Jul 26, 2017

I use Chrome 59. My best guess is that the browser needs to be updated.

@theCalcaholic
Copy link
Author

theCalcaholic commented Jul 26, 2017

That was it. -_-
I wasn't aware that there is no automated update mechanism for chrome on Linux. Sorry, that was a waste of time. >.<

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants