Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Jira Automation sending POST request to python script

When I send a post request to python using Jira automation "SEND Web Request: POST" I got the below error.

Server: squid

Mime-Version: 1.0

Date: Fri, 22 Sep 2023 20:06:16 GMT

Content-Type: text/html;charset=utf-8

Content-Length: 3114

X-Squid-Error: ERR_ACCESS_DENIED 0

Vary: Accept-Language

Content-Language: en

X-Cache: MISS from ip-10-125-126-94.net.atlassian.com

Via: 1.1 ip-10-125-126-94.net.atlassian.com (squid)

Connection: keep-alive

1 answer

0 votes
Marcus Jones
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.
Sep 22, 2023

The solution is to add the port 5000 in /etc/squid/squid.conf :

acl SSL_ports port 443 563 5000

However, adding to the SSL_Port section is OK, but it means everyone gets access to it.

You can restrict even further, so that only a single IP address, or multiple IP addresses can only access this port! Just in case you don't want the whole network to have access.

Sorry, Marcus. This is my 1st time developing an API program. Please elaborate on how we need to configure /etc/squid/squid.conf. My code is my local machine (Windows), and I exposed my local host online using the Flask library. I want to send the post request to my local dev env. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events