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
[Bug]: Bottles fails to detect an internet connection #2057
Comments
Bottles pings https://repo.usebottles.com to check the connection. It’s the equivalent of: ping repo.usebottles.com. Are you able to ping it? If yes, there is probably some system related problems. |
Thanks! Trying One thing I noticed is that, in the first screenshot above, both the "Library" tab and the internet connection button are using the same somewhat-blurry caution icon. Is that expected? I'm sort of at a loss for what might be going wrong ... |
No, your system/theme/desktop doesn't provide that common named icons.
We just download a few Kb from the repo. Is the Steam Manager option enable? |
I tried using Bottles from Nix instead of the Flatpak, and it seems to be working fine! It has successfully connected to the internet and created a new bottle, at least. Using Nix got me version 2022.5.28-trento-3, but when I tried using that version with Flatpak (via So the problem seems to be something about the Flatpak sandboxing. AFAICT I'm using entirely the default configuration, though, so I don't know what could be going wrong. (I don't have the Steam Manager option enabled.) |
I have similar problem and I tried a few things to understand why it's happening like this. I don't know if my findings will be helpful, but here they are:
I don't know what to think about this. It looks like the problem lies in my internet connection, but I can connect to the repo by browser/terminal and download files manually. Maybe something is going on with general flatpak networking configuration/something and IPv6 or IPv4, but that doesn't fully explain why native AUR Bottles doesn't work too. EDIT: I forgot to mention that I tried changing DNS to 1.1.1.1 or 8.8.8.8 and it did nothing. |
I don't think this is IPv6 related. For testing purposes I've disabled AAAA lookups on my local DNS server and I'm still having this issue. I've also tested inside flatpak using curl
|
@pgrondek Who is your ISP? Is it UPC by any chance? Have you tried connecting by mobile internet/different ISP? |
Yes, I have UPC. I've tried VPN (my mobile is in same ISP - play) and it looks like issue does not occur. |
Have the same issue, also only the UPC. Any solution for that? Anyone know what is causing the issue? |
Same issue here. I have UPC too. This is from my host: [jpadilla@fractal-local ~]$ curl -v https://repo.usebottles.com/components/index.yml
* Trying 194.233.171.195:443...
* Trying 2a01:7e01::f03c:93ff:fe08:d86f:443...
* Immediate connect fail for 2a01:7e01::f03c:93ff:fe08:d86f: Network is unreachable
^C
[jpadilla@fractal-local ~]$ curl -v https://repo.usebottles.com/components/index.yml
* Trying 194.233.171.195:443...
* Trying 2a01:7e01::f03c:93ff:fe08:d86f:443...
* Immediate connect fail for 2a01:7e01::f03c:93ff:fe08:d86f: Network is unreachable
^C
[jpadilla@fractal-local ~]$ curl -v https://repo.usebottles.com/components/index.yml
* Trying 194.233.171.195:443...
* Connected to repo.usebottles.com (194.233.171.195) port 443 (#0)
[jpadilla@fractal-local ~]$ curl -v https://repo.usebottles.com/components/index.yml
* Trying 194.233.171.195:443...
* Trying 2a01:7e01::f03c:93ff:fe08:d86f:443...
* Immediate connect fail for 2a01:7e01::f03c:93ff:fe08:d86f: Network is unreachable UPDATE: It works when using a VPN with a different provider. So definitely it looks like a problem with UPC. |
FWIW, I do not have UPC. (I'm in North America.) |
Anyway, I think a workaround could be to just retry after a few seconds. With curl, this works for me most of the time: curl --retry 3 --connect-timeout 3 -v https://repo.usebottles.com/components/index.yml |
I'll check this |
Hello, I have the identical problem (ISP:UPC), except that I can go and browse https://repo.usebottles.com/ with no problem, My DNS resolves the address correctly as 194.233.171.195. I checked with vpn and everything works. I asked my friend who has also uses UPC and he can ping repo address, wireshark indicates that there is no response to the ping as if it is cut out on the server side. My router is configured corectly. Can You as admin of server where is hosted that domain check if is no block list for certain IP? (deck@steamdeck ~)$ flatpak run com.usebottles.bottles (bottles:2): Gtk-CRITICAL **: 13:55:50.562: Unable to register the application: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying |
I'll add some debug logs |
@francescomasala any thoughts? |
I am checking the infra, I will send an update as soon as I have news |
It should all be fixed, @Sidroff check it out if you can |
@francescomasala > It should all be fixed, @Sidroff check it out if you can nope, disabled ipv6 and connecting with ipv4 nothing new same for icmp 194.233.171.195, Request timed out |
I've updated caddy and fixed IPv6 stuff |
@francescomasala > This time it looks like something has changed, on terminal I run debug and got random messages like connection staus: offline (not on startup where i got it in previous states), and two line: On icmp I have no answer, DMZ for device from 194.233.171.195, its stops little longer on Fetched 2/3 or 3/3 Downloading ~20kb of packages... A few second ago it started up (~2 min loading), almost as it should and I can see the dependencies and installers, in the terminal I do not get any connection error And i have one error what i cant rid of @mirkobrombin, its hould be there? |
And now i get new error "Could not get index for components repository" |
I checked again only ipv6, and there is no problem here, fast startup and no connection errors *only Gtk-Critical left. It seems that the problem lies with the "partial"? blocking of my public IPs 31.178.36.87 |
For me (using UPC ISP), ping was never a problem: [jpadilla@fractal-local ~]$ ping -4 repo.usebottles.com
PING repo.usebottles.com (194.233.171.195) 56(84) bytes of data.
64 bytes from Bottles-Web-FRA-0.usebottles.com (194.233.171.195): icmp_seq=1 ttl=50 time=25.6 ms
64 bytes from Bottles-Web-FRA-0.usebottles.com (194.233.171.195): icmp_seq=2 ttl=50 time=28.9 ms
64 bytes from Bottles-Web-FRA-0.usebottles.com (194.233.171.195): icmp_seq=3 ttl=50 time=26.8 ms
64 bytes from Bottles-Web-FRA-0.usebottles.com (194.233.171.195): icmp_seq=4 ttl=50 time=26.1 ms
64 bytes from Bottles-Web-FRA-0.usebottles.com (194.233.171.195): icmp_seq=5 ttl=50 time=25.5 ms When using traceroute with ICMP ECHOs I get consistently the same route every time: [jpadilla@fractal-local ~]$ traceroute -4 -I repo.usebottles.com
traceroute to repo.usebottles.com (194.233.171.195), 30 hops max, 60 byte packets
1 * * *
2 10.209.128.1 (10.209.128.1) 5.892 ms 10.190 ms 10.107 ms
3 89-75-12-193.infra.chello.pl (89.75.12.193) 11.060 ms 11.127 ms 11.191 ms
4 pl-waw26b-rc1-ae-8-2150.aorta.net (84.116.252.201) 11.277 ms 11.353 ms 11.411 ms
5 pl-waw26b-ri1-ae-24-0.aorta.net (84.116.138.73) 10.165 ms 10.225 ms 10.294 ms
6 ae-13.r01.wrswpl01.pl.bb.gin.ntt.net (129.250.9.109) 11.456 ms 8.863 ms 8.926 ms
7 ae-22.r20.frnkge13.de.bb.gin.ntt.net (129.250.5.18) 27.619 ms 27.612 ms 27.563 ms
8 ae-0.a03.frnkge07.de.bb.gin.ntt.net (129.250.7.16) 33.518 ms 32.765 ms 32.717 ms
9 ae-0.akamai.frnkge07.de.bb.gin.ntt.net (168.143.105.105) 33.389 ms 33.371 ms 33.317 ms
10 a23-210-54-17.deploy.static.akamaitechnologies.com (23.210.54.17) 30.255 ms 30.197 ms 31.156 ms
11 * * *
12 * * *
13 * * *
14 Bottles-Web-FRA-0.usebottles.com (194.233.171.195) 27.222 ms * * However, when using TCP the route is slightly different after 6th hop: [jpadilla@fractal-local ~]$ sudo traceroute -4 -T repo.usebottles.com
traceroute to repo.usebottles.com (194.233.171.195), 30 hops max, 60 byte packets
1 * * *
2 10.209.128.1 (10.209.128.1) 13.062 ms 13.143 ms 13.193 ms
3 89-75-12-193.infra.chello.pl (89.75.12.193) 13.289 ms 13.355 ms 18.565 ms
4 pl-waw26b-rc1-ae-8-2150.aorta.net (84.116.252.201) 24.352 ms 24.339 ms 18.523 ms
5 pl-waw26b-ri1-ae-24-0.aorta.net (84.116.138.73) 21.131 ms 20.988 ms 21.013 ms
6 ae-13.r01.wrswpl01.pl.bb.gin.ntt.net (129.250.9.109) 21.222 ms 12.534 ms 12.508 ms
7 ae-8.r20.amstnl07.nl.bb.gin.ntt.net (129.250.3.133) 33.624 ms 33.654 ms 37.025 ms
8 ae-3.r00.frnkge13.de.bb.gin.ntt.net (129.250.6.14) 28.441 ms ae-0.a01.amstnl07.nl.bb.gin.ntt.net (129.250.7.87) 33.503 ms ae-3.r00.frnkge13.de.bb.gin.ntt.net (129.250.6.14) 30.916 ms
9 ae-3.akamai.amstnl07.nl.bb.gin.ntt.net (168.143.105.177) 90.035 ms ae-0.akamai.amstnl09.nl.bb.gin.ntt.net (168.143.105.181) 34.545 ms ae-0.akamai.frnkge07.de.bb.gin.ntt.net (168.143.105.105) 30.729 ms
10 ae12.r02.ams01.icn.netarch.akamai.com (23.197.69.40) 33.905 ms ae13.r01.fra02.icn.netarch.akamai.com (23.210.52.46) 45.202 ms a23-210-54-17.deploy.static.akamaitechnologies.com (23.210.54.17) 30.019 ms
11 ae11.r01.fra03.icn.netarch.akamai.com (95.100.192.161) 37.480 ms 27.655 ms 46.961 ms
12 ae1.r02.fra03.ien.netarch.akamai.com (23.210.54.37) 30.562 ms 27.318 ms 46.776 ms
13 * * *
14 * * Bottles-Web-FRA-0.usebottles.com (194.233.171.195) 24.638 ms
[jpadilla@fractal-local ~]$ sudo traceroute -4 -T repo.usebottles.com
traceroute to repo.usebottles.com (194.233.171.195), 30 hops max, 60 byte packets
1 * * *
2 10.209.128.1 (10.209.128.1) 14.103 ms 14.236 ms 14.162 ms
3 89-75-12-193.infra.chello.pl (89.75.12.193) 14.317 ms 21.497 ms 21.487 ms
4 pl-waw26b-rc1-ae-8-2150.aorta.net (84.116.252.201) 21.747 ms 21.593 ms 21.956 ms
5 pl-waw26b-ri1-ae-24-0.aorta.net (84.116.138.73) 21.705 ms 21.896 ms 21.781 ms
6 ae-13.r01.wrswpl01.pl.bb.gin.ntt.net (129.250.9.109) 30.517 ms 16.435 ms 16.446 ms
7 ae-22.r20.frnkge13.de.bb.gin.ntt.net (129.250.5.18) 32.405 ms 35.753 ms 28.530 ms
8 ae-0.a00.amstnl09.nl.bb.gin.ntt.net (129.250.2.163) 37.595 ms ae-3.r00.frnkge13.de.bb.gin.ntt.net (129.250.6.14) 32.712 ms ae-0.a03.frnkge07.de.bb.gin.ntt.net (129.250.7.16) 32.488 ms
9 ae-0.akamai.frnkge07.de.bb.gin.ntt.net (168.143.105.105) 32.712 ms 32.570 ms ae-0.akamai.amstnl09.nl.bb.gin.ntt.net (168.143.105.181) 58.329 ms
10 a23-210-54-17.deploy.static.akamaitechnologies.com (23.210.54.17) 37.334 ms ae12.r02.ams01.icn.netarch.akamai.com (23.197.69.40) 32.303 ms 32.267 ms
11 ae5.r01.fra03.icn.netarch.akamai.com (95.100.192.138) 41.829 ms 31.077 ms ae11.r01.fra03.icn.netarch.akamai.com (95.100.192.161) 25.978 ms
12 ae1.r02.fra03.ien.netarch.akamai.com (23.210.54.37) 34.529 ms 30.410 ms 35.407 ms
13 * * *
14 Bottles-Web-FRA-0.usebottles.com (194.233.171.195) 29.518 ms * *
[jpadilla@fractal-local ~]$ sudo traceroute -4 -T repo.usebottles.com
traceroute to repo.usebottles.com (194.233.171.195), 30 hops max, 60 byte packets
1 * * *
2 10.209.128.1 (10.209.128.1) 13.633 ms 13.707 ms 13.695 ms
3 89-75-12-193.infra.chello.pl (89.75.12.193) 13.854 ms 13.918 ms 19.874 ms
4 pl-waw26b-rc1-ae-8-2150.aorta.net (84.116.252.201) 19.986 ms 20.058 ms 19.893 ms
5 pl-waw26b-ri1-ae-24-0.aorta.net (84.116.138.73) 20.109 ms 20.192 ms 20.222 ms
6 ae-13.r01.wrswpl01.pl.bb.gin.ntt.net (129.250.9.109) 20.279 ms 15.892 ms 15.911 ms
7 ae-8.r20.amstnl07.nl.bb.gin.ntt.net (129.250.3.133) 48.736 ms ae-22.r20.frnkge13.de.bb.gin.ntt.net (129.250.5.18) 35.210 ms 35.159 ms
8 ae-0.a01.amstnl07.nl.bb.gin.ntt.net (129.250.7.87) 33.977 ms ae-3.r00.frnkge13.de.bb.gin.ntt.net (129.250.6.14) 29.221 ms ae-0.a03.frnkge07.de.bb.gin.ntt.net (129.250.7.16) 29.247 ms
9 ae-2.akamai.frnkge13.de.bb.gin.ntt.net (168.143.105.113) 33.833 ms ae-0.akamai.amstnl09.nl.bb.gin.ntt.net (168.143.105.181) 37.410 ms 37.349 ms
10 a23-210-54-17.deploy.static.akamaitechnologies.com (23.210.54.17) 37.025 ms 36.974 ms ae13.r01.fra02.icn.netarch.akamai.com (23.210.52.46) 46.335 ms
11 ae5.r01.fra03.icn.netarch.akamai.com (95.100.192.138) 35.819 ms ae11.r01.fra03.icn.netarch.akamai.com (95.100.192.161) 26.529 ms ae5.r01.fra03.icn.netarch.akamai.com (95.100.192.138) 35.991 ms
12 ae1.r02.fra03.ien.netarch.akamai.com (23.210.54.37) 34.287 ms 38.220 ms 35.213 ms
13 * * *
14 * * *
15 * * *
16 * Bottles-Web-FRA-0.usebottles.com (194.233.171.195) 29.874 ms *
[jpadilla@fractal-local ~]$ sudo traceroute -4 -T repo.usebottles.com
traceroute to repo.usebottles.com (194.233.171.195), 30 hops max, 60 byte packets
1 * * *
2 10.209.128.1 (10.209.128.1) 9.544 ms 11.698 ms 11.609 ms
3 89-75-12-193.infra.chello.pl (89.75.12.193) 11.924 ms 12.087 ms 13.887 ms
4 pl-waw26b-rc1-ae-8-2150.aorta.net (84.116.252.201) 11.826 ms 12.008 ms 17.862 ms
5 pl-waw26b-ri1-ae-24-0.aorta.net (84.116.138.73) 17.659 ms 17.551 ms 17.733 ms
6 ae-13.r01.wrswpl01.pl.bb.gin.ntt.net (129.250.9.109) 17.904 ms 12.351 ms 10.348 ms
7 ae-8.r20.amstnl07.nl.bb.gin.ntt.net (129.250.3.133) 37.406 ms ae-22.r20.frnkge13.de.bb.gin.ntt.net (129.250.5.18) 30.848 ms ae-8.r20.amstnl07.nl.bb.gin.ntt.net (129.250.3.133) 37.308 ms
8 ae-0.a01.amstnl07.nl.bb.gin.ntt.net (129.250.7.87) 32.706 ms 32.587 ms 30.884 ms
9 ae-0.akamai.amstnl09.nl.bb.gin.ntt.net (168.143.105.181) 58.965 ms ae-2.akamai.frnkge13.de.bb.gin.ntt.net (168.143.105.113) 29.713 ms ae-0.akamai.amstnl09.nl.bb.gin.ntt.net (168.143.105.181) 58.923 ms
10 ae12.r02.ams01.icn.netarch.akamai.com (23.197.69.40) 31.342 ms 35.431 ms *
11 ae5.r01.fra03.icn.netarch.akamai.com (95.100.192.138) 34.515 ms * ae11.r01.fra03.icn.netarch.akamai.com (95.100.192.161) 28.345 ms
12 ae1.r02.fra03.ien.netarch.akamai.com (23.210.54.37) 29.752 ms 31.987 ms 29.329 ms
13 * * *
14 * * *
15 * Bottles-Web-FRA-0.usebottles.com (194.233.171.195) 29.192 ms * Curl continues to fail when retry is not used: For IPv4 (without retry): [jpadilla@fractal-local ~]$ curl -4 -v https://repo.usebottles.com/components/index.yml
* Trying 194.233.171.195:443...
* connect to 194.233.171.195 port 443 failed: Connection timed out
* Failed to connect to repo.usebottles.com port 443 after 132359 ms: Connection timed out
* Closing connection 0
curl: (28) Failed to connect to repo.usebottles.com port 443 after 132359 ms: Connection timed out My router doesn't support IPv6 so I get Note that this works most of the time for me: Trying to put it all together, it looks like TCP traffic is routed through different paths in a very short time and this somehow causes requests not to reach the destination (repo.usebottles.com) or replies not to reach the source (my computer) for some of these paths. Maybe we can conduct a test using iperf3 to measure packet loss? |
So, the problem seems like is from Akamai side, I'll try to fix and maybe add a couple of new nodes inside our infrastructure, I'll keep you updated! |
Today first time I recived sucesfull icmp from server, also Bottles works as should on ipv4
Connection state on router also looks correct Thanks for helping |
Nice! I'll wait for more confirms |
Bottles works beautifully now on my UPC connection. |
OP here (I do not have UPC): unfortunately I'm still getting the same error. Here's what prints at the command line if I start the application, click through the welcome window, click the
Incidentally, it would be useful to have a |
Works! Thanks a lot! :))) [jpadilla@fractal-local ~]$ flatpak run com.usebottles.bottles
(process:2): Gtk-WARNING **: 15:39:07.032: Locale not supported by C library.
Using the fallback 'C' locale.
15:39:07 (INFO) Bottles Started!
15:39:08 (INFO) Catalog components loaded
15:39:08 (INFO) Catalog installers loaded
15:39:09 (INFO) Catalog dependencies loaded
15:39:09 (INFO) Performing Bottles checks…
15:39:09 (INFO) Dxvks found:
- dxvk-1.10.3
15:39:09 (INFO) Vkd3ds found:
- vkd3d-proton-2.6-1-5b73139
15:39:09 (INFO) Nvapis found:
- dxvk-nvapi-v0.5.4
15:39:09 (INFO) Latencyflexs found:
- latencyflex-v0.1.0
15:39:09 (INFO) Runners found:
- sys-wine-7.0
- soda-7.0-4
- caffe-7.18
15:39:09 (INFO) Bottles found:
- mybottle
15:39:09 (INFO) Library saved |
@LiberalArtist does this command work for you? |
@d3ce1t Yes, here's the output—but note that this is from my normal shell, outside of the Flatpak sandbox. (I don't know how to run something like that inside the sandbox.)
|
@LiberalArtist |
Hello, my problem is not quite the same, bottles does not say i don't have internet, it just really slow. |
Thanks, that was very illuminating! Here's what I tried:
It looks like Flatpak is preserving my I don't know enough about Flatpak to know how this scenario is supposed to work. I do think it's supposed to work somehow, because I haven't had this issue with any other Flatpak applications, notably including the web browser from which I'm writing this comment. I'll try to fiddle with settings in Flatseal and see if I can find a workaround, now that I know what the problem is. |
After setting these environment variables in Flatseal:
and likewise exposing those files via Flatseal, I was able to start up and create a new bottle successfully! In contrast, just setting |
I have the exact same problem but in the native version, i can ping repo.usebottles.com without any problems |
+1 |
With adjustments for the paths in Guix env, the above worked for me as well. |
Fixed for me, i just updated. Now i have the version 2022.10.14.1 running archlinux and openssl 3.0 |
This change introduces our new HTTPS endpoint to enable a geographic redirect to the geographically closest server to ensure a better and more stable experience. Should improve: #2057
Describe the bug
Bottles says "You don't seem to be connected to the internet", but there is an internet connection.
To Reproduce
Package
Flatpak from Flathub
Distribution
Kubuntu 22.04
Troubleshooting Logs
Display Protocol
Wayland
Display Backend used by Bottles
Wayland
Additional context
I have tried disconnecting and reconnecting from WiFi, but it hasn't worked. I have confirmed that the Flatpak permissions should allow network access. This is a fresh installation with no existing bottles. (I have never used Bottles before, so sorry if I'm missing something really basic!)
The problem happens regardless of whether I start Bottles from the desktop launcher or the command line. Here is some logging:
The text was updated successfully, but these errors were encountered: