[GH-ISSUE #1] [bug] API sometimes responds with an empty response #1

Closed
opened 2026-02-28 14:28:15 +03:00 by kerem · 2 comments
Owner

Originally created by @entriphy on GitHub (Apr 15, 2020).
Original GitHub issue: https://github.com/entriphy/sp-playcount-librespot/issues/1

Seems to be an issue with the cache.

Originally created by @entriphy on GitHub (Apr 15, 2020). Original GitHub issue: https://github.com/entriphy/sp-playcount-librespot/issues/1 Seems to be an issue with the cache.
kerem 2026-02-28 14:28:15 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Chartmastersorg commented on GitHub (Apr 18, 2020):

Hi evilarceus!

I was coming to report this exact same issue. I haven't been able to identify a pattern, it's completely random. I can even loop 10 times in a php script for 10 albums and get 0, 3, 9, or 10 results. Kinda weird.

I'm not helping much, I haven't dig into the source code so far to try to understand the root cause. Compared to the previous API, I like how the results include much more parameters, it's very handy!

<!-- gh-comment-id:615861291 --> @Chartmastersorg commented on GitHub (Apr 18, 2020): Hi evilarceus! I was coming to report this exact same issue. I haven't been able to identify a pattern, it's completely random. I can even loop 10 times in a php script for 10 albums and get 0, 3, 9, or 10 results. Kinda weird. I'm not helping much, I haven't dig into the source code so far to try to understand the root cause. Compared to the previous API, I like how the results include much more parameters, it's very handy!
Author
Owner

@slapheadted commented on GitHub (Apr 20, 2020):

Was this the intermittent 500s? I was getting that too but haven't checked since Saturday. Actually I've just noticed this issue is empty response which doesn't sound like the same issue...I was getting intermittent 500s back from the public server. I'll keep an eye on it and open an issue if I see the issue persist.

<!-- gh-comment-id:616620470 --> @slapheadted commented on GitHub (Apr 20, 2020): ~Was this the intermittent 500s? I was getting that too but haven't checked since Saturday.~ Actually I've just noticed this issue is _empty response_ which doesn't sound like the same issue...I was getting intermittent 500s back from the public server. I'll keep an eye on it and open an issue if I see the issue persist.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sp-playcount-librespot#1
No description provided.