Login returns unexpected mimetype
When I try to login to any Funkwhale server, like my own or this one on seen on the funkwhale.audio frontpage, I get this error:
root@funkwhale:~# funkwhale -H https://funkwhale.juniorjpdj.pl login
Username: test
Password:
Error: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://funkwhale.juniorjpdj.pl//api/v1/token/')
I cloned the git repo and ran pip install
to install the cli tool.
More info:
root@funkwhale:~/cli# git show
commit 94f24f0a781faa5ed355233bcd20c9ed3c439087 (HEAD -> master, origin/master, origin/HEAD)
Merge: fd49c3d 79634dc
Author: Georg Krause <mail@georg-krause.net>
Date: Sun Nov 28 10:29:05 2021 +0000
Merge branch 'wvi/albums-fix' into 'master'
bugfix: Albums Tracks field is track count only
See merge request funkwhale/cli!20
root@funkwhale:~/cli# python3 --version
Python 3.9.2
root@funkwhale:~/cli# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye