Getting HTTP error due to additional slash ("/") in Context path

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Symptoms

On the admin authentication page, the following error appears after submitting the authentication form.

1 HTTP error 105 (net::ERR_NAME_NOT_RESOLVED)

Diagnosis

Upon checking the form's HTML source code, the following problem is observed in the <form action>:

1 2 3 <form action="//secure/admin/WebSudoAuthenticate.jspa" class="aui" id="login-form" method="post"> ... </form>

Cause

Additional slash in the context path inside the server.xml. Example:

1 <Context path="/" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">

Solution

Resolution

  1. Remove the additional slash from the Context path

  2. Example:

    1 <Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">
Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.