-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
replication for big images failed with Gateway Time-out intermittently #3446
Comments
Try to add timeout settings in the configuration file of Nginx. |
Thank you, @ywk253100, you suggestion works perfectly. I added the proxy_send_timeout and proxy_read_timeout in the "location /v2/" section of common/templates/nginx/nginx.http.conf; ./prepare, restart Harbor. Then the 1000MB images could be synced correctly to the remote Harbor repositories.
I am fine with closing this issue, not sure if Harbor project wants to document this as a tip of replicating big images or the network between the replicated Harbor repositories is not good enough. |
FYI, the above resolution not works for me. But it dose work if I add the |
I have some docker images with a super big file of 1GB in the images, Harbor replication for these images failed intermittently with error "Gateway Time-out", if I disable and re-enable the replication rule to trigger a re-replication, it will succeed.
The Harbor is configured with 2 replication rules to replicate the images to 2 target Harbor registries.
Harbor 1.2.0
Docker 1.12.6
docker-compose 1.9.0
The text was updated successfully, but these errors were encountered: