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
115 stars 43 forks source link

unable to connect to Nextcloud from Chrome #319

Open goldenscarab opened 4 years ago

goldenscarab commented 4 years ago

Hello, when I set passman to connect to my Nextcloud, a javascript error is triggered and nothing happens framework.js:14327 Error: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range. at api_request (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/lib/api.js:193:28) at Object.getVaults (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/lib/api.js:18:13) at server (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/ui/popup/controllers/setup.js:81:26) at chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/ui/popup/controllers/setup.js:129:25 at chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:19915:31 at completeOutstandingRequest (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:6110:10) at chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:6389:7 Possibly unhandled rejection: {"stack":"Error: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.\n at api_request (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/lib/api.js:193:28)\n at Object.getVaults (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/lib/api.js:18:13)\n at server (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/ui/popup/controllers/setup.js:81:26)\n at chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/ui/popup/controllers/setup.js:129:25\n at chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:19915:31\n at completeOutstandingRequest (chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:6110:10)\n at chrome-extension://hlpjhlifkgmoibhollggngbbhbejecph/js/vendor/angular/framework.js:6389:7"}

Is there a solution ?

Thanks in advance

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/90403572-unable-to-connect-to-nextcloud-from-chrome?utm_campaign=plugin&utm_content=tracker%2F52236699&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F52236699&utm_medium=issues&utm_source=github).