Closed gardiol closed 2 months ago
I am trying this enpoint "import/user_playlists/all" but it replies with a 404:
Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Log:
███████╗██████╗ ██████╗ ████████╗██╗███████╗██╗ ██╗██████╗ ██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝██║██╔════╝██║ ██║██╔══██╗ ███████╗██████╔╝██║ ██║ ██║ ██║███████╗██║ ██║██████╔╝ ╚════██║██╔═══╝ ██║ ██║ ██║ ██║╚════██║██║ ██║██╔══██╗ ███████║██║ ╚██████╔╝ ██║ ██║███████║╚██████╔╝██████╔╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝ v0.2.1 WSGI app 0 (mountpoint='') ready in 4 seconds on interpreter 0x5608bb065590 pid: 3 (default app) [pid: 3|app: 0|req: 2/2] 10.89.0.22 () {74 vars in 1711 bytes} [Wed Sep 18 12:42:58 2024] GET /import/user_playlists/all => generated 207 bytes in 5 msecs (HTTP/1.1 404) 2 headers in 87 bytes (1 switches on core 0)
Can you post the full Endpoint that you are trying to call?
By the way just go to http://127.0.0.1:50811
There's a swagger here with all the endpoints.
By the way I will change that port for the next release to http://127.0.0.1:5183
https://xxx.mydmain.com/spotisub/import/user_playlists
https://xxx.mydmain.com/spotisub/import/user_playlists/all
both gives 404
If i go to the root URL https://xxx.mydmain.com/spotisub/
doesn't show anything because of the subpath: all resources point to "/" and gives 404.
https://xxx.mydmain.com/spotisub/import/user_playlists
https://xxx.mydmain.com/spotisub/import/user_playlists/all
both gives 404
If i go to the root URL
https://xxx.mydmain.com/spotisub/
doesn't show anything because of the subpath: all resources point to "/" and gives 404.
Understood. There's definitively an issue using reverse proxy
Will try to replicate and eventually fix for next release
EDIT: may be is not an issue but we just need a guide on how to setup reverse proxy for uwsgi.
Other endpoints do work fine, i even have lots of nice playlists in my navidrome!! Amazing work!
Other endpoints do work fine, i even have lots of nice playlists in my navidrome!! Amazing work!
Thank you!!
Anyway the Endpoint path is wrong is
import/user_playlist/
import/user_playlist/all
Not
import/user_playlists/
import/user_playlists/all
Sorry about that, I fixed the error in the wiki section.
can you share your nginx reverse proxy?
I think it will be useful for everyone to have a wiki section which describes how to use spotisub with reverse proxy
I think i pasted it on the other topic (the subpath one)? It's really only a few lines specific to spotisub, i can work out a complete file as soon as i can, would be very useful to add to the wiki indeed.
I think i pasted it on the other topic (the subpath one)? It's really only a few lines specific to spotisub, i can work out a complete file as soon as i can, would be very useful to add to the wiki indeed.
Thank you
Ok, here it is, this should be clear enough i hope.
Its a very basic redirect, more complex stuff can be done if needed.
Let me know when you have worked the backend subpath stuff so i can test.
Added to the Wiki!
I am trying this enpoint "import/user_playlists/all" but it replies with a 404:
Log: