Xcode Cloud builds failing with random 502 errors when resolving packages

During SPM Package resolution we are seeing lots of 502 errors in the logs when Xcode Cloud tries to talk to github. Anyone else seeing this? Not sure how to get this issue resolved but it is impacted all of our builds.

Example of the error we're seeing. We see these for lots of different packages and even our own source (though in that case it looks like Xcode Cloud tried again and succeeded the second time).

xcodebuild: error: Could not resolve package dependencies:   Failed to clone repository https://github.com/zendesk/sdk_zendesk_ios:     Cloning into bare repository '/Volumes/workspace/DerivedData/SourcePackages/repositories/sdk_zendesk_ios-1d7ac730'...     error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502     fatal: expected flush after ref listing   Failed to clone repository https://github.com/apple/swift-async-algorithms:     Cloning into bare repository '/Volumes/workspace/DerivedData/SourcePackages/repositories/swift-async-algorithms-c3a8d752'...     fatal: unable to access 'http://github.com/apple/swift-async-algorithms/': The requested URL returned error: 502 

Yep, it is back today.

Also seeing this. Our builds are giving:

Command exited with non-zero exit-code: 128
fatal: unable to access 'https://github.com/my-project-repo.git/': The requested URL returned error: 502
Your SCM service 'github.com' failed to respond, please check that it's available

and while resolving package dependencies they all:

error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502

Same

started getting this today : fatal: unable to access 'http://github.com/facebook/flipper.git/': The requested URL returned error: 502

This appears to be resolved for us now. Fingers crossed it has for everyone!

Looks like they've fixed something. At least it's working now

The issue seems to be resolved today on bitbucket.

Builds working for me again as well! Looks like Apple has also acknowledged the issue on the system status page

https://developer.apple.com/system-status/

Same

A lot of errors today

Happening to me as well randomly when resolving pods in a xcloud workflow

Xcode Cloud builds failing with random 502 errors when resolving packages
 
 
Q