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

402 Payment Required on apt update (cloudsmith) #114

Closed
digitalsparky opened this issue Mar 29, 2024 · 13 comments
Closed

402 Payment Required on apt update (cloudsmith) #114

digitalsparky opened this issue Mar 29, 2024 · 13 comments

Comments

@digitalsparky
Copy link

Hi folks,

Just FYI, looks like you're starting to hit those limits again. Getting payment-required notifications when attempting to run apt update.

Error: Failed to fetch https://dl.cloudsmith.io/public/caddy/xcaddy/deb/debian/dists/any-version/InRelease 402 Payment Required [IP: ************ 443]

Ping @BartoszBlizniak / @prinkpan / @francislavoie

Previous related ticket #100

Thanks to you both (caddyserver contribs and cloudsmith) heaps for your awesome work!

Cheers

Matt

@tonyallan
Copy link

+1

@Lloir
Copy link

Lloir commented Mar 29, 2024

@BartoszBlizniak Able to help caddy out again pleaseeeee? ;) <3

( I know I'm being cheeky ) but don't ask you don't get

@stnby
Copy link

stnby commented Mar 29, 2024

Maybe switching away from cloudsmith could be considered? Not the first time this has happened.

@BartoszBlizniak
Copy link

Hey @digitalsparky and @Lloir - Sorry, just seeing this now! Let me check with the team on our side and get back to you ASAP.

@francislavoie
Copy link
Member

francislavoie commented Mar 29, 2024

Looks like download usage has been increasing dramatically month to month... 2 months ago we had 1TB bandwidth used, last month 1.3TB, now this month 2TB, which is our current quota setting. It would roll over on Monday.

If any of you are using the apt repo in CI, I implore you to enable caching to avoid hammering Cloudsmith.

Thanks so much @BartoszBlizniak for noticing the alert!

@BartoszBlizniak
Copy link

Hey @francislavoie (and everyone else!). We have increased the bandwidth by an additional 500gb to help users get unblocked. I've also notified our growth team to discuss what we can do to help the project grow.

We do apologise for the disruption. In the meantime, we would also recommend creating an alert based on our OSS API in order to prevent this in the future.

Wish you a good holiday from Cloudsmith 💙

@tonyallan
Copy link

Thank you very much @BartoszBlizniak for your very quick response.

@francislavoie
Copy link
Member

francislavoie commented Mar 29, 2024

Thanks @BartoszBlizniak!

I could've sworn we had usage alerts enabled on our account at some point. Did that feature go away? 😣 I can't find settings for it anymore in our account.

Is there anything you can do on your end to slow down abusive users? I don't think there's much we can do on our end, we have no control over this since it's obviously a public project. If you're able to rate limit by IP address, that would certainly make sense I think.

Also I'd like to remind everyone that you can always download the .deb from https://github.com/caddyserver/caddy/releases if this happens again. Likely a better option to pin to a specific version if you're using Caddy in your CI pipelines.

@BartoszBlizniak
Copy link

Hey @francislavoie - let's discuss this over our support portal after the holiday period and see how we can address all your concerns here.

@digitalsparky
Copy link
Author

Awesome sauce, thanks all! Marking Closed :).

@mholt
Copy link
Member

mholt commented Mar 29, 2024

Appreciate the quick response while I was sleeping! 😅

We are very grateful to Cloudsmith for allowing our use of your services. Apologies for the growth 🫤

@bananer
Copy link

bananer commented Apr 3, 2024

I'm getting a 402 response from the cloudsmith repository right now.

@mholt
Copy link
Member

mholt commented Apr 3, 2024

This thread has been resolved, the new error is a recurrence due to abuse, see #115

@caddyserver caddyserver locked as resolved and limited conversation to collaborators Apr 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants