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

Replication to Azure Container Registry resluts in 413: request entity too large #21640

Open
inzanez opened this issue Feb 15, 2025 · 2 comments

Comments

@inzanez
Copy link

inzanez commented Feb 15, 2025

Hi

I got a local Harbor based registry and set up a replication rule to push certain images to an Azure Container Registry. The type of the registry I push to in the Harbor UI is Azure ACR and the connection test is successful.

Starting the replication (only images) though results in 413 errors as mentioned above. What I found so far was that this is often due to a proxy setting, but...I am not sure where that should be? I am not aware of a proxy on the Azure side nor do I have one running on my local Harbor instance (except for the nginx-photon being part of the Harbor deployment, but I could not imagine why that specific proxy should interfere with a push migration)...

@wy65701436
Copy link
Contributor

wy65701436 commented Feb 17, 2025

To setup the proxy for replication, you should config the proxy server for harbor-core and jobservice(https://github.com/goharbor/harbor/blob/main/make/harbor.yml.tmpl#L240).

@inzanez
Copy link
Author

inzanez commented Feb 19, 2025

@wy65701436 but why? Is it necessary to use a proxy for replication to work? My services could go to the internet directly, no proxy required,...

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