Embedded player error
I recently set up a funkwhale install (from scratch, not docker - followed official guide). Everything seemed to go smoothly but I cannot get the embedded player to function on Mastodon (only tested there). It shows up and looks fine, but as soon as you press play it fails with "An unknown error occurred wile loading track data".
Below is the recon I've done so far:
Browser console for both Chromium (left) & Firefox (right):
Service logs:
Jul 13 22:13:56 mail systemd[1]: funkwhale-worker.service: Succeeded.
Jul 13 22:13:56 mail systemd[1]: Stopped Funkwhale celery worker.
Jul 13 22:13:56 mail systemd[1]: Started Funkwhale celery worker.
Jul 13 22:13:56 mail python3[32108]: ldapdb_canonuser_plug_init() failed in sasl_canonuser_add_plugin(): invalid parameter supplied
Jul 13 22:13:56 mail python3[32122]: ldapdb_canonuser_plug_init() failed in sasl_canonuser_add_plugin(): invalid parameter supplied
Jul 13 22:13:56 mail python3[32108]: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb
Jul 13 22:13:56 mail python3[32122]: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb
Jul 13 22:13:56 mail python3[32121]: ldapdb_canonuser_plug_init() failed in sasl_canonuser_add_plugin(): invalid parameter supplied
Jul 13 22:13:56 mail python3[32121]: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb
Jul 13 22:13:57 mail celery[32137]: 2020-07-13 22:13:57,534 funkwhale_api.config INFO Loaded env file at /opt/funkwhale/production/config/.env
Jul 13 22:13:57 mail celery[32137]: 2020-07-13 22:13:57,534 funkwhale_api.config INFO Running with no plugins
Jul 13 22:13:58 mail gunicorn[32121]: [2020-07-14 02:13:58 +0000] [32121] [INFO] Started server process [32121]
Jul 13 22:13:58 mail gunicorn[32122]: [2020-07-14 02:13:58 +0000] [32122] [INFO] Started server process [32122]
Jul 13 22:13:58 mail gunicorn[32121]: [2020-07-14 02:13:58 +0000] [32121] [INFO] Waiting for application startup.
Jul 13 22:13:58 mail gunicorn[32122]: [2020-07-14 02:13:58 +0000] [32122] [INFO] Waiting for application startup.
Jul 13 22:13:58 mail gunicorn[32121]: [2020-07-14 02:13:58 +0000] [32121] [INFO] ASGI 'lifespan' protocol appears unsupported.
Jul 13 22:13:58 mail gunicorn[32122]: [2020-07-14 02:13:58 +0000] [32122] [INFO] ASGI 'lifespan' protocol appears unsupported.
Jul 13 22:13:58 mail gunicorn[32121]: [2020-07-14 02:13:58 +0000] [32121] [INFO] Application startup complete.
Jul 13 22:13:58 mail gunicorn[32122]: [2020-07-14 02:13:58 +0000] [32122] [INFO] Application startup complete.
Jul 13 22:13:58 mail python3[32137]: ldapdb_canonuser_plug_init() failed in sasl_canonuser_add_plugin(): invalid parameter supplied
Jul 13 22:13:58 mail python3[32137]: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb
Jul 13 22:13:58 mail celery[32108]: [2020-07-14 02:13:58,526: INFO/MainProcess] beat: Starting...
Jul 13 22:13:59 mail celery[32137]: [2020-07-14 02:13:59,974: INFO/MainProcess] Connected to redis://127.0.0.1:6379/0
Jul 13 22:13:59 mail celery[32137]: [2020-07-14 02:13:59,986: INFO/MainProcess] mingle: searching for neighbors
Jul 13 22:14:01 mail celery[32137]: [2020-07-14 02:14:01,010: INFO/MainProcess] mingle: all alone
Jul 13 22:14:01 mail celery[32137]: [2020-07-14 02:14:01,027: INFO/MainProcess] celery@mail ready.
Jul 13 22:30:43 mail gunicorn[32121]: 2020-07-14 02:30:43,392 funkwhale_api.federation.authentication INFO Discarding HTTP request from blocked actor/domain https://mastodon.social/users/Aradia, 410 Client Error: Gone for url: https://mastodon.social/users/Aradia
Nginx logs:
96.249.235.96 - - [13/Jul/2020:22:16:07 -0400] "GET /api/v1/tracks/?album=2&playable=true&ordering=disc_number,position HTTP/2.0" 200 52 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.119 Safari/537.36"
96.249.235.96 - - [13/Jul/2020:22:16:09 -0400] "GET /front/service-worker.js HTTP/2.0" 304 0 "https://audio.linuxlusers.com/front/service-worker.js" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.119 Safari/537.36"
96.249.235.96 - - [13/Jul/2020:22:22:07 -0400] "GET /front/embed.html?type=album&id=2&autoplay=1&auto_play=1 HTTP/2.0" 200 714 "https://mastodon.linuxlusers.com/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:22:07 -0400] "GET /api/v1/tracks/?album=2&playable=true&ordering=disc_number,position HTTP/2.0" 200 52 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:22:08 -0400] "GET /front/service-worker.js HTTP/2.0" 200 1188 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:22:08 -0400] "GET /front/workbox-v4.3.1/workbox-routing.prod.js HTTP/2.0" 200 1476 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:22:08 -0400] "GET /front/workbox-v4.3.1/workbox-core.prod.js HTTP/2.0" 200 2479 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:22:08 -0400] "GET /front/workbox-v4.3.1/workbox-strategies.prod.js HTTP/2.0" 200 1192 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:22:08 -0400] "GET /front/workbox-v4.3.1/workbox-expiration.prod.js HTTP/2.0" 200 1252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:22:08 -0400] "GET /front/workbox-v4.3.1/workbox-precaching.prod.js HTTP/2.0" 200 1703 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:19 -0400] "GET /library/albums/2/ HTTP/2.0" 200 1602 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:19 -0400] "GET /api/v1/instance/nodeinfo/2.0/ HTTP/2.0" 200 1868 "https://audio.linuxlusers.com/library/albums/2/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:19 -0400] "GET /api/v1/albums/2/?refresh=true HTTP/2.0" 200 11896 "https://audio.linuxlusers.com/library/albums/2/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:19 -0400] "GET /api/v1/instance/settings/ HTTP/2.0" 200 9929 "https://audio.linuxlusers.com/library/albums/2/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:20 -0400] "GET /media/__sized__/attachments/24/58/2a/myspace_sc_rig-crop-c0-5__0-5-200x200-70.jpg HTTP/2.0" 200 8488 "https://audio.linuxlusers.com/library/albums/2/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:20 -0400] "GET /api/v1/listen/717eeaa1-5600-454d-884c-fae551c5ed3a/?upload=fce1005f-216f-42ba-b88b-fbe6a3e9cdcb HTTP/2.0" 304 0 "https://audio.linuxlusers.com/library/albums/2/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:20 -0400] "GET /api/v1/artists/1/ HTTP/2.0" 200 4232 "https://audio.linuxlusers.com/library/albums/2/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:20 -0400] "GET /front/service-worker.js HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:20 -0400] "GET /front/workbox-v4.3.1/workbox-routing.prod.js HTTP/2.0" 200 1476 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:20 -0400] "GET /front/workbox-v4.3.1/workbox-core.prod.js HTTP/2.0" 200 2479 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:20 -0400] "GET /front/workbox-v4.3.1/workbox-strategies.prod.js HTTP/2.0" 200 1192 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:20 -0400] "GET /front/workbox-v4.3.1/workbox-expiration.prod.js HTTP/2.0" 200 1252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:20 -0400] "GET /media/__sized__/attachments/a0/a1/31/myspace_sc_trippy_adam-crop-c0-5__0-5-200x200-70.jpg HTTP/2.0" 200 13194 "https://audio.linuxlusers.com/library/albums/2/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:34 -0400] "GET /front/embed.html?type=album&id=2&autoplay=1&auto_play=1 HTTP/2.0" 200 714 "https://mastodon.linuxlusers.com/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:34 -0400] "GET /front/css/embed.22ef9185.css HTTP/2.0" 200 5272 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:34 -0400] "GET /front/js/chunk-common.eeab4666.js HTTP/2.0" 200 281 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:34 -0400] "GET /front/js/chunk-embed-vendors.6af907a0.js HTTP/2.0" 200 33468 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:34 -0400] "GET /front/js/chunk-vendors.5566daf0.js HTTP/2.0" 200 42433 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:34 -0400] "GET /front/js/embed.857919f2.js HTTP/2.0" 200 6071 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:23:34 -0400] "GET /api/v1/tracks/?album=2&playable=true&ordering=disc_number,position HTTP/2.0" 200 52 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:26:07 -0400] "GET /front/embed.html?type=album&id=2&autoplay=1&auto_play=1 HTTP/2.0" 200 714 "https://mastodon.linuxlusers.com/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:26:07 -0400] "GET /front/css/embed.22ef9185.css HTTP/2.0" 200 5272 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:26:07 -0400] "GET /front/js/chunk-common.eeab4666.js HTTP/2.0" 200 281 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:26:07 -0400] "GET /front/js/chunk-embed-vendors.6af907a0.js HTTP/2.0" 200 33468 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:26:07 -0400] "GET /front/js/chunk-vendors.5566daf0.js HTTP/2.0" 200 42433 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:26:07 -0400] "GET /front/js/embed.857919f2.js HTTP/2.0" 200 6071 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:26:07 -0400] "GET /api/v1/tracks/?album=2&playable=true&ordering=disc_number,position HTTP/2.0" 200 52 "https://audio.linuxlusers.com/front/embed.html?type=album&id=2&autoplay=1&auto_play=1" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
96.249.235.96 - - [13/Jul/2020:22:28:07 -0400] "GET /media/__sized__/attachments/24/58/2a/myspace_sc_rig-crop-c0-5__0-5-200x200-70.jpg HTTP/2.0" 200 8488 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
2600:3c03::f03c:92ff:febc:af01 - - [13/Jul/2020:22:28:08 -0400] "GET /front/index.html HTTP/1.1" 200 1180 "-" "python-requests (funkwhale/0.21.1+git.f14858c2; +https://audio.linuxlusers.com)"
96.249.235.96 - - [13/Jul/2020:22:28:08 -0400] "GET /favicon.ico HTTP/2.0" 200 1299 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
148.251.134.157 - - [13/Jul/2020:22:30:43 -0400] "POST /federation/shared/inbox HTTP/1.1" 403 64 "-" "http.rb/4.4.1 (Mastodon/3.1.4; +https://mastodon.social/)"
116.203.17.124 - - [13/Jul/2020:22:41:17 -0400] "GET /api/v1/instance HTTP/1.1" 404 179 "-" "MastoPeek v0.7.2 - https://mastopeek.app-dist.eu"
116.203.17.124 - - [13/Jul/2020:22:41:18 -0400] "GET /api/statusnet/config.json HTTP/1.1" 404 179 "-" "MastoPeek v0.7.2 - https://mastopeek.app-dist.eu"
116.203.17.124 - - [13/Jul/2020:22:41:18 -0400] "GET /.well-known/nodeinfo HTTP/1.1" 200 137 "-" "MastoPeek v0.7.2 - https://mastopeek.app-dist.eu"
116.203.17.124 - - [13/Jul/2020:22:41:18 -0400] "GET /api/v1/instance/nodeinfo/2.0 HTTP/1.1" 200 1868 "-" "MastoPeek v0.7.2 - https://mastopeek.app-dist.eu"
159.89.22.140 - - [13/Jul/2020:22:49:28 -0400] "GET /.well-known/nodeinfo HTTP/1.1" 200 137 "-" "fediverse.space crawler"
159.89.22.140 - - [13/Jul/2020:22:49:29 -0400] "GET /api/v1/instance/nodeinfo/2.0 HTTP/1.1" 200 1868 "-" "fediverse.space crawler"
159.89.22.140 - - [13/Jul/2020:22:49:29 -0400] "GET /api/v1/instance HTTP/1.1" 404 179 "-" "fediverse.space crawler"
159.89.22.140 - - [13/Jul/2020:22:49:29 -0400] "POST /api/meta HTTP/1.1" 404 179 "-" "fediverse.space crawler"
And finally you can see the post in question on mastodon here (pinned near the top): https://mastodon.linuxlusers.com/@self
Thanks!
Edited by Adam Gaskins