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

[Bug]: [7] Couldn't connect to server #5740

Open
4 tasks done
VehementHam opened this issue Mar 21, 2024 · 10 comments
Open
4 tasks done

[Bug]: [7] Couldn't connect to server #5740

VehementHam opened this issue Mar 21, 2024 · 10 comments

Comments

@VehementHam
Copy link

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.
  • If this is an issue with a particular app, I have tried filing it in the appropriate issue tracker for the app (e.g. under https://github.com/flathub/) and determined that it is an issue with Flatpak itself.
  • This issue is not a report of a security vulnerability (see here if you need to report a security issue).

Flatpak version

Flatpak 1.14.5

What Linux distribution are you using?

Alpine Linux

Linux distribution version

Edge

What architecture are you using?

x86_64

How to reproduce

I installed Alpine Linux

I followed the instructions on https://flatpak.org/setup/alpine/.

I attempt to use pretty much any of flatpak's functionalities.

Expected Behavior

Packages are installed/searched, and the appstream is updated.

Actual Behavior

Installing a package

localhost:~$ doas flatpak install com.play0ad.zeroad
Looking for matches…
Remotes found with refs similar to ‘com.play0ad.zeroad’:

   1) ‘flathub’ (system)
   2) ‘fluthub’ (system)

Which do you want to use (0 to abort)? [0-2]: 2
Required runtime for com.play0ad.zeroad/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/22.08) found in remotes:

   1) fluthub
   2) flathub

Which do you want to install (0 to abort)? [0-2]: 2

com.play0ad.zeroad permissions:
    ipc   network   pulseaudio   x11  dri  shm



        ID                                             Branch                 Op            Remote             Download
 1. [✗] com.play0ad.zeroad.Locale                      stable                 i             fluthub              1.0 kB / 1.0 kB
 2. [✗] org.freedesktop.Platform.GL.default            22.08                  i             flathub              1.0 kB / 148.3 MB
 3. [✗] org.freedesktop.Platform.GL.default            22.08-extra            i             flathub              1.0 kB / 148.3 MB
 4. [✗] org.freedesktop.Platform.Locale                22.08                  i             flathub              1.0 kB / 333.7 MB
 5. [✗] org.freedesktop.Platform.openh264              2.2.0                  i             flathub              1.0 kB / 944.3 kB
 6. [✗] org.freedesktop.Platform                       22.08                  i             flathub              1.0 kB / 214.5 MB
 7. [ ] com.play0ad.zeroad                             stable                 i             fluthub            < 1.8 GB

Warning: While pulling runtime/com.play0ad.zeroad.Locale/x86_64/stable from remote fluthub: While fetching https://dl.flathub.org/repo/config: [7] Couldn't connect to server
Warning: While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 from remote flathub: While fetching https://dl.flathub.org/repo/config: [7] Couldn't connect to server
Warning: While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra from remote flathub: While fetching https://dl.flathub.org/repo/config: [7] Couldn't connect to server
Warning: While pulling runtime/org.freedesktop.Platform.Locale/x86_64/22.08 from remote flathub: While fetching https://dl.flathub.org/repo/config: [7] Couldn't connect to server
Warning: While pulling runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 from remote flathub: While fetching https://dl.flathub.org/repo/config: [7] Couldn't connect to server
Error: While pulling runtime/org.freedesktop.Platform/x86_64/22.08 from remote flathub: While fetching https://dl.flathub.org/repo/config: [7] Couldn't connect to server
error: Failed to install org.freedesktop.Platform: While pulling runtime/org.freedesktop.Platform/x86_64/22.08 from remote flathub: While fetching https://dl.flathub.org/repo/config: [7] Couldn't connect to server

Searching

localhost:~$ flatpak search 0ad
No matches found
localhost:~$ 

Updating the appstream

localhost:~$ flatpak update --appstream
Updating appstream data for remote flathub
Error updating: While pulling appstream2/x86_64 from remote flathub: While fetching https://dl.flathub.org/repo/config: [7] Couldn't connect to server
Updating appstream data for remote fluthub
Error updating: While pulling appstream2/x86_64 from remote fluthub: While fetching https://dl.flathub.org/repo/config: [7] Couldn't connect to server

Additional Information

I am using Alpine Linux. Network is functional.

@chrisawi
Copy link
Collaborator

Are you using a proxy?

Are you able to curl https://dl.flathub.org/repo/config ?

@hfiguiere
Copy link
Collaborator

Maybe your ISP is blocking it. We have had report of this happening.

@hfiguiere hfiguiere changed the title [Bug]: [7] Couldn't connect to servec [Bug]: [7] Couldn't connect to server Mar 22, 2024
@VehementHam
Copy link
Author

Are you using a proxy?

No.

Are you able to curl https://dl.flathub.org/repo/config ?

Yes.

@VehementHam
Copy link
Author

Maybe your ISP is blocking it. We have had report of this happening.

No. Flathub has worked in tha past. I cannot see a possible insentive for blocking Flathub either.

@hfiguiere
Copy link
Collaborator

Thing is flatpak != flathub. (this is flatpak issue tracker) If any indication there is, it's a problem between your location and flathub.

It's not because it worked in the past that it works now.

@VehementHam
Copy link
Author

flatpak update works on another machine.

@VehementHam
Copy link
Author

The errors are inconsistant. Sometimes it starts to install, and other times, it immediately reports an error.

@VehementHam
Copy link
Author

I get the same error on my other Alpine machine. Not on machines running other operating systems.

@AmrElsayyad
Copy link

Are there any updates on this issue?

@VehementHam
Copy link
Author

Yes. I am still having the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants