Jira Issue: 401 invalid username password / 403 Forbidden username password combo

Nithish1
Tera Guru

Hello All,

I have successfully completed ServiceNow to Jira integration by using John Anderson's POC. We are able to pass an incident between two systems. Recently Jira migrated to a new data center and from then there is a connection lost between two systems. I'm trying to send comments from rest message and I get 401 invalid username password combo and 403 Forbidden username password combo. We tried changing the password couple of time and I'm sure the username and password I'm giving are correct. I don't think this is ServiceNow issue. 

Any help can be appreciated.

Response attached.

Thanks,

Nithish

1 ACCEPTED SOLUTION

Nithish1
Tera Guru

Hello,

 

We found that issue is with mid server. They copied the files and folder from the old mid server and the followed the below steps.

  1. Stop Mid Server
  2. Change URL (DEV to TEST or PROD)
  3. Update Username and password (It will be encrypted make sure you update it again)
  4. Remove (sys_id, value), (key pairs value)
  5. Remove keystore file from the keystore folder.
  6. Start Mid Server.

In ServiceNow, it showed that the MID Server was back up and was validated but it had not properly validated.

When we had the follow the steps above again we had to tell ServiceNow to validate the mid server. once this was done everything started working again.

 

Thanks,

Nithish

View solution in original post

4 REPLIES 4

Uncle Rob
Kilo Patron

Log into Jira with the same credentials you're attempting via SN>

Nithish1
Tera Guru

Hi Robert,

 

Jira team tried to log in with same credentials and they are able to get in.

 

Thanks,

Nithish1
Tera Guru

Hello,

 

We found that issue is with mid server. They copied the files and folder from the old mid server and the followed the below steps.

  1. Stop Mid Server
  2. Change URL (DEV to TEST or PROD)
  3. Update Username and password (It will be encrypted make sure you update it again)
  4. Remove (sys_id, value), (key pairs value)
  5. Remove keystore file from the keystore folder.
  6. Start Mid Server.

In ServiceNow, it showed that the MID Server was back up and was validated but it had not properly validated.

When we had the follow the steps above again we had to tell ServiceNow to validate the mid server. once this was done everything started working again.

 

Thanks,

Nithish

Inactive_US1603
Kilo Contributor

Does anyone have info on the use of Credential and Connections settings under Devops. I have tried various options but unable to connect to JIRA.