-
Notifications
You must be signed in to change notification settings - Fork 118
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
402 Payment Required from cloudsmith #115
Comments
yeah same for me.....
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
It's strange that we've hit our 2TB bandwidth quota in merely 3 days. Our apt repo appears to be abused as part of CI builds. If any of you are using the apt package in CI, please change your approach. Until then, we're working on a solution. N.B. Please refrain from making more comments of "me too" unless you're adding more details or context. |
If it helps anybody, we had success using the following to install Caddy in our CI build:
There might be room for improvement with the script of course, but it got us up and running again in our pipeline (sorry for using the apt repo originally!!) |
I gave up using Cloudsmith and started to install from releases directly (Ubuntu 22.04) CADDY_VERSION="2.7.6"
CADDY_ARCH="amd64"
wget -q "https://github.com/caddyserver/caddy/releases/download/v${CADDY_VERSION}/caddy_${CADDY_VERSION}_linux_${CADDY_ARCH}.deb"
apt install "./caddy_${CADDY_VERSION}_linux_${CADDY_ARCH}.deb" |
This is due to abusive users hammering Cloudsmith. There's absolutely no way we received 2.5TB of legitimate traffic within 3 days. For the record, here's our usage tracking for the past year: /cc @lskillen @BartoszBlizniak from Cloudsmith |
We're also going to ask that anyone using the Cloudsmith repos in CI to use xcaddy or to download from GitHub releases instead. We're not sure but it seems likely that an extremely busy CI or testing environment is relentlessly downloading Caddy from Cloudsmith. |
There are many public mirrors that would host your repository for free, with no bandwidth limits. Have you considered a distributed approach? |
Can you elaborate? |
For example, the many organizations listed here or here provide their services for free, and would very likely be happy to host your repo as well. Then you just need to refer users to a nearby healthy mirror. |
It might be still more helpful to talk to CDNs, who have expertise and host projects like these anyway. Importantly they also have expertise in dealing with abuse, and still a desire for good availability and speed, as developer targeted mindshare. Fastly definitely comes to mind, runs mirrors, Cloudflare might. This seems like a separate program, https://www.fastly.com/fast-forward. |
That's not a 1:1 replacement for a Debian/Ubuntu APT repository. It looks like you're using Fedora's COPR for the RHEL/Fedora. Maybe someone should move Debian/deb repo to an Ubuntu PPA @mholt?
That's a heck of a lot of caddyserver downloads!?!? |
@compuguy the best solution we can offer for now is that you download the We're still waiting for communication from Cloudsmith about this. |
Can't install Caddy from Cloudsmith all the time: caddyserver/dist#115.
Talk to Fastly. They can front the Cloudsmith repo as a CDN. It was something I worked with them on for the Alpine Linux package CDN. |
(Following this discussion closely but am traveling through the end of the week and will get to this when I have a chance) |
Hey everyone 👋 @francislavoie - I've increased the limit once more to get everyone unblocked. I'm also going to take some time to look at our logs to determine where the majority of requests are coming from. |
Hey @francislavoie - I will reach out via email so we can continue the conversation via our support portal. For the wider audience, we have currently increased the bandwidth to 5TB while we address the bandwidth usage. |
Hey @BartoszBlizniak , thank you, although I have been emailing Glenn and asked that the limit not be increased any further. We have already utilized much of your generosity and do not want to take advantage of that while we look into mirrors and such. |
Cloudsmith has notified me that they have implemented measures, so we appreciate their help and cooperation 😃 |
Previously discussed here: #114
E: Failed to fetch https://dl.cloudsmith.io/public/caddy/stable/deb/debian/dists/any-version/InRelease 402 Payment Required
This blocks updates & upgrades on machines.
It appears that all bandwidth is gone in only 5 days.
The text was updated successfully, but these errors were encountered: