Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Send Web Request Error 500

SGC Associates Ltd
Contributor
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
Contributor
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

SGC Associates Ltd
Contributor
December 28, 2024

I believe the issue is with the Squid cache software that Jira Atlassian uses. The reason I think this is because;

CURL and Postman work without issue

If I try the https SEND WEB REQUEST I get a 500 error ( Not from Flask )

If I change that to HTTP, then save I get the same error ( but 502 and with a Squid error )

Which says to me the fault is with Jira/Atlassian

( Squid is doing something funky as middleware )

Unfortunately, Only Atlassian can supply a solution to this issue

How do I contact them directly ?

Like Humashankar VJ likes this
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 30, 2024

@SGC Associates Ltd 

You can reach out Atlassian with the help of this - Atlassian Support

Regards

SGC Associates Ltd
Contributor
December 30, 2024

Unfortunately they wont support the issue unless I upgrade and pay fully for the product.

I am not going to do that as it doesnt work

Catch 22 really, Dont mind paying for it, but only if it works, and it doesnt at the moment

If someone ( on a paid plan ) wants to raise the issue that would be great

I will have no problems paying for the product if it works

Many Thanks

 

Suggest an answer

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

Atlassian Community Events