hrkfdn/mpdas

libcurl: timeout was reached after a period of inactivity

Opened this issue · 0 comments

This looks like the same issue that was "fixed" in #33, but it doesn't fix it.
The only was to get it working again is to restart mpdas and then the cached scrobbles will be added, but again after about 10 minutes of inactivity, libcurl fails with the error code 28 and "Timeout was reached" and retrying doesn't help.

(17:48:14) [INFO] Cannot parse config file (/usr/local/etc/mpdasrc).
(17:48:14) [INFO] Cannot parse config file (/home/vojislav/.mpdasrc).
(17:48:14) [INFO] Using Last.fm service URL
(17:48:14) [INFO] Connected to MPD.
(17:48:14) [INFO] Last.fm handshake successful. SessionID: XrKSvK6ys1lY_dsr-VLe7SCQ87puHs1o
(17:48:14) [INFO] New song: Neutral Milk Hotel - I Will Bury You In Time
(17:48:14) [INFO] Updated "Now Playing" status successfully.
(18:01:15) [INFO] New song: MGMT - In The Afternoon
(18:01:25) [ERROR] libcurl error (28): Timeout was reached
(18:01:25) [ERROR] Will retry 3 times with a 3 second delay.
(18:01:28) [ERROR] Retry 1/3
(18:01:38) [ERROR] Failed: Timeout was reached
(18:01:41) [ERROR] Retry 2/3
(18:01:51) [ERROR] Failed: Timeout was reached
(18:01:54) [ERROR] Retry 3/3
(18:02:04) [ERROR] Failed: Timeout was reached
(18:09:46) [ERROR] Error scrobbling. Trying again in 5 minutes.

Using mpdas-0.4.5, curl 7.82.0 and libcurl 7.82.0