Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-3709

Need a way to deal with proxy servers that return 200 with error pages.


    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.8
    • Component/s: Repository
    • Labels:


      It is fairly common for larger sites to have proxy servers which redirect to an error page when something goes wrong in an HTTP request. This can cause invalid artifacts to be stored in proxy repositories, since the redirect URL usually returns 200 or similar.

      Depending on the server it may not be possible to change this behavior, and the obvious workaround of enabling strict checksums isn't always feasible because not all remote repositories have valid checksums for all artifacts.

      We should provide a workaround for users who find themselves in this situation.

      One possibility would be to check for some information in the http headers to indicate to nexus that the artifact should not be cached.

      Another thought: A"valid checksum" mode, where nexus requests the checksum file but only checks to see that it has a valid format. If a checksum is received with non-error response and it isn't in valid format the artifact would be rejected.


          Issue Links



              • Assignee:
                plynch Peter Lynch
                rseddon Rich Seddon
                Last Updated By:
                Peter Lynch
              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created:
                  Date of First Response: