Please follow the steps below and check the boxes with [x] once you did the step.
Please provide information about your system and the version of Clementine used.
Cannot connect to Spotify, neither in the search tab nor in the Internet tab. In a debug build, this error message is printed:
02:10:44.393 DEBUG SpotifyClient:818 static void SpotifyClient::ConnectionErrorCallback(sp_session*, sp_error) Can not connect to Spotify
02:10:51.144 DEBUG SpotifyClient:167 libspotify: "06:10:51.144 I [ap:1752] Connecting to AP ap.spotify.com:80"
02:10:51.207 DEBUG SpotifyClient:167 libspotify: "06:10:51.207 I [ap:1226] Connected to AP: 104.154.126.191:80"
02:10:51.361 DEBUG SpotifyClient:167 libspotify: "06:10:51.361 E [ap:1694] AP Socket Error: Software caused connection abort (103)"
02:10:51.361 DEBUG SpotifyClient:167 libspotify: "06:10:51.361 E [ap:3915] Connection error: 112"
Build Clementine with debug flags set. Then, log into Spotify and try to search for songs on Spotify.
Having the same issue as well. Would love to stick to Clementine as my go-to player over Spotify's Electron client.
20:39:03.668 ERROR unknown JSonScanner::yylex - error while reading from io device
20:39:03.668 ERROR unknown json_parser - syntax error found, forcing abort, Line 1 Column 1
20:39:03.919 DEBUG SpotifyClient:1122 Toplist browse request took: -1 ms
20:39:04.416 DEBUG SpotifyClient:1122 Toplist browse request took: -1 ms
20:39:20.001 DEBUG SpotifyClient:167 libspotify: "03:39:20.001 E [ap:1694] AP Socket Error: Software caused connection abort (103)"
20:39:20.002 DEBUG SpotifyClient:167 libspotify: "03:39:20.002 E [ap:3915] Connection error: 112"
20:39:20.002 DEBUG SpotifyClient:167 libspotify: "03:39:20.002 I [ap:1752] Connecting to AP ap.spotify.com:443"
20:39:20.185 DEBUG SpotifyClient:167 libspotify: "03:39:20.185 I [ap:1226] Connected to AP: 104.199.65.200:443"
20:39:21.251 DEBUG SpotifyClient:167 libspotify: "03:39:21.251 E [ap:1694] AP Socket Error: Software caused connection abort (103)"
20:39:21.251 DEBUG SpotifyClient:167 libspotify: "03:39:21.251 E [ap:3915] Connection error: 112"
20:39:21.251 DEBUG SpotifyClient:167 libspotify: "03:39:21.251 I [ap:1752] Connecting to AP ap.spotify.com:80"
20:39:21.424 DEBUG SpotifyClient:167 libspotify: "03:39:21.424 I [ap:1226] Connected to AP: 104.199.65.198:80"
20:39:22.014 DEBUG SpotifyClient:167 libspotify: "03:39:22.014 E [ap:1694] AP Socket Error: Software caused connection abort (103)"
20:39:22.014 DEBUG SpotifyClient:167 libspotify: "03:39:22.014 E [ap:3915] Connection error: 112"
20:39:22.014 DEBUG SpotifyClient:167 libspotify: "03:39:22.014 I [ap:1752] Connecting to AP ap.spotify.com:4070"
20:39:22.103 DEBUG SpotifyClient:167 libspotify: "03:39:22.103 I [ap:1226] Connected to AP: 104.154.126.253:4070"
20:39:22.731 DEBUG SpotifyClient:167 libspotify: "03:39:22.730 E [ap:1694] AP Socket Error: Software caused connection abort (103)"
20:39:22.731 DEBUG SpotifyClient:167 libspotify: "03:39:22.731 E [ap:3915] Connection error: 112"
20:39:22.731 DEBUG SpotifyClient:167 libspotify: "03:39:22.731 I [ap:1752] Connecting to AP ap.spotify.com:443"
20:39:23.038 DEBUG SpotifyClient:167 libspotify: "03:39:23.038 I [ap:1226] Connected to AP: 104.199.65.200:443"
20:39:24.151 DEBUG SpotifyClient:167 libspotify: "03:39:24.151 E [ap:1694] AP Socket Error: Software caused connection abort (103)"
20:39:24.151 DEBUG SpotifyClient:167 libspotify: "03:39:24.151 E [ap:3915] Connection error: 112"
20:39:24.237 DEBUG SpotifyClient:167 libspotify: "03:39:24.237 I [ap:1752] Connecting to AP ap.spotify.com:80"
20:39:29.242 DEBUG SpotifyClient:167 libspotify: "03:39:29.242 E [ap:1694] AP Socket Error: Timeout reached (20000)"
20:39:29.242 DEBUG SpotifyClient:167 libspotify: "03:39:29.242 E [ap:3915] Connection error: 117"
20:39:29.275 DEBUG SpotifyClient:818 static void SpotifyClient::ConnectionErrorCallback(sp_session*, sp_error) Can not connect to Spotify
20:39:33.922 DEBUG SpotifyClient:167 libspotify: "03:39:33.922 I [offline-mgr:2058] 0 files unlocked. 0 images unlocked"
20:39:34.288 DEBUG SpotifyClient:167 libspotify: "03:39:34.288 I [ap:1752] Connecting to AP ap.spotify.com:4070"
20:39:34.472 DEBUG SpotifyClient:167 libspotify: "03:39:34.472 I [ap:1226] Connected to AP: 104.199.65.198:4070"
20:39:35.484 DEBUG SpotifyClient:167 libspotify: "03:39:35.484 E [ap:1694] AP Socket Error: Software caused connection abort (103)"
20:39:35.484 DEBUG SpotifyClient:167 libspotify: "03:39:35.484 E [ap:3915] Connection error: 112"
20:39:35.484 DEBUG SpotifyClient:818 static void SpotifyClient::ConnectionErrorCallback(sp_session*, sp_error) Can not connect to Spotify
20:39:39.059 DEBUG SpotifyClient:167 libspotify: "03:39:39.059 I [ap:1752] Connecting to AP ap.spotify.com:443"
20:39:39.247 DEBUG SpotifyClient:167 libspotify: "03:39:39.247 I [ap:1226] Connected to AP: 104.154.126.238:443"
20:39:40.042 DEBUG SpotifyClient:167 libspotify: "03:39:40.042 E [ap:1694] AP Socket Error: Software caused connection abort (103)"
20:39:40.042 DEBUG SpotifyClient:167 libspotify: "03:39:40.042 E [ap:3915] Connection error: 112"
20:39:40.042 DEBUG SpotifyClient:818 static void SpotifyClient::ConnectionErrorCallback(sp_session*, sp_error) Can not connect to Spotify
20:39:46.765 DEBUG SpotifyClient:167 libspotify: "03:39:46.765 I [ap:1752] Connecting to AP ap.spotify.com:80"
20:39:51.768 DEBUG SpotifyClient:167 libspotify: "03:39:51.768 E [ap:1694] AP Socket Error: Timeout reached (20000)"
20:39:51.769 DEBUG SpotifyClient:167 libspotify: "03:39:51.769 E [ap:3915] Connection error: 117"
20:39:51.769 DEBUG SpotifyClient:818 static void SpotifyClient::ConnectionErrorCallback(sp_session*, sp_error) Can not connect to Spotify
20:39:58.965 DEBUG SpotifyClient:167 libspotify: "03:39:58.965 I [ap:1752] Connecting to AP ap.spotify.com:4070"
20:39:59.050 DEBUG SpotifyClient:167 libspotify: "03:39:59.050 I [ap:1226] Connected to AP: 104.154.126.253:4070"
20:39:59.610 DEBUG SpotifyClient:167 libspotify: "03:39:59.610 E [ap:1694] AP Socket Error: Software caused connection abort (103)"
20:39:59.610 DEBUG SpotifyClient:167 libspotify: "03:39:59.610 E [ap:3915] Connection error: 112"
20:39:59.610 DEBUG SpotifyClient:818 static void SpotifyClient::ConnectionErrorCallback(sp_session*, sp_error) Can not connect to Spotify
Same issue:
Linux mint:
Linux version 4.4.0-21-generic (buildd@lgw01-21) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016
Clementine:
Version 1.3.1-333-gf854bc5
Error:
08:43:54.155 DEBUG SpotifyClient:167 libspotify: "19:43:54.155 I [ap:1752] Connecting to AP ap.spotify.com:4070"
08:43:54.568 DEBUG SpotifyClient:167 libspotify: "19:43:54.568 I [ap:1226] Connected to AP: 104.199.240.230:4070"
08:43:55.170 DEBUG SpotifyClient:167 libspotify: "19:43:55.170 E [ap:1694] AP Socket Error: Connection reset by peer (104)"
08:43:55.170 DEBUG SpotifyClient:167 libspotify: "19:43:55.170 E [ap:3915] Connection error: 101"
08:43:55.171 DEBUG SpotifyClient:818 static void SpotifyClient::ConnectionErrorCallback(sp_session*, sp_error) Can not connect to Spotify
Same issue here, on Ubuntu 18.04.1.
Hope someone comes up with a fix.
So I did a bit of searching, and it appears that libspotify (which Clementine uses) hasn't been updated in years, and in fact has been deprecated for something like five years; Spotify has instead thrown all their support behind their mobile SDKs and a REST API. I'm getting the feeling that Clementine is going to have to completely rewrite their Spotify support for it to work again.
There's no way to stream in the new APIs so it's likely Spotify support will continue to degrade in Clementine as libspotify degrades.