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]: Aborted due to failure, exceeded maximum size of 2693773 bytes / Server returned HTTP 404 #5648

Open
4 tasks done
seras42 opened this issue Jan 8, 2024 · 4 comments
Labels

Comments

@seras42
Copy link

seras42 commented Jan 8, 2024

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

1.15.4

What Linux distribution are you using?

Fedora Linux

Linux distribution version

Fedora Linux 38.20240107.0 (Kinoite)

What architecture are you using?

x86_64

How to reproduce

  1. install intelJ trough flatpak
  2. try to flatpak update when intelJ has update
  3. The update should fail

Expected Behavior

  1. flatpak update
  2. Update was successful

Actual Behavior

flatpak update
Looking for updates…

        ID                                               Branch            Op            Remote            Download
 1. [✗] com.jetbrains.IntelliJ-IDEA-Community            stable            u             flathub           274,6 kB / 801,5 MB

Error: While pulling app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub: Server returned HTTP 404
Updates complete.

Sometimes a different error is thrown such as

Aborted due to failure (While pulling app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub: URI https://dl.flathub.org/repo/deltas/hv/KajdCfFMGZEUBkZ2WtWKpO5Gs1UFe_09u7x5XM+vA-0_YJs8VP3PGCdjYnjk0ntr5eP9qCMCoQYZPFwPlmiNo/4 exceeded maximum size of 2693773 bytes)

Additional Information

It seems that doing fresh install works, however when you want to update you get the bug.
The same issue has also been reported on the flathub/com.jetbrains.IntelliJ-IDEA-Community
flathub/com.jetbrains.IntelliJ-IDEA-Community#159 (comment)

@ckujau
Copy link

ckujau commented Jan 30, 2024

Disabling delta updates appears to work as well:

flatpak update -vy --no-static-deltas com.jetbrains.IntelliJ-IDEA-Community

See Unable to update com.jetbrains.IntelliJ-IDEA-Community for similar reports on this.

@seras42
Copy link
Author

seras42 commented Jan 30, 2024

Disabling delta updates appears to work as well:

flatpak update -vy --no-static-deltas com.jetbrains.IntelliJ-IDEA-Community

See Unable to update com.jetbrains.IntelliJ-IDEA-Community for similar reports on this.

I really appreciate you sharing this solution, i think it might come in handy for anyone experiencing it. The distro i am in does automatic updates and for some reason one day the intelJ just updated successfully. I did not really do anything. Do you think i should close down this issue or leave it open for anyone else who might stumble upon it?

@ckujau
Copy link

ckujau commented Jan 30, 2024

This is a weird bug, "Server returned HTTP 404" suggests an error with Flathub and #159: Error while updating to latest looks like the correct place to report this. But then there's this "exceeded maximum size" message too and this I only found in the flatpak/ppa-ostree repository, which seems to have zarro bugs, wow.

So, I'd keep this open and hope that someone from @flatpak/flatpak will comment here :-)

@Giuleus957
Copy link

I just had a very similar issue on SteamOS but with KDE Application Platform where I was getting those both errors (mostly 404 but also the maximum size one sometimes). Tried everything I was finding online and only this solved my problem once and for all.

Disabling delta updates appears to work as well:

flatpak update -vy --no-static-deltas com.jetbrains.IntelliJ-IDEA-Community

See Unable to update com.jetbrains.IntelliJ-IDEA-Community for similar reports on this.

At the beginning it was also causing other flatpaks not to update from the Discover app (they updated only through konsole after).
In my case the errors were:

Aborted due to failure (While pulling runtime/org.kde.Platform/x86_64/6.6 from remote flathub: Server returned HTTP 404)
or
Aborted due to failure (While pulling runtime/org.kde.Platform/x86_64/6.6 from remote flathub: URI https://dl.flathub.org/repo/deltas/Ix/B1UAgtrzsokqSg2yVDg4V4yogjQKdWuYi8XBYUVAw-4VthpO55ghIYWdBxLaw2c9LHnwmajaCCO45rG2B+_Rw/3 exceeded maximum size of 1430261 bytes)

solved with:
flatpak update -vy --no-static-deltas org.kde.Platform

Thank you!

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

No branches or pull requests

3 participants