Gitlab(self hosted) integration with Jira Cloud


We used to have a Jira server on premises and used gitlab integration without any issues.

We recently migrated to Jira Cloud and I am trying to install the application to integrate again with our gitlab.

I am installing the App manually and have done all the prerequisite checks but when I attempt the manual upload and install of the application I am getting below error :

“The app host returned HTTP response code 401 when we tried to contact it during installation. Please try again later or contact the app vendor.”

I see in the access log of our server that it is being accessed :

“ - - [08/Aug/2023:14:12:07 -0400] “POST /-/jira_connect/events/installed HTTP/1.1” 401 0 “” “Atlassian HttpClient unknown / JIRA-1001.0.0-SNAPSHOT (100233) / Atlassian-Connect/1001.0.0-SNAPSHOT” -”

I have read that 401 code is related to authentication failing but have made sure to have proper Oauth setup as per atlassian documentation.

Would someone be able to provide any assistance with this issue ?

Thank you,