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

Cannot Connect To KeePass After Reinstall #27

Open
vivienney opened this issue Sep 15, 2018 · 6 comments
Open

Cannot Connect To KeePass After Reinstall #27

vivienney opened this issue Sep 15, 2018 · 6 comments

Comments

@vivienney
Copy link

I have used KeePassHelper with Chrome for a year and it has worked. However, I switched from Chrome Web Store version to packaging the extention myself. Since then I cannot get KeePassHelper to connect to KeyPass via KeePassHttp. I can confirm that I have entered the correct settings for KeePassHttp such as port. I have created new Chrome profile and I was able to connect to KeePassHttp but I cannot connect using the old profile. I am not sure what is going on. I get no error that explains what is the issue instead the orange wheel just keeps rotating.

Any help or advice would be appreciated.

@belaviyo
Copy link
Owner

Open your KeePass application and delete the sharing token. If it doesn't work, try:

Go to chrome://extensions and open the background page for this extension, then go to the network tab. When the extension tries to connect to the native side, it sends multiple HTTP requests to the KeePassHttp plug-in. You can see the responses. See if you see any error message in the responses.

@vivienney
Copy link
Author

vivienney commented Sep 20, 2018

It turns out the issue was related to iframes. Once I disabled the iframes option, I was able to connect to KeePassHttp. With iframes enabled. I receive the following error:

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

In order to fix this security exception, I needed to disable the Block third-party cookies option. However, due to this security exception, I couldn't connect to KeePassHttp and ended up with a rotating orange wheel:

screenshot

Quick question: Is there a way to centre the panel horizontally without having the iframes option enabled? I prefer to block third-party cookies but still would like to have the panel centered.

@belaviyo
Copy link
Owner

I needed to disable the Block third-party cookies option

In Google Chrome if I enable this option, still the popup works. Are you sure this is the preference that causing the issue? It looks like you have somehow disabled the local storage access in the extension context.

@vivienney
Copy link
Author

vivienney commented Sep 22, 2018

In the past, I was able to use both iframes and the Block third-party cookies option at the same time but for some odd reasons it stopped working. Now when I enable both iframes and the Block third-party cookies option, I receive the local storage access error. The screenshot for which I posted above. The popup simply shows an endless loop of rotating orange wheel. I'm using ungoogled chromium 67.0.3396.87.

belaviyo added a commit that referenced this issue Oct 31, 2018
@belaviyo
Copy link
Owner

Since I am not able to reproduce, I've pushed a possible fix for this. Please wait for the next release and let me know if the issue is solved or not

@gamedevsam
Copy link

I recommend closing this issue, it's gone dormant.

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