If you're using Maven Of Nexus, use 2.x Lower version of , perhaps 3.x High version of the , All of a sudden, it's impossible to pass Nexus Agent download depends on .
Symptoms of the problem
In Service - Remote Automatically Blocked and Unavailable
Official announcement ：The Central Repository is Moving to HTTPS
since 2020 year 1 month 15 The date of , The central repository no longer supports normal HTTP Unsafe communication , And require all requests to the repository to pass HTTPS To encrypt .
If you visit the old http://repo1.maven.org/maven2/, Will return the following information ：
501 HTTPS Required. Use https://repo1.maven.org/maven2/ More information at https://links.sonatype.com/central/501-https-required
Need to change to https Can be used .
But the lower version Nexus I won't support it https The interview of , So there will always be SSL Related errors .
Want to use http, You can also continue to use the following address ：
After configuration address change , Low version of the Nexus Can continue to use .