cypress: PostInstall failure occasionally with a 502 (Bad Gateway)
Current behavior
Occasional 502 from postInstall script. Seems https://download.cypress.io/desktop/12.14.0?platform=linux&arch=x64 sometimes is a Bad Gateway
Desired behavior
It should not fail postInstall
Test code to reproduce
Testing seems to be once a day across 30 to 40 commits
Cypress Version
12.14.0
Node version
v16.15.0
Operating System
Linux
Debug Logs
16:04:40 .../cypress@12.14.0/node_modules/cypress postinstall: URL: https://download.cypress.io/desktop/12.14.0?platform=linux&arch=x64
16:04:40 .../cypress@12.14.0/node_modules/cypress postinstall: Error: Failed downloading the Cypress binary.
16:04:40 .../cypress@12.14.0/node_modules/cypress postinstall: Response code: 502
16:04:40 .../cypress@12.14.0/node_modules/cypress postinstall: Response message: Bad Gateway
Other
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 10
- Comments: 17 (9 by maintainers)
Hello everyone on this issue, I just wanted to circle back and let everyone know that our infrastructure team has pushed some changes that should address this problem. I want to apologize again for the inconvenience and we really do appreciate you all bringing this to our attention. Thank you for being a great community! I am going to mark this ticket as resolved. If folks are still seeing this problem going for, please comment back here and we can reopen and investigate.
Hi @jasongornall-dd, @sneridagh and @MikeMcC399 I have raised these problems with our infrastructure teams. They have been doing some migrations for our download services to use a new service. They are investigating further and have a couple of ideas about ways to limit these types of occurrences.
Nope it was very transient blip, there were a bunch of agents running that did succeed, it was just couple that failed. It’s working fine now. We experience the flakiness often enough for it to be painful (personally I would see it every week), so I’m trying to work out whether we should cache it on our side somewhere.
@bradleyayers
https://www.cloudflarestatus.com/#past-incidents is showing some related issues.
Is it still happening for you?
@nagash77 Thanks!