Errors during brainzSource polling. #393
-
|
I've noticed that there are regular errors in my logs related to polling ListenBrainz as a source (brainzSource). This is causing brainzSource to go into an idle state. It does seem to periodically emerge from the idle state to grab data, but I'm wondering if there is anything I can do to avoid this happening. Is it possible I've got something misconfigured, or that I'm polling brainzSource too often? Or are these just connection errors on the ListenBrainz server? I'm attaching some WARN and ERROR logs from the last hour as an example. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This is, unfortunately, the cost of doing business with Listenbrainz. Anecdotally, their API is down a lot. If not fully "offline" then it will constantly just hang until MS decides to time it out (about 30 seconds of waiting). Sometimes for minutes at a time, then be ok for an hour, then 10's of minutes of timeouts again. If multi-scrobbler stops polling due to these errors it should try to restart polling every 20 minutes, at which point it should catch up on any missed scrobbles. You can also increase the number of polling retry attempts by using a file/aio config for listenbrainz by adding But this is only helpful if their API actually becomes available again in a short amount of time. If its down/timing out for 10s of minutes the retries won't help. |
Beta Was this translation helpful? Give feedback.
This is, unfortunately, the cost of doing business with Listenbrainz. Anecdotally, their API is down a lot. If not fully "offline" then it will constantly just hang until MS decides to time it out (about 30 seconds of waiting). Sometimes for minutes at a time, then be ok for an hour, then 10's of minutes of timeouts again.
If multi-scrobbler stops polling due to these errors it should try to restart polling every 20 minutes, at which point it should catch up on any missed scrobbles. You can also increase the number of polling retry attempts by using a file/aio config for listenbrainz by adding
maxPollRetriestooptionslike this (forlistenbrainz.jsonfile):