How to Debug Outbound Nexus IQ Server HTTP Requests

The Nexus IQ Server requires HTTP access to Sonatype Hosted Data Services. Sometimes these outbound requests fail and examining the HTTP headers of the requests can help determine why.

Enabling Outbound HTTP Headers Debugging in the Nexus IQ Server

  1. Edit config.yml. Change

        "org.apache.http": INFO

    to

        "org.apache.http": DEBUG
        "org.apache.http.wire": ERROR
    
  2. Restart the Nexus IQ Server to pick up the configuration changes.
  3. Perform a scan to trigger an outbound HTTP request to data services.
  4. Examine the clm-server.log for the outbound HTTP request and response headers.
  5. When you are done examining the HTTP outbound requests, change the logger back to the default levels and restart the Nexus IQ server to pick up the changes.

        "org.apache.http": INFO
    "org.apache.http.wire": ERROR
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk