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

Pushing images to ECR and Docker Hub times out #17

Open
euanh opened this issue Oct 8, 2024 · 0 comments
Open

Pushing images to ECR and Docker Hub times out #17

euanh opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels
area/interoperability Improvements to compatibility with other systems.

Comments

@euanh
Copy link
Collaborator

euanh commented Oct 8, 2024

Description

Pushing images to ECR and Docker Hub times out, or fails with cryptic errors.

Reproduction

Try to push one of the example projects to ECR or Docker Hub.

Package versions

% swift sdk list
swift-6.0.1-RELEASE_static-linux-0.0.1

Expected behavior

It should be possible to push to any registry.

Environment

Xcode 16

% echo $TOOLCHAINS
org.swift.6010202409231a

Additional information

Pushing to a local registry succeeds, as does pushing to some other network-hosted registries.
In the failing case, small blobs such as config objects are uploaded correctly. An artificially small image layer containing just a text file also succeeds. Large blobs, such as static binaries or base image layers, fail to upload.

I suspect containertool is not sending streaming uploads, and the registries, or load balancers in front of them, are rejecting the uploads for being too large.

The problem with ECR was reported in #14

@euanh euanh self-assigned this Oct 14, 2024
@euanh euanh added the area/interoperability Improvements to compatibility with other systems. label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/interoperability Improvements to compatibility with other systems.
Projects
None yet
Development

No branches or pull requests

1 participant