Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Infinite Authenticating #468

Open
gitcodehab opened this issue Dec 21, 2024 · 2 comments
Open

[Bug]: Infinite Authenticating #468

gitcodehab opened this issue Dec 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@gitcodehab
Copy link

What happened?

Connecting via the Android app results in an infinite "Authententicating ..." message without timeout.

Steps to reproduce

Setup of Paperless-NGX

According to: https://github.com/paperless-ngx/paperless-ngx/blob/dev/docker/compose/docker-compose.portainer.yml

  • redis:7
  • postgres:16
  • paperless-ngx:2.13.5

Paperless-Mobile (Android)

Correct credentials

  • Download of the Android app from the Playstore
  • Inserting the server address http://xxx.xxx.xxx.xxx:yyy
  • Client Certificate: Configure Mutual TLS Authentication
  • Continue
  • Enter the correct credentials
  • Sign-in
Result
  • Now, the app loads infinitely.
  • The back-button doesn't work anymore - only possible way is to force close the app.
  • On the paperless-ngx webserver, there is no entry in the debug or info log.

Invalid credentials

See the previous paragraph but enter INCORRECT credentials.

Result
  • Now, the app loads infinitely.
  • The back-button doesn't work anymore - only possible way is to force close the app.
  • On the paperless-ngx webserver, there is an entry in the debug or info log [INFO] [paperless.auth] Login failed for user "xyz" from private IP "xxx.xxx.xxx.xxx".

Log output from the app

12-21 19:10:38.141 16744 16765 I flutter : 2024-12-21 19:10:38.141	DEBUG   --- [      AuthenticationCubit] - login                    : Trying to log in xyz@xx***xx...
12-21 19:10:38.150 16744 16765 I flutter : 2024-12-21 19:10:38.141	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Adding new user xyz@xx***xx..
12-21 19:10:38.151 16744 16765 I flutter : 2024-12-21 19:10:38.142	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Fetching bearer token from the server...



Stopped the recording after 5min - nothing else was shown (looked like this for Admin and non-Admin users)

Screenshots

issue_2
issue_1

Paperless-ng*x Version

2.13.5

Paperless-Mobile Version

3.2.1

Device

Google Pixel 7 and Google Pixel 8

Operating System Version

Android 15

Device Locale

German

Selected Locale

None

Additional Context

  • Paperless is running flawless via the web-application.
  • No reverse-proxy
  • There is no timeout in the app (see [Bug]: Unable to login to Paperless Mobile (only) ! #391 )
  • Tested on multiple phones as well as a tablet (Android 14 & 15 with latest updates)
  • Tested with Admin and non-Admin users
@ChrisX1809
Copy link

ChrisX1809 commented Dec 27, 2024

Same here.
Got the message PaperlessUnauthorizedException. Could nothing find, that occurs to the error. Ios app is functionable.

@peteh
Copy link

peteh commented Dec 31, 2024

Same here

Paperless-ngx 2.13.5

It works when using ip+port directly on http

It runs endlessly on reverse proxy with nginx and https

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants