thomasbrueggemann / paperless-desktop

🍃 macOS app that uses the paperless API to manage your document scans.
GNU General Public License v3.0
583 stars 52 forks source link

Can't login #36

Open retog opened 6 years ago

retog commented 6 years ago

Expected Behavior

I can log in

Actual Behavior

It tells me the signing information can't be right

Steps to Reproduce the Problem

  1. Set up paperless behind a reverse proxy to enable https
  2. test that in the browser you can log in with your username and password
  3. try logging in with paperless-desktop (using the same URI, username and password as in the browser)

Specifications

thomasbrueggemann commented 6 years ago

Oh, one important thing I forgot in the issue template: What version of paperless are you using? I actually haven't testen paperless-desktop with paperless >= 1.0.0

You could also build paperless-desktop in debug-mode to get instant access to the dev-tools. There you should be able to track down the reason for the error: https://github.com/thomasbrueggemann/paperless-desktop/blob/master/main.js#L130

retog commented 6 years ago

I'm using a fairly recent version of the paperless master branch.

The error on the dev-console is:

xhr.js:175 GET https://[...]/api/api/correspondents/ 404 ()

What looks wrong is the duplicate "api/" in the URL.

thomasbrueggemann commented 6 years ago

Super, thanks for the additional information. I think I can roll out a quick fix this week.