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

[Feature request] Add timeout to the authentication stage for the replication #21244

Open
heww opened this issue Nov 26, 2024 · 0 comments
Open

Comments

@heww
Copy link
Contributor

heww commented Nov 26, 2024

In some customer environments, the network is not very fluent for the replication jobs. The time required to pull the blobs is unknown, but we can assume that the authentication stage should be successful quickly.

Here are net packets in our customer env when the replication job requests the token for the ACR through a proxy server.
The request hangs for 37 minutes and then the proxy server sends a RST to the harbor. Finally, harbor meets a such error read tcp 10.117.6.6:xxxx->10.221.0.48:80: read: connection reset by peer

It's better to add a timeout (eg, 5m) for the authentication stage of the replication.

packets-45576
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant