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

Bintray unavailable today, after May 1 #1236

Closed
asdorsey opened this issue Apr 12, 2021 · 26 comments
Closed

Bintray unavailable today, after May 1 #1236

asdorsey opened this issue Apr 12, 2021 · 26 comments
Assignees

Comments

@asdorsey
Copy link

Describe the bug
After May 1, 2021, Bintray will no longer be operational. As a result, TigerVNC binaries will no longer be available.

This was noticed today during one of the scheduled service brownouts for Bintray.

https://status.bintray.com/

https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://bintray.com/tigervnc/stable/tigervnc/1.11.0 and attempt to download a binary.

Expected behavior
Binary is downloaded.

** Actual behavior **
Browser opens a page that says "Forbidden!" and binary is not downloaded.

@samhed
Copy link
Member

samhed commented Apr 13, 2021

I think @CendioOssman is looking at this

@MichaIng
Copy link

While the downloads work again, there is a large red banner:

Attention: All Bintray services will be deprecated and your accounts will be disabled on May 1st 2021. Learn More.

Probably hosting the binaries on GitHub is an alternative?

@CendioOssman
Copy link
Member

GitHub unfortunately only really works for just a few files. We have lots, so we need an interface where we can organise things in a sane manner. :/

We're trying to find an alternative, but unfortunately there isn't much around these days for simple download hosting.

@MichaIng
Copy link

I see. Self-hosting is not an option either? Probably the download stats from Bintray can be used to derive expected traffic and server load. With Cloudflare or similar cache service, most of that traffic could be shifted to their edge servers.

I see the tigervnc.org is from GitHub pages. Not sure about their limits, i.e. having binaries hosted as part of the website repository: https://github.com/TigerVNC/tigervnc.github.io 😄

@samhed
Copy link
Member

samhed commented Apr 22, 2021

The problem with hosting binaries on GitHub pages is that the size of that repo will grow quickly. Every time a binary changes git will save it, and being a repo it's history will never get deleted.

Chances are GitHub won't be too happy about a large repo like that.

@iBug
Copy link

iBug commented Apr 23, 2021

Does uploading the binaries to GitHub Releases work? Like many other software (cdr/code-server for example) do.

@bphinz
Copy link
Member

bphinz commented Apr 25, 2021 via email

@accetto
Copy link

accetto commented Apr 26, 2021

Is there any chance that it will be ready before the Bintray's deadline? My problem is, that the TigerVNC deployment archives are downloaded each time a new container is built. If Bintray will block the downloads, then it will not be possible to build any of my containers, on Docker Hub or locally. What is your estimate, when can you switch to an alternative place?

@iBug
Copy link

iBug commented Apr 26, 2021

however we release a lot more files than the example you linked to

Would you at least save the "commonly downloaded" binaries (as available at https://bintray.com/tigervnc/stable/tigervnc/1.11.0) to GitHub Releases? I believe most users just download one or two from that set of ten-some files, where GHR should solve for these users.

@CendioOssman
Copy link
Member

Is there any chance that it will be ready before the Bintray's deadline? My problem is, that the TigerVNC deployment archives are downloaded each time a new container is built. If Bintray will block the downloads, then it will not be possible to build any of my containers, on Docker Hub or locally. What is your estimate, when can you switch to an alternative place?

Unclear. I'm hoping to look further in to this this week, but I cannot promise anything.

That said, I would strongly advise against any automated downloads from our release page. We will always need to rely on free (or cheap) hosting for a project like this. Having lots and lots of traffic because of automated things like that could result in us losing whatever hosting we find.

@iBug
Copy link

iBug commented Apr 26, 2021

We will always need to rely on free (or cheap) hosting for a project like this.

GitHub Releases really is free hosting. The support page says:

Each file included in a release must be under 2 GB. There is no limit on the total size of a release, nor bandwidth usage.

For binaries that should work, though the "folder hierarchy" issue does need to be addressed.

@MichaIng
Copy link

MichaIng commented Apr 26, 2021

Theoretically, the missing folder hierarchy could be addressed via release notes for the GitHub releases. So instead of only having the flat assets lists at the bottom, the text can use Markdown formatting for a hierarchical list of contained binaries/files. Since only the release tag changes, it should be not too hard to automate appending that list based on a template.

Of course it's not as nice as a directory structure, but ... just seeing that on Bintray it's nothing else than a flat list of 9 files, or do I miss something? https://bintray.com/tigervnc/stable/tigervnc

@iBug
Copy link

iBug commented Apr 26, 2021

Do you really release a lot of files, that need folder arrangement, for every version? With GitHub Releases, binary files for a version are uploaded to that release, rather than laying around along with other versions.

@bphinz
Copy link
Member

bphinz commented Apr 26, 2021 via email

@accetto
Copy link

accetto commented Apr 26, 2021

@CendioOssman

That said, I would strongly advise against any automated downloads from our release page.

Do I have any other choice? I've adopted the TigeVNC version 1.11.0 as soon as you've released it and that version is not included in the Ubuntu 20.04 LTS distro yet. Coming back to the version 1.10, which is included in the distro, is not really a choice, because you've changed the startup procedure significantly. Actually it would mean to throw away all containers and to design a completely new set. That would be a reasonable way only if you would not publish your archives at all any more. Hopefully it will not be the case. Personally I would vote for GitHub.

Btw, do you know, maybe, if and when will Ubuntu include the version 1.11.0?

@CendioOssman
Copy link
Member

Getting it from the distribution is the ideal method IMO. We don't really test and polish the distribution specific packages here so they are very much "best effort", and probably not even that. From my point of view they are there so we can check if an issue is in the distribution packaging or in TigerVNC itself. We don't have the time for anything more than that. :/

Getting it from the distribution will often mean that you're not getting the absolutely latest, but the distributions should hopefully not be too far behind. And if they are, then that's probably a sign that users should make the distribution aware that this is a popular package that requires a bit more attention.

@binary-manu
Copy link
Contributor

While using distro packages is often the most reasonable thing to do, you may run into conflicts if trying to install different clients in parallel.

For example, on Arch Linux, you cannot have tigervnc and the realvnc viewer package from the AUR installed side by side, unless you hack the build files to install it somewhere else and remove conflicts declarations. My usual solution is to have one client installed via the package manager and the other handled manually by downloading stand-alone release packages. Both tigervnc and realvnc have a distro-agnostic package, but I usually pull the TigerVNC Java Viewer from bintray.

@accetto
Copy link

accetto commented Apr 26, 2021

@CendioOssman
In my particular case the most problematic thing is the de-facto incompatibility between the versions 1.11 and 1.10. I would need to re-design and re-test the container startup scripts again. I was hoping that the version 1.11 would be already adopted by Ubuntu at this time. Actually, the version 1.11 works pretty well and it would be sad to downgrade only because of Bintray. Maybe you could publish at least the most often used archives on GitHub? Your "best effort" has worked pretty well till now. :)

@accetto
Copy link

accetto commented Apr 26, 2021

FYI: At this very moment the Bintray downloads do not work again. :(

Forbidden!

@accetto
Copy link

accetto commented Apr 26, 2021

@CendioOssman
I've got a question: Would it be OK, if I would keep a copy of your TigerVNC archive file (tigervnc/stable/tigervnc-1.11.0.x86_64.tar.gz) for my containers in my accetto GitHub repository? Because currently I really cannot build any container again.

@iBug
Copy link

iBug commented Apr 26, 2021

@accetto It's OK (the project is GPL 2.0 licensed)

Would it be OK, if I would keep a copy

@accetto
Copy link

accetto commented Apr 27, 2021

FYI:
The Ubuntu 18.04 LTS distro still includes only the version 1.7.0, which is already pretty old.
The Ubuntu 20.04 LTS distro includes the version 10.0.1, which is the last version before the "big change".

@accetto
Copy link

accetto commented Apr 27, 2021

@CendioOssman , FYI
I've forked you repository and I'll use it as a distribution mirror for my containers. At least until you'll find a replacement for Bintray. This way I'll be able to build my containers. I've already uploaded the releases 1.8.0, 1.9.0, 1.10.1 and 1.11.0 there. You can check it at Release Mirror on accetto/tigervnc. Other users are also welcome.

@binary-manu
Copy link
Contributor

@accetto

I maintain an asdf plugin to download and manage versions of the TigerVNC Java Viewer. Would it bother you if I made it get the jars from your mirror, until the binaries find a new official home?

@accetto
Copy link

accetto commented Apr 28, 2021

@binary-manu
Not at all, you're welcome! :)

@CendioOssman
Copy link
Member

Releases have now been moved to sourceforge. Let's hope they stay alive for the foreseeable future.

MichaIng added a commit to MichaIng/DietPi-Docs that referenced this issue May 3, 2021
It has finally moved from Bintray to SourceForge: TigerVNC/tigervnc#1236
MichaIng added a commit to MichaIng/DietPi-Docs that referenced this issue May 3, 2021
It has finally moved from Bintray to SourceForge: TigerVNC/tigervnc#1236
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

8 participants