Closed rushsteve1 closed 6 years ago
I tried to connect to my instance using the subsonic API password, it didn't work. I checked the box "navigate by tags".
I can still connect to other instances.
@EliotBerriot the config looks good and similar to the suggested setting of funkwhale.
when reaching /rest/
with firefox, it answers:
Not Found The requested URL /code/api/subsonic/rest/ was not found on this server.
and in the error log, I get:
2018/10/26 23:12:50 [error] 25397#25397: *70 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.100.1, server: ff.jb9.fr, request: "GET /rest/ HTTP/1.1", upstream: "http://127.0.0.1:4040/code/api/subsonic/rest/", host: "ff.jb9.fr"
Internet tells me I have to use IP instead of DNS in my nginx requests, but... it's what I do.
Any hint?
The Subsonic API should not require any port opening and is served under the /rest/
path. The /rest/
path itself is not a valid route, but you can try /rest/ping.view
(example on the demo server: https://demo.funkwhale.audio/rest/ping.view)
Maybe the issue is coming from this line: https://github.com/YunoHost-Apps/funkwhale_ynh/blob/master/conf/nginx.conf#L90
This is what we have in the official template: https://code.eliotberriot.com/funkwhale/funkwhale/blob/develop/deploy/nginx.template#L68
It looks like you have an extra "/code/" in the path :)
fixed by https://github.com/YunoHost-Apps/funkwhale_ynh/pull/46
thanks for reporting and helping!
The Funkwhale Subsonic API is not reachable when hosted on YunoHost. Opening port 4040, the default Subsonic port, in the firewall did nothing.