nextcloud / passman-webextension

Webextension for the Passman Nextcloud app. Also offers browser extension & Android app.
https://passman.cc
GNU Affero General Public License v3.0
114 stars 43 forks source link

Always shows connection error, but works #212

Closed rugk closed 6 years ago

rugk commented 6 years ago

Steps to reproduce

  1. Account setup. Start browser. Log in.

The server is running in the same LAN as the client (and is accessible), so it is virtually impossible that it there is a timeout.

Expected behaviour

No error.

Actual behaviour

Shows notification:

Error Error connecting to server (Error: Connection timeout)

But it still works, after some seconds when it has downloaded the passwords.

Configuration

Operating system: Linux

Browser: Firefox 56

Passman version: 2.1.4

Extension version: 2.0.4

Nextcloud version: 12

brantje commented 6 years ago

How about self signed certs? Those will be rejected by chrome / firefox. No way to accept them

rugk commented 6 years ago

No, just to stress it: It works after a few seconds. It just shows this error message, claiming there is an error. Maybe there even is a valid error, but the ad-on retries it after 2 seconds or so… don't know.

jzielke84 commented 6 years ago

Confirming the problem.

AnXh3L0 commented 6 years ago

Are you running any local proxy or DNS caching like Pi-hole?

rugk commented 6 years ago

No, no proxy, but DNS caching likely happens at router level. (Just usual DNS sever though, it also resolves the domain passman uses for connection to nextcloud)

brantje commented 6 years ago

Timeout error was increased a few releases ago, is this still an issue?

rugk commented 6 years ago

Cannot check it right now, sorry. I'll maybe try it later when I am using the extension again.

brantje commented 6 years ago

I'll close it for now, feel free to open a new issue if the problem still exists.