Send Web Request Error 500

SGC Associates Ltd
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 27, 2024

Request on CURL

curl -X POST -H "Content-Type: application/json" -d "{\"message\":\"Help What do I do now\"}" https://<mydomain>:7990/<directory>

The request works fine to flask / Python with CURL and Postman 

Tried IssueData / Custom etc

Header   content-type : application/json

( which it is correctly formatted )

Server is Flask on Python ( correct SSL certs, not that )

As above works fine on CURL / Postman and can even web browse if allow GET

Firewall OK, Tested and can see it passing

Always get the error when using SEND WEB REQUEST on Jira

 

Send web request
Unable to publish the web request - received HTTP status response:
500
Error found in the HTTP body response:

 

Spent 2 days on this now, ANyone any ideas ?

 

Just an update, aware that 500 is 'Error' but this error only occurs when called from Jira

1 answer

0 votes
Humashankar VJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 27, 2024

Hi @SGC Associates Ltd 

Can you ensure that the Flask endpoint is accessible from Jira's servers and hasn't been blocked by firewall rules, which could be preventing the connection.

Furthermore, verify that your SSL certificates are correctly configured and trusted by Jira, as any issues with certificate validation could also be contributing to the error.

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards

SGC Associates Ltd
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 28, 2024

Thanks for that

Flask is accessible from Jiras servers and is not blocked by  firewall rules

SSL Certs good, I have bought them and work with CURL, Postman and Chrome ( on Get )

ANy ideas

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events