Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Can't login #36

Open
retog opened this issue Jun 16, 2018 · 3 comments
Open

Can't login #36

retog opened this issue Jun 16, 2018 · 3 comments

Comments

@retog
Copy link

retog commented Jun 16, 2018

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

  • Version of Paperless-Desktop: 9e0329a
  • Platform: windows 10
  • Version of NodeJS (if applicable): 8.9.3
@thomasbrueggemann
Copy link
Owner

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
Copy link
Author

retog commented Jun 18, 2018

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
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants