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

[bunkr] Handle maintenance mode #5952

Closed
Larsluph opened this issue Aug 6, 2024 · 5 comments
Closed

[bunkr] Handle maintenance mode #5952

Larsluph opened this issue Aug 6, 2024 · 5 comments

Comments

@Larsluph
Copy link
Contributor

Larsluph commented Aug 6, 2024

When a bucket is in maintenance, all content URLs redirect to a maintenance link.

Only the fries bucket is in maintenance ATM: https://status.bunkr.ru/

Expected behavior

Prevent downloading maintenance-vid.mp4 to try again at a later time.

Related logs:

[1/4] https://bunkrrr.org/a/*****
[gallery-dl][debug] Starting DownloadJob for 'https://bunkrrr.org/a/*****'
[bunkr][debug] Using BunkrAlbumExtractor for 'https://bunkrrr.org/a/*****'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): bunkrrr.org:443
[urllib3.connectionpool][debug] https://bunkrrr.org:443 "GET /a/***** HTTP/1.1" 307 65
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): bunkr.site:443
[urllib3.connectionpool][debug] https://bunkr.site:443 "GET /a/***** HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://bunkrrr.org:443 "GET /v/***** HTTP/1.1" 307 68
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): bunkr.ci:443
[urllib3.connectionpool][debug] https://bunkr.ci:443 "GET /v/***** HTTP/1.1" 200 None
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): fries.bunkr.ru:443
[urllib3.connectionpool][debug] https://fries.bunkr.ru:443 "GET /***** HTTP/1.1" 302 138
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): bnkr.b-cdn.net:443
[urllib3.connectionpool][debug] https://bnkr.b-cdn.net:443 "GET /maintenance-vid.mp4 HTTP/1.1" 200 322509
downloads\bunkr\*****\*****
@mikf
Copy link
Owner

mikf commented Aug 7, 2024

[urllib3.connectionpool][debug] https://bnkr.b-cdn.net:443 "GET /maintenance-vid.mp4 HTTP/1.1" 200 322509

Do you know if there's a similar maintenance URL for images as well or is this video-only?

@Larsluph
Copy link
Contributor Author

Larsluph commented Aug 7, 2024

I have to find one to know that, I can check it out.

@Larsluph
Copy link
Contributor Author

Larsluph commented Aug 7, 2024

Somewhat a duplicate of #3426 but with more details.

I found an image in the fries bucket and it did download it successfully. So I assume maintenance is only affecting videos as the image host was https://i-fries.bunkr.ru:443.

@mikf
Copy link
Owner

mikf commented Aug 8, 2024

Thanks for looking into this.

@mikf mikf closed this as completed Aug 8, 2024
@Larsluph
Copy link
Contributor Author

Larsluph commented Aug 8, 2024

No problem and thank you for the quick fix! 🚀

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

2 participants