What does this mean?
This message means that Nexus Repository has temporarily blocked access to the remote repository since it is unreachable/unresponsive. And the Nexus instance for this proxy repository's settings has the "Auto blocking enabled" checkbox checked.
Why do you want to keep "Auto blocking enabled" checkbox checked?
When a request comes into a group repository, the server has to traverse all of the repositories in the group to find the member repository which can service the request. In the case of proxy repositories, Nexus needs to periodically make requests to the remote to see if the requested item exists.
If a remote is responding very slowly, this can cause incoming requests to pile up waiting for this one particular remote to respond. In extreme cases so many requests can pile up that the inbound request thread pool becomes exhausted, rendering the server unusable.
To solve this problem, we added the auto-block feature. If a remote does not respond within the read timeout setting (default is 20 seconds and configured retries), it is auto-blocked. Once this happens, Nexus Repository will check the health of the remote periodically. It starts checking every 40 seconds, then increases using a Fibonacci sequence until it is checking every 60 minutes. As soon as the remote can be reached again it is automatically unblocked.
If you have a repository which is in this state, check the nexus.log file. You will almost certainly find that a network error is occurring, and Nexus can't reach the remote.
When you may need to make some adjustments
1) If you have a server that is responding slowly, but still responding, you can try increasing the "Request Timeout" under "HTTP Request Settings (optional)" in the proxy's configuration. If you are encountering this problem, a good starting point is a timeout of 60 seconds, with a retry count of 3.
2) The other case (which is rare) is that Nexus Repository is not properly able to detect the health of the remote. This can happen if HEAD requests to "/" are denied and the remote is not a well known type of server (such as another Nexus instance). If the remote is auto-blocked, and you can't reach "/" on the remote, but you can reach sub-directories then you will need to disable the auto-block feature in your proxy repository's configuration.
3) If the issue persists, you can also consult the nexus.log for this instance (located in
$data-dir/log/nexus.log) to see why the remote is auto-blocked. Is there an SSL error? Is the remote inaccessible or down? You can use these clues to continue the rest of the investigation.