Open Supbro112 opened 1 year ago
Hello! Restarting the server should normally clean the running imports. Also, file name has no effect on the import, it just displays a warning. Are you running behind a reverse proxy / cloudflare?
Same error on my side, it makes it crash with a 502 after few seconds. Files are approx 10Mo each. I'm running behind SWAG reverse proxy but I have the same issue without it.
https://spotify.thelazyfox.xyz/api/import/full-privacy --> 502 Bad Gateway
Hi @the-lazy-fox , are you running behind any Cloudflare or some stuff?
Got the same problem, checked all files from spotify and they are formatted correctly according to the fullprivacy-importer. Solution to make this work: Simply rename alle files with a "endsong" before the original filename. "Streaming_History_Audio_XXXX-XXXX_X.json" -> "endsong_Streaming_History_Audio_XXXX_XXXX_X.json" where the Xs can be everything from XXXX_XX to XXXX_XXXX_XX, (year_month or year_year_month, if the month is only singledigit, it is also in the filename). Worked fine for me.
Hi @the-lazy-fox , are you running behind any Cloudflare or some stuff?
No, only through reverse proxy with SWAG. I tried to rename the files & access by IP directly but the issue is still the same for me.
@the-lazy-fox Can you double check that swag does not limit file size to 10mo. I've tested many many times this last month and I'm quite sure everything is ok in your Spotify.
Error logs:
2023/08/17 15:53:10 [error] 272#272: *1430 upstream prematurely closed connection while reading response header from upstream, client: 172.18.31.1, server: _, request: "POST /api/import/full-privacy HTTP/1.1", upstream: "http://127.0.0.1:8080/import/full-privacy", host: "spotify.xxxx.xyz", referrer: "https://spotify.xxxx.xyz/settings/account"
EDIT: Solved, container had a memory limit.
Describe the bug Importing isn't working. I managed to only get one file working and that was 2016-2017 year, it wont take any other files because "import already running on this account" and it says this message even when restarting the server / my system.
I am also confused because when Spotify sent me my extended streaming history, they are in the format of "Streaming_History_Audio_X" which your_spotify says these should be formatted as "endsongX" so idk what's wrong there, but despite the issue I cannot import any files to either option of importing. It always says an import is running on the account despite trying to restart the server
Expected behavior That your_spotify would take my files all at once and import them all at mass.
Additional context
Please paste the docker-compose file you're using to host YourSpotify and their logs (you can skip mongo logs). If your issue have anything related to other tools, please paste their config too.
Screenshots Screenshot of data import area.![image_2023-07-22_114851669](https://github.com/Yooooomi/your_spotify/assets/52581779/850f737c-fad1-4fb0-8405-ea529ff9b33e)
Image I made trying to explain the file issues of formatting, and the confusion of which import option is the right one.![image_2023-07-22_115639180](https://github.com/Yooooomi/your_spotify/assets/52581779/c5793ba9-e2d3-42c1-b14b-c16a6c47e575)
Import doesn't recognize new name format![image_2023-07-22_115754206](https://github.com/Yooooomi/your_spotify/assets/52581779/fd313966-3074-483a-aa56-d4dd298095d9)
Shared link http://localhost:3000/settings/account?gname=Last+day&token=cb675f7a-91a4-4972-8b93-f513d6c7ee05 Dont think it would do much, but hopefully!