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]: Can't login: RuntimeError: Response content longer than Content-Length #386

Open
jedie opened this issue Feb 16, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@jedie
Copy link

jedie commented Feb 16, 2024

What happened?

I can't login to my own paperless-ngx hosted via YunoHost. There exist also: YunoHost-Apps/paperless-ngx_ynh#56 But i think this may be a bug in the mobile app?!?

Backend error is:

root@YunoHost:~# tail -f /var/log/paperless-ngx/paperless-ngx.log 
    return await application(scope, receive, send)
  File "/var/www/paperless-ngx/venv/lib/python3.9/site-packages/django/core/handlers/asgi.py", line 160, in __call__
    await self.handle(scope, receive, send)
  File "/var/www/paperless-ngx/venv/lib/python3.9/site-packages/django/core/handlers/asgi.py", line 190, in handle
    await self.send_response(response, send)
  File "/var/www/paperless-ngx/venv/lib/python3.9/site-packages/django/core/handlers/asgi.py", line 274, in send_response
    await send(
  File "/var/www/paperless-ngx/venv/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 560, in send
    raise RuntimeError("Response content longer than Content-Length")
RuntimeError: Response content longer than Content-Length

Steps to reproduce

  1. Login with existing account.
  2. Endless "Authentifizieren..." load state

Log output from the app

2024-02-16 19:14:11.238	DEBUG   --- [      AuthenticationCubit] - login                    : Trying to log in jens@pl***de...
2024-02-16 19:14:11.239	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Adding new user jens@pl***de..
2024-02-16 19:14:11.239	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Fetching bearer token from the server...

Screenshots

No response

Paperless-ng*x Version

3.5.1~ynh1

Paperless-Mobile Version

4.2.1

Device

Fairphone 4

Operating System Version

CalysOS 5.4.0

Device Locale

german

Selected Locale

German

Additional Context

No response

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

2 participants