Unable to login to Jira Align with a reverse proxy
Asked by Josh Miller:

Brand new installation of Jira Align and when we access Jira Align directly we are able to login with the default username / password. If we stand up an Apache reverse Proxy that is only modifying the port (IIS is responding on port 8080 and Apache is responding on port 80), We can no longer login. No error message appears, it just redirects back to the logon page.

There are no error messages and nothing in the logs. The Login does not appear in the Align logs whether it succeeded or failed.


Answers:
author: Edvaldo Lima
body: G'Day [@Josh Miller](/t5/user/viewprofilepage/user-id/4474281)

Apologies for the broken link. in Case the issue is not resolved yet, you can try the following steps:  

Cause {#toc-hId--380059342}
---------------------------

* If the error 'Forms authentication failed for the request. Reason: The ticket supplied has expired' appears in the Windows Event Viewer (inside **Windows Logs \> Application** - with source as ASP.NET 4.0), the cause can be the lack of time synchronization between the Web Server and the Database. Check the Solution #1 below.

* If no error appears in the Windows Event Viewer, the root cause is still unknown but could be related to a browser or network blockage of HTTP traffic. Check Solution #2 below.

Solution {#toc-hId-2107453491}
------------------------------

### Solution 1: {#toc-hId--1496952331}

If the error appears in the Windows Event Viewer, confirm if the time/time zones are in sync between the Web Server and the Database server.  
Then after checking/fixing the time, clear the table tblLog with the command below, which should be run on the DB:

    TRUNCATE TABLE tblLog;

### Solution 2: {#toc-hId-990560502}

If no errors appear in the Windows Event Viewer or any of the other logs, make sure to test using the HTTPS access/bindings.

For that, you can ask the customer to use a valid certificate, or to create a self-signed certificate:

1. Launch PowerShell as Administrator

2. Run the following command:

   1. New-SelfSignedCertificate -DnsName "[customerurl.jiraalign.com](http://customerurl.jiraalign.com/)" -CertStoreLocation "cert:\\LocalMachine\\My"

3. **Start \> type 'cert'**and open "Manage computer certificates"

4. Locate the certificate you just created under **Personal \> Certificates. Right-click \> Copy**

5. Navigate to **Trusted Root Certificate Authorities \> Certificates. Right-click \> Paste**

6. Launch the IIS Manager. Click on the website associated with **JiraAlign \> Bindings \> Add** :  
   Type = https  
   IP address = All Unassigned  
   Port = 443  
   Hostname = [customerurl.jiraalign.com](http://customerurl.jiraalign.com/) (should be the same as the one provided in the cert creation)  
   SSL Certificate = \<select the cert you just created from the drop-down\>  
   Click OK and restart IIS.

7. If the URL is not resolved by the DNS yet, you will need to add it to the server's hosts file, usually under c:\\Windows\\System32\\Drivers\\etc\\hosts. The format is: ServerIP [customerurl.jiraalign.com](http://customerurl.jiraalign.com/)

In case the issue persists, you can also raise a support ticket at [https://support.atlassian.com](https://support.atlassian.com/contact/) and we'll assist you accordingly.

comments: author: Josh Miller
body: That link for "Login not working" doesn't work for me, it just sends me to a Page Not found error.  

the Support team just told me that if it works browsing directly to IIS, then the Reverse Proxy would need to help figure out why it isn't working.