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

Symptoms

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

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>:

<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:

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

Resolution

  1. Remove the additional slash from the Context path
  2. Example:
    <Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">
    
Last modified on Mar 30, 2016

Was this helpful?

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