Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 375
    • Issues 375
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Issues
  • #1609
Closed
Open
Issue created Oct 04, 2021 by Jakob Schürz@e8695a7a.dev.funkwhale.audio

"Internal Server Error" while try to login

Describe the bug

Try to login from app gives me "Internal Server Error"

How to reproduce

  1. Type in "radio.schuerz.at" in "servername"
  2. Click on 'Login'
  3. See error

Expected behavior

Login successfully

Actual behavior

No login possible. Shows "Internal Server Error".

Screenshots

If applicable, add screenshots to help explain your problem.

Environment details

  • Device: Huawei P30
  • Android version: 10
  • App version: 0.1.4-1-fd955bf from F-Droid
  • If public Funkwhale instance, its URL: https://radio.schuerz.at

Logs

Add any related logs from ADB or from the "Copy logs" setting. Here are the logs from the server:

Oct 03 19:50:57 tube gunicorn[103864]: 2021-10-03 17:50:57,587 django.request ERROR    Internal Server Error: /api/v1/oauth/apps/                                                                                  
Oct 03 19:50:57 tube gunicorn[103864]: Traceback (most recent call last):                                                                                                                                          
Oct 03 19:50:57 tube gunicorn[103864]:   File "/srv/funkwhale/virtualenv/lib/python3.9/site-packages/django/db/backends/utils.py", line 86, in _execute                                                            
Oct 03 19:50:57 tube gunicorn[103864]:     return self.cursor.execute(sql, params)                                                                                                                                 
Oct 03 19:50:57 tube gunicorn[103864]: psycopg2.errors.NotNullViolation: null value in column "algorithm" of relation "users_application" violates not-null constraint                                             
Oct 03 19:50:57 tube gunicorn[103864]: DETAIL:  Failing row contains (22, LluY8oT2OfE2204W2SDREqmvC5kWbfSmN42d5uv3, urn:/audio.funkwhale.funkwhale-android/oauth/callback, confidential, authorization-code, 39zP76
DPKDYmWjmIh1dGUYJAZLQQAzbjv959tsmP0ECXDOyKjEWe7c1qUeTKU30R..., Funkwhale for Android (VOG-L29), f, 2021-10-03 17:50:57.560213+00, 2021-10-03 17:50:57.560253+00, null, read write, null, null).                    
Oct 03 19:50:57 tube gunicorn[103864]: The above exception was the direct cause of the following exception:                                                                                                        
Oct 03 19:50:57 tube gunicorn[103864]: Traceback (most recent call last):                                                                                                                                          
Oct 03 19:50:57 tube gunicorn[103864]:   File "/srv/funkwhale/virtualenv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 34, in inner                                                         
Oct 03 19:50:57 tube gunicorn[103864]:     response = get_response(request)                                                                                                                                        
Oct 03 19:50:57 tube gunicorn[103864]:   File "/srv/funkwhale/virtualenv/lib/python3.9/site-packages/django/core/handlers/base.py", line 115, in _get_response                                                     
Oct 03 19:50:57 tube gunicorn[103864]:     response = self.process_exception_by_middleware(e, request)                                                                                                             
Oct 03 19:50:57 tube gunicorn[103864]:   File "/srv/funkwhale/virtualenv/lib/python3.9/site-packages/django/core/handlers/base.py", line 113, in _get_response                                                     
Oct 03 19:50:57 tube gunicorn[103864]:     response = wrapped_callback(request, *callback_args, **callback_kwargs)                                                                                                 

Discussed on matrix, funkwhale-android room

Edited Oct 04, 2021 by Jakob Schürz
Assignee
Assign to
Time tracking