Cannot connect to Atlassian Marketplace with error 'Bad Request (Invalid Hostname)'

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

UPM cannot connect to Atlassian Marketplace via Administrations > Manage Add-Ons >

The following appears in the atlassian-jira.log:

2014-05-12 14:55:16,815 UpmScheduler:thread-1 WARN anonymous     [atlassian.upm.pac.PacClientImpl] Error when querying application info from MPAC: com.atlassian.marketplace.client.MpacException$ServerError: <h1>Bad Request (Invalid Hostname)</h1>

Diagnosis

Investigation has been done as per Problems Connecting to the Atlassian Marketplace and both Proxy and Firewall does not block the UPM from connecting to Marketplace. In the same log, warning on http.nonProxyHost is thrown even though JIRA Starting Option does not have the http.nonProxyHost configured. For example:

2014-05-12 14:55:26,128 myWorkHostChecker:thread-1 WARN      [sal.core.net.HttpClientProxyConfig] The system property http.nonProxyHost is set. You probably meant to set http.nonProxyHosts.

Cause

The incorrect configuration http.nonProxyHost is interfering with the UPM connection to the Marketplace.

 

Resolution

  • Locate the incorrect http.nonProxyHost configuration . For example, it might have been added into the $JIRA_Install/conf/catalina.properties
  • Remove the incorrect configuration
  • Restart JIRA for the changes to take effect

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.