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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.