keeweb-connect icon indicating copy to clipboard operation
keeweb-connect copied to clipboard

Compatibility with keeweb integration into Nextcloud

Open mat-m opened this issue 2 years ago • 4 comments

Hello

I tried to use keeweb-connect with https://github.com/jhass/nextcloud-keeweb I got

Connection state: Error

Cannot connect to KeeWeb, refreshing a tab with KeeWeb may help. Inspect the extension background page to get more details.

I tried to click again "Connect to keeweb" button after the db is loaded into keeweb, but the same error raises.

I dont know if it will never work or if the timeout for the connection is too small, because it takes some time for keeweb to decrypt the file. And I don't see any setting for connection delay in the plugin (Firefox)

mat-m avatar Sep 03 '22 21:09 mat-m

Same here using Nextcloud 24.0.5

Roshak avatar Oct 14 '22 19:10 Roshak

Because Nextcloud uses an iframe the KeeWeb URL extension option should look like: https://cloud.mysite.com/apps/keeweb/keeweb.

This allows keeweb-connect to work but it isn't ideal because even if the KeeWeb app is selected in Nextcloud, keeweb-connect will open a new tab and that KeeWeb gives the error "Too many tabs". Maybe keeweb-connect can connect to the app inside the iframe somehow.

presslab-us avatar Jan 05 '23 16:01 presslab-us

I had the same problem and that solved it! Thanks! A hint for the user would be helpful. Maybe in case of connection error, show something like "Nextcloud user? Make sure to point URL to actual Keeweb app".

Borph avatar Jul 11 '23 06:07 Borph

Because Nextcloud uses an iframe the KeeWeb URL extension option should look like: https://cloud.mysite.com/apps/keeweb/keeweb.

This allows keeweb-connect to work but it isn't ideal because even if the KeeWeb app is selected in Nextcloud, keeweb-connect will open a new tab and that KeeWeb gives the error "Too many tabs". Maybe keeweb-connect can connect to the app inside the iframe somehow.

This works!

pablosavigne avatar May 06 '24 22:05 pablosavigne