Announcements

No internet connection detected (eror code:4) - Ubuntu 20.04

Reply

Re: No internet connection detected (eror code:4) - Ubuntu 20.04

Visitor
It happen to me often recently as well - I have same Spotify version 1.1.42.622.gbd112320
For me it is connected with connecting to VPN (Cisco AnyConnect)
Restarting resolve deamon helps:
service systemd-resolved restart

Re: No internet connection detected (eror code:4) - Ubuntu 20.04

Casual Listener

Hi,

Same issue on my side.

 

OS: Linux Mint 19.3

App version: 1.1.42.622.gbd112320

 

I'm cleared my .cache folder, changed my DNS,  restart systemd-resolved

 

😭

Re: No internet connection detected (eror code:4) - Ubuntu 20.04

Regular

Same here for version 1.1.42.622.gbd112320 on Linux Mint 19.1 . The issue occurs seemingly randomly, sometimes resolving itself after a few minutes, sometimes not. Similarly, messing around with the network connection (re-connecting to WiFi, connecting/disconnecting to VPN) sometimes fixes it, sometimes not.

Re: No internet connection detected (eror code:4) - Ubuntu 20.04

Casual Listener

I updated to version 1.1.46.916.g416cacf1 and it's work !
This version look like be available only on snap format 😕
https://snapcraft.io/spotify

Re: No internet connection detected (eror code:4) - Ubuntu 20.04

Visitor

Same issue on Linux Mint 20.

Re: No internet connection detected (eror code:4) - Ubuntu 20.04

Visitor
I also tried everything. Arch linux, kde, wireguard. Developers, do something already.

Re: No internet connection detected (eror code:4) - Ubuntu 20.04

Casual Listener

Same here(Debian 10):

georgi@fau:~$ cat /etc/debian_version
10.7


georgi@fau:elfo$ spotify --version
Spotify version 1.1.42.622.gbd112320, Copyright (c) 2020, Spotify Ltd

Re: No internet connection detected (eror code:4) - Ubuntu 20.04

Casual Listener

That's interesting. I've had this issue on only elementaryOS(18.04), Ubuntu 20.04 and 20.10 (and several other editions like KDE Neon).

But I'm currently running openSUSE Tumbleweed with the spotify-easyrpm package (spotify v. 1.1.42.622.gbd112320, it's essentially just the .deb file converted to RPM and then installed) with no issues both with my ISP DNS and Cloudflare's DNS.

Re: No internet connection detected (eror code:4) - Ubuntu 20.04

Casual Listener
Maybe some kind of dependency issue then?  I'm using KDE Neon, which is
based on Ubuntu 20.04.  I looked up the versions of the dependencies for
spotify-client and got the following:

libasound2:    1.2.2-2.1ubuntu2.2
libatk-bridge2.0-0:    2.34.2-0ubuntu2~20.04.1
libatomic1:    10.2.0-5ubuntu1~20.04
libcurl3-gnutls:    7.68.0-1ubuntu2.2
libgbm1:    20.3.0~kisak2~f
libgconf-2-4:    3.2.6-6ubuntu1
libglib2.0-0:    2.64.3-1~ubuntu20.04.1
libgtk2.0-0:    2.24.32-4ubuntu4
libnss3:    2:3.49.1-1ubuntu1.5
libssl1.1:    1.1.1f-1ubuntu2
libxss1:    1:1.2.3-1
libxtst6:    2:1.2.3-1
xdg-utils:    1.1.3-2ubuntu1.20.04.1

Re: No internet connection detected (eror code:4) - Ubuntu 20.04

Newbie

I begrudgingly installed the desktop app after getting sick of all the limitations of the web client (which I'd much rather be using if it wasn't so stripped down), and this has been a constant problem for me as well. It sometimes happens at random, but also happens 100% of the time when I hibernate my computer. The only fix is closing and re-launching the application. Whenever Spotify decides it's offline, it's still able to stream songs (because I'm not offline), and Spotify Connect still does its whole thing (because I'm not offline), but I'm artificially locked out of most other functionality. Wireshark confirms that songs are actually being streamed over the internet, not from a local cache, and also shows that the client doesn't make any other attempts to load requested pages when it thinks it's offline, even though it would succeed if it bothered to try.

A simple "check again" button in the "no internet connection detected" message would be a viable workaround for me.

SUGGESTED POSTS