Comments (6)
Thanks for this. However, I think the app should provide more comprehensive information to the user about what exactly went wrong. I'll add more log output and better feedback. I'll open a new issue.
from paperless-mobile.
I have a similar problem but mine is stuck at "Authenticating".
My user has Superuser permission.
Pixel 7, Android 14.
Here are the logs:
2023-12-14 21:30:07.277 DEBUG --- [ AuthenticationCubit] - restoreSession : Trying to restore previous session...
2023-12-14 21:30:07.277 DEBUG --- [ AuthenticationCubit] - restoreSession : There is nothing to restore.
2023-12-14 21:30:07.279 INFO --- [ ] - : Setting refresh rate to 90.0
2023-12-14 21:33:12.448 DEBUG --- [ AuthenticationCubit] - login : Trying to log in brpaz@do***ev...
2023-12-14 21:33:12.451 DEBUG --- [ AuthenticationCubit] - _addUser : Adding new user brpaz@do***ev..
2023-12-14 21:33:12.451 DEBUG --- [ AuthenticationCubit] - _addUser : Fetching bearer token from the server...
2023-12-14 21:37:45.880 DEBUG --- [ AuthenticationCubit] - restoreSession : Trying to restore previous session...
2023-12-14 21:37:45.880 DEBUG --- [ AuthenticationCubit] - restoreSession : There is nothing to restore.
2023-12-14 21:37:45.882 INFO --- [ ] - : Setting refresh rate to 90.0
2023-12-14 21:38:36.188 DEBUG --- [ AuthenticationCubit] - login : Trying to log in brpaz@do***ev...
2023-12-14 21:38:36.189 DEBUG --- [ AuthenticationCubit] - _addUser : Adding new user brpaz@do***ev..
2023-12-14 21:38:36.189 DEBUG --- [ AuthenticationCubit] - _addUser : Fetching bearer token from the server...
2023-12-14 21:44:28.286 DEBUG --- [ AuthenticationCubit] - restoreSession : Trying to restore previous session...
2023-12-14 21:44:28.286 DEBUG --- [ AuthenticationCubit] - restoreSession : There is nothing to restore.
2023-12-14 21:44:28.288 INFO --- [ ] - : Setting refresh rate to 90.0
2023-12-14 21:44:52.549 DEBUG --- [ AuthenticationCubit] - login : Trying to log in brpaz@do***ev...
2023-12-14 21:44:52.549 DEBUG --- [ AuthenticationCubit] - _addUser : Adding new user brpaz@do***ev..
2023-12-14 21:44:52.549 DEBUG --- [ AuthenticationCubit] - _addUser : Fetching bearer token from the server...
from paperless-mobile.
Tested with 3.1.8
Same problem.
Here is the log
Any Ideas?
I use paperless behind nginx-proxy-manager with cert from letsencrypt.
When i enter the direct url to paperless, i can login and start using the app :)
from paperless-mobile.
I found the Problem after a bit research and its so simple..
NginxProxyManager proxy-host is configured with access-list
And with access-list "publicly accessible" the app work without problem.
After reenable the access-list (that is scoped to my local subnet) i can not fetch the userinformation.
The problem is the option to "pass auth to host" - this option must be enabled
I think NPM is removing the auth-header from the request of the app and so i get an 401-Error in the NPM-Proxy-Host-Logs for my Device on my allowed subnet.
So for me, the issue is not app-related and can be closed (i think it can be useful for other appusers they host paperless behind NPM)
from paperless-mobile.
"same" error here, actually not the same, but similar..
it is user-related. at least on my side..
I have two users.
- can login properly. (superuser, not the admin)
- cant login, same device, same app. (normal user)
are there any rights needed to use the app, in particular the api? cant find any "api" rights under the user and rights section?
the error in the logs says something like "your server is using a different api version" .. but it is not, since the one user works just fine :)
from paperless-mobile.
nvm.. as we in germany say.. "He who can read is clearly at an advantage".. the login screen suggests what rights are needed... 🙈
from paperless-mobile.
Related Issues (20)
- [Bug]: Anzeige von nur 25 Dokumenten HOT 3
- [Bug]: Settings page only shows Appearance header with gray box HOT 2
- [Feature]: Login trough authentikator HOT 2
- [Improvement]: Edge detection performance is too low. HOT 1
- Enable autocorrect, word suggestions, swiping for document title edit HOT 2
- [Bug]: Cannot login with other than superuser HOT 2
- [Bug]: on crash when too many pages, restarting the apps finds the image but refuses to upload nor export HOT 1
- Show "Date created" in Inbox
- [Bug]: filter documents for owner doesn't work
- No compatible Version for Boox Note 3 available HOT 1
- [Bug]: app doesn't support latest api (v5) HOT 2
- [Feature]: Custom fields support HOT 1
- App crashes when attempting to upload 29 page scan HOT 4
- New notification category created on each scan
- [Feature]: custom headers
- [Bug]: creation date is changed (-1 day)
- [Feature]: Filter by owner
- Fotos die vom Smartphone aufgenommen und hochgeladen werden, werden in der App wenn man darauf klickt nicht angezeigt
- [Bug]: mobile app can't save changes to documents
- [Bug]: Filters are removed from view if tag filter option "Any" is used
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paperless-mobile.