<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Matus, thanks a ton for your responses. I removed https_port and things started working again. Unfortunately, I am not sure what I was doing wrong before adding https_port. Well, it works now
<span id="🙂">🙂</span></div>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> squid-users <squid-users-bounces@lists.squid-cache.org> on behalf of Matus UHLAR - fantomas <uhlar@fantomas.sk><br>
<b>Sent:</b> Friday, May 7, 2021 12:16 AM<br>
<b>To:</b> squid-users@lists.squid-cache.org <squid-users@lists.squid-cache.org><br>
<b>Subject:</b> Re: [squid-users] HTTPS request times out going through Squid proxy</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 07.05.21 06:52, Aniruddha Gore wrote:<br>
>Thanks Matus for responding 🙂<br>
<br>
no need for private copy, mailing list is enough.<br>
<br>
>Following is what the relevant line in squid.conf:<br>
><br>
># Squid normally listens to port 3128<br>
>http_port 3128<br>
><br>
>I suspect you might be pointing out that there is no https_port configured. <br>
<br>
no. https_port is used for reverse proxying, not for forward proxying of<br>
HTTPS requests.<br>
<br>
> While I was adding https_port, I noticed no process is listening on port<br>
> 3128 (doesn't appear in output of netstat -aon on Windows). So now the<br>
> calls are failing with "WinHttpSendRequest: 12029: A connection with the<br>
> server could not be established" 😕<br>
<br>
>have you set up your squid host:port as HTTP proxy in the application?<br>
- means: have you set up the applictaion to use HTTP proxy?<br>
<br>
>Can you see anything in squid logs?<br>
- what is in squid logs?<br>
<br>
<br>
>From: squid-users <squid-users-bounces@lists.squid-cache.org> on behalf of Matus UHLAR - fantomas <uhlar@fantomas.sk><br>
<br>
>On 06.05.21 01:06, Aniruddha Gore wrote:<br>
>> Pinging back hoping to get some help. I suspect I am missing something<br>
>> very basic and would really appreciate if someone could point me in the<br>
>> right direction. :)<br>
<br>
>I haven't seen your packet trace but so far it shouldn't be needed.<br>
><br>
>> Context I have an application running on a machine (A) that does not have<br>
>> internet connectivity. It, however, can talk to another machine (B) which<br>
>> has full connectivity. The application makes HTTPS calls. I am hoping to<br>
>> set-up Squid on B and set-up web proxy (ip address and port) when making<br>
>> HTTPS calls in the app.<br>
><br>
><br>
>> I have installed Squid for<br>
>> Windows<<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsquid.diladele.com%2F&data=04%7C01%7C%7C4d7fbe73b6a54cb719d908d911281327%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559686103881002%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hWCJM%2F3qqUc8Bz1%2BXup9cuVgJuX1ebIOi0i0tEBCUHU%3D&reserved=0">https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsquid.diladele.com%2F&data=04%7C01%7C%7C4d7fbe73b6a54cb719d908d911281327%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559686103881002%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hWCJM%2F3qqUc8Bz1%2BXup9cuVgJuX1ebIOi0i0tEBCUHU%3D&reserved=0</a>><br>
>> on B with default squid config.<br>
>><br>
>><br>
>> Problem HTTPS requests are timing out.<br>
>><br>
>><br>
>> I am new to proxy so don't know lot of ways to investigate further. This<br>
>> is what Wireshark captured running on B. Unfortunately, I am unable to<br>
>> gather any actionable info from this, it just confirms that calls do make<br>
>> it to B and then something wrong happens.<br>
<br>
<br>
-- <br>
Matus UHLAR - fantomas, uhlar@fantomas.sk ; <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.fantomas.sk%2F&data=04%7C01%7C%7C4d7fbe73b6a54cb719d908d911281327%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559686103881002%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=qC21DM3hdaq8G7RL31UzChySvc4zp47nTDEZKyRLzvg%3D&reserved=0">
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.fantomas.sk%2F&data=04%7C01%7C%7C4d7fbe73b6a54cb719d908d911281327%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559686103881002%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=qC21DM3hdaq8G7RL31UzChySvc4zp47nTDEZKyRLzvg%3D&reserved=0</a><br>
Warning: I wish NOT to receive e-mail advertising to this address.<br>
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.<br>
Spam = (S)tupid (P)eople's (A)dvertising (M)ethod<br>
_______________________________________________<br>
squid-users mailing list<br>
squid-users@lists.squid-cache.org<br>
<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.squid-cache.org%2Flistinfo%2Fsquid-users&data=04%7C01%7C%7C4d7fbe73b6a54cb719d908d911281327%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559686103881002%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aiHtVTBCRrd2X4OMofMnANin%2BXJa%2FkCTraf3VHa3ou0%3D&reserved=0">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.squid-cache.org%2Flistinfo%2Fsquid-users&data=04%7C01%7C%7C4d7fbe73b6a54cb719d908d911281327%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559686103881002%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aiHtVTBCRrd2X4OMofMnANin%2BXJa%2FkCTraf3VHa3ou0%3D&reserved=0</a><br>
</div>
</span></font></div>
</body>
</html>