Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No connection unless proxy is set #87

Open
RyanHakurei opened this issue Jul 29, 2019 · 10 comments
Open

No connection unless proxy is set #87

RyanHakurei opened this issue Jul 29, 2019 · 10 comments

Comments

@RyanHakurei
Copy link

The app will claim that there is not an internet connection unless a proxy is set.

@jorgheymans
Copy link

This is what i'm seeing, running Ubuntu 19.1

image

@TingPing
Copy link
Member

It has nothing to do with this package I'm sure.

@jorgheymans
Copy link

I installed the normal spotify client, there i don't have the error so firewall rules are definitely ok. Can you please reopen ?

@TingPing
Copy link
Member

Maybe Spotify loads proxy settings from somewhere on the host?

I don't know, but flatpak doesn't firewall anything.

@TingPing TingPing reopened this Mar 30, 2020
@jorgheymans
Copy link

i'm guessing flatpak maybe isolates or prohibits some system calls which bubble up eventually as an internet connection error. Is there a way to see what flatpak is doing in the background, a logfile or so?

@Erick555
Copy link
Contributor

Flatpak does block some syscalls but it shouldn't cause such issues. You may debug spotify itself with --show-console flag.

@jorgheymans
Copy link

jorgheymans commented Mar 30, 2020

here is the output, but not sure the flag got passed to spotify ? (not i on purpose put wrong password, as you can see it's an http transport error)

heymjo@heymjo-xps-13-9370:~$ /app/extra/bin/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/bin/spotify)
Gtk-Message: 21:26:18.981: Failed to load module "overlay-scrollbar"
Gtk-Message: 21:26:18.983: Failed to load module "atk-bridge"
Gtk-Message: 21:26:18.995: Failed to load module "canberra-gtk-module"
/app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/proc/self/exe: /app/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
19:26:19.140 I [connectivity_manager.cpp:116    ] Access allowance changed from online: 0 stream: 0, sync: 0, persistent conn: 0 to online: 1 stream: 1, sync: 0, persistent conn: 1
19:26:19.143 I [network_controller.cpp:76       ] Connectivity policy is initially allow_all
19:26:19.143 I [network_controller.cpp:78       ] Connection type is initially unknown
19:26:19.143 I [network_controller.cpp:96       ] Enabling all persistent connections
19:26:19.143 I [connectivity_manager.cpp:286    ] Connectivity rules changed from network: 1 (roaming: 0), sync over wifi: 1, sync over cellular: 0 to network: 1 (roaming: 1), sync over wifi: 1, sync over cellular: 0
19:26:19.143 I [connectivity_manager.cpp:134    ] Scheduling emission of signal.
19:26:19.144 I [connectivity_manager.cpp:125    ] Emitting signal.
19:26:19.145 I [nm_network_notifier.cpp:144     ] D-Bus name 'org.freedesktop.NetworkManager' does not exist on system bus
/proc/self/exe: /app/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
19:26:19.198 I [mpris.cpp:310                   ] Received MPRIS MediaPlayer2.Player 'Get' request, but no metadata is available
19:26:19.198 I [mpris.cpp:310                   ] Received MPRIS MediaPlayer2.Player 'Get' request, but no metadata is available
[0330/212619.562448:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
19:26:24.143 E [storage_error_logger_impl.cpp:101] Storage error: realm: -1, file: 0000000000000000000000000000000000000000, error: 18, OS error: 61, count: 1, path /home/heymjo/.var/app/com.spotify.Client/cache/spotify/Storage/
19:26:31.469 I [local_authenticator.cpp:442     ] Skipping offline login: no such user
19:26:31.687 I [login_controller_impl.cpp:86    ] Login5: Failed authenticating: login5_http_transport_error
19:26:31.687 I [login_controller_impl.cpp:517   ] Login5: success required

(note i have other flatpak apps like zoom working just fine)

@TingPing
Copy link
Member

Flatpak does literally nothing to isolate you from network interfaces.

@TingPing
Copy link
Member

TingPing commented Mar 31, 2020

login5_http_transport_error

If you want to debug this further you could install and configure Wireshark to capture HTTP traffic maybe.

@baloo
Copy link

baloo commented Apr 6, 2020

I hit the same issue, and I've been running tcpdump and strace. It looks like it connects fine, my guess is that it's related to this instead:

19:26:24.143 E [storage_error_logger_impl.cpp:101] Storage error: realm: -1, file: 0000000000000000000000000000000000000000, error: 18, OS error: 61, count: 1, path /home/heymjo/.var/app/com.spotify.Client/cache/spotify/Storage

but I've been unable to find what syscall triggered that :(

@flathub flathub deleted a comment from saboya Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants