[squid-users] HTTPS request times out going through Squid proxy

Aniruddha Gore agnrie at hotmail.com
Fri May 7 06:52:20 UTC 2021


Thanks Matus for responding 🙂

Following is what the relevant line in squid.conf:

# Squid normally listens to port 3128
http_port 3128

I suspect you might be pointing out that there is no https_port configured. While I was adding https_port, I noticed no process is listening on port 3128 (doesn't appear in output of netstat -aon on Windows). So now the calls are failing with "WinHttpSendRequest: 12029: A connection with the server could not be established" 😕

________________________________
From: squid-users <squid-users-bounces at lists.squid-cache.org> on behalf of Matus UHLAR - fantomas <uhlar at fantomas.sk>
Sent: Wednesday, May 5, 2021 11:12 PM
To: squid-users at lists.squid-cache.org <squid-users at lists.squid-cache.org>
Subject: Re: [squid-users] HTTPS request times out going through Squid proxy

On 06.05.21 01:06, Aniruddha Gore wrote:
> Pinging back hoping to get some help.  I suspect I am missing something
> very basic and would really appreciate if someone could point me in the
> right direction.  :)

Hello,

I haven't seen your packet trace but so far it shouldn't be needed.

> Context I have an application running on a machine (A) that does not have
> internet connectivity.  It, however, can talk to another machine (B) which
> has full connectivity.  The application makes HTTPS calls.  I am hoping to
> set-up Squid on B and set-up web proxy (ip address and port) when making
> HTTPS calls in the app.

have you set up your squid host:port as HTTP proxy in the application?
Can you see anything in squid logs?

> I have installed Squid for
> Windows<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsquid.diladele.com%2F&data=04%7C01%7C%7Ceb0f33fc98ae42629d1e08d91055edbb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637558783534261214%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iT5UB59%2BSbNulVVbsgRSh81lxp0lMkSeBv%2Fmj5y1CVE%3D&reserved=0>
> on B with default squid config.
>
>
> Problem HTTPS requests are timing out.
>
>
> I am new to proxy so don't know lot of ways to investigate further.  This
> is what Wireshark captured running on B.  Unfortunately, I am unable to
> gather any actionable info from this, it just confirms that calls do make
> it to B and then something wrong happens.

--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.fantomas.sk%2F&data=04%7C01%7C%7Ceb0f33fc98ae42629d1e08d91055edbb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637558783534261214%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=7xYKgDqzMX9kAzjQcbsiJQKxMXb6hPkaGHnmX8n%2Bx9I%3D&reserved=0
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
   One OS to rule them all, One OS to find them,
One OS to bring them all and into darkness bind them
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.squid-cache.org%2Flistinfo%2Fsquid-users&data=04%7C01%7C%7Ceb0f33fc98ae42629d1e08d91055edbb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637558783534261214%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=OTA2tTiE3lIg%2FVwI8sGgIExaLnHOBOF4%2FZn1eyWfTCo%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210507/7e458db3/attachment.htm>


More information about the squid-users mailing list