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

Aniruddha Gore agnrie at hotmail.com
Mon May 10 17:43:46 UTC 2021


My bad, here is cache.log lines from that same day:

2021/05/07 02:50:34 kid1| Set Current Directory to /var/cache/squid
2021/05/07 02:50:34 kid1| Starting Squid Cache version 3.5.28 for x86_64-unknown-cygwin...
2021/05/07 02:50:34 kid1| Service Name: squid
2021/05/07 02:50:34 kid1| Process ID 5300
2021/05/07 02:50:34 kid1| Process Roles: worker
2021/05/07 02:50:34 kid1| With 3200 file descriptors available
2021/05/07 02:50:34 kid1| Initializing IP Cache...
2021/05/07 02:50:34 kid1| parseEtcHosts: /etc/hosts: (2) No such file or directory
2021/05/07 02:50:34 kid1| DNS Socket created at [::], FD 5
2021/05/07 02:50:34 kid1| DNS Socket created at 0.0.0.0, FD 6
2021/05/07 02:50:34 kid1| Adding nameserver 8.8.8.8 from squid.conf
2021/05/07 02:50:34 kid1| Adding nameserver 208.67.222.222 from squid.conf
2021/05/07 02:50:35 kid1| Logfile: opening log daemon:/var/log/squid/access.log
2021/05/07 02:50:35 kid1| Logfile Daemon: opening log /var/log/squid/access.log
2021/05/07 02:50:35 kid1| WARNING: no_suid: setuid(0): (22) Invalid argument
2021/05/07 02:50:35 kid1| Store logging disabled
2021/05/07 02:50:35 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2021/05/07 02:50:35 kid1| Target number of buckets: 1008
2021/05/07 02:50:35 kid1| Using 8192 Store buckets
2021/05/07 02:50:35 kid1| Max Mem  size: 262144 KB
2021/05/07 02:50:35 kid1| Max Swap size: 0 KB
2021/05/07 02:50:35 kid1| Using Least Load store dir selection
2021/05/07 02:50:35 kid1| Set Current Directory to /var/cache/squid
2021/05/07 02:50:35 kid1| Finished loading MIME types and icons.
2021/05/07 02:50:35 kid1| HTCP Disabled.
2021/05/07 02:50:35 kid1| Squid plugin modules loaded: 0
2021/05/07 02:50:35 kid1| Adaptation support is off.
2021/05/07 02:50:35 kid1| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 10 flags=9
2021/05/07 02:50:36 kid1| storeLateRelease: released 0 objects
2021/05/07 10:24:37 kid1| Set Current Directory to /var/cache/squid
2021/05/07 10:24:37 kid1| Starting Squid Cache version 3.5.28 for x86_64-unknown-cygwin...
2021/05/07 10:24:37 kid1| Service Name: squid
2021/05/07 10:24:37 kid1| Process ID 25760
2021/05/07 10:24:37 kid1| Process Roles: worker
2021/05/07 10:24:37 kid1| With 3200 file descriptors available
2021/05/07 10:24:37 kid1| Initializing IP Cache...
2021/05/07 10:24:37 kid1| parseEtcHosts: /etc/hosts: (2) No such file or directory
2021/05/07 10:24:37 kid1| DNS Socket created at [::], FD 5
2021/05/07 10:24:37 kid1| DNS Socket created at 0.0.0.0, FD 6
2021/05/07 10:24:37 kid1| Adding nameserver 8.8.8.8 from squid.conf
2021/05/07 10:24:37 kid1| Adding nameserver 208.67.222.222 from squid.conf
2021/05/07 10:24:38 kid1| Logfile: opening log daemon:/var/log/squid/access.log
2021/05/07 10:24:38 kid1| Logfile Daemon: opening log /var/log/squid/access.log
2021/05/07 10:24:38 kid1| WARNING: no_suid: setuid(0): (22) Invalid argument
2021/05/07 10:24:38 kid1| Store logging disabled
2021/05/07 10:24:38 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2021/05/07 10:24:38 kid1| Target number of buckets: 1008
2021/05/07 10:24:38 kid1| Using 8192 Store buckets
2021/05/07 10:24:38 kid1| Max Mem  size: 262144 KB
2021/05/07 10:24:38 kid1| Max Swap size: 0 KB
2021/05/07 10:24:38 kid1| Using Least Load store dir selection
2021/05/07 10:24:38 kid1| Set Current Directory to /var/cache/squid
2021/05/07 10:24:38 kid1| Finished loading MIME types and icons.
2021/05/07 10:24:38 kid1| HTCP Disabled.
2021/05/07 10:24:38 kid1| Squid plugin modules loaded: 0
2021/05/07 10:24:38 kid1| Adaptation support is off.
2021/05/07 10:24:38 kid1| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 10 flags=9
2021/05/07 10:24:39 kid1| storeLateRelease: released 0 objects
2021/05/07 10:26:22 kid1| Set Current Directory to /var/cache/squid
2021/05/07 10:26:22 kid1| Starting Squid Cache version 3.5.28 for x86_64-unknown-cygwin...
2021/05/07 10:26:22 kid1| Service Name: squid
2021/05/07 10:26:22 kid1| Process ID 16944
2021/05/07 10:26:22 kid1| Process Roles: worker
2021/05/07 10:26:22 kid1| With 3200 file descriptors available
2021/05/07 10:26:22 kid1| Initializing IP Cache...
2021/05/07 10:26:22 kid1| parseEtcHosts: /etc/hosts: (2) No such file or directory
2021/05/07 10:26:22 kid1| DNS Socket created at [::], FD 5
2021/05/07 10:26:22 kid1| DNS Socket created at 0.0.0.0, FD 6
2021/05/07 10:26:22 kid1| Adding nameserver 8.8.8.8 from squid.conf
2021/05/07 10:26:22 kid1| Adding nameserver 208.67.222.222 from squid.conf
2021/05/07 10:26:22 kid1| Logfile: opening log daemon:/var/log/squid/access.log
2021/05/07 10:26:22 kid1| Logfile Daemon: opening log /var/log/squid/access.log
2021/05/07 10:26:22 kid1| WARNING: no_suid: setuid(0): (22) Invalid argument
2021/05/07 10:26:22 kid1| Store logging disabled
2021/05/07 10:26:22 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2021/05/07 10:26:22 kid1| Target number of buckets: 1008
2021/05/07 10:26:22 kid1| Using 8192 Store buckets
2021/05/07 10:26:22 kid1| Max Mem  size: 262144 KB
2021/05/07 10:26:22 kid1| Max Swap size: 0 KB
2021/05/07 10:26:22 kid1| Using Least Load store dir selection
2021/05/07 10:26:22 kid1| Set Current Directory to /var/cache/squid
2021/05/07 10:26:22 kid1| Finished loading MIME types and icons.
2021/05/07 10:26:22 kid1| HTCP Disabled.
2021/05/07 10:26:22 kid1| Squid plugin modules loaded: 0
2021/05/07 10:26:22 kid1| Adaptation support is off.
2021/05/07 10:26:22 kid1| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 10 flags=9
2021/05/07 10:26:23 kid1| storeLateRelease: released 0 objects
2021/05/07 10:31:27 kid1| Set Current Directory to /var/cache/squid
2021/05/07 10:31:27 kid1| Starting Squid Cache version 3.5.28 for x86_64-unknown-cygwin...
2021/05/07 10:31:27 kid1| Service Name: squid
2021/05/07 10:31:27 kid1| Process ID 25116
2021/05/07 10:31:27 kid1| Process Roles: worker
2021/05/07 10:31:27 kid1| With 3200 file descriptors available
2021/05/07 10:31:27 kid1| Initializing IP Cache...
2021/05/07 10:31:27 kid1| parseEtcHosts: /etc/hosts: (2) No such file or directory
2021/05/07 10:31:27 kid1| DNS Socket created at [::], FD 5
2021/05/07 10:31:27 kid1| DNS Socket created at 0.0.0.0, FD 6
2021/05/07 10:31:27 kid1| Adding nameserver 8.8.8.8 from squid.conf
2021/05/07 10:31:27 kid1| Adding nameserver 208.67.222.222 from squid.conf
2021/05/07 10:31:27 kid1| Logfile: opening log daemon:/var/log/squid/access.log
2021/05/07 10:31:27 kid1| Logfile Daemon: opening log /var/log/squid/access.log
2021/05/07 10:31:27 kid1| WARNING: no_suid: setuid(0): (22) Invalid argument
2021/05/07 10:31:27 kid1| Store logging disabled
2021/05/07 10:31:27 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2021/05/07 10:31:27 kid1| Target number of buckets: 1008
2021/05/07 10:31:27 kid1| Using 8192 Store buckets
2021/05/07 10:31:27 kid1| Max Mem  size: 262144 KB
2021/05/07 10:31:27 kid1| Max Swap size: 0 KB
2021/05/07 10:31:27 kid1| Using Least Load store dir selection
2021/05/07 10:31:27 kid1| Set Current Directory to /var/cache/squid
2021/05/07 10:31:27 kid1| Finished loading MIME types and icons.
2021/05/07 10:31:27 kid1| HTCP Disabled.
2021/05/07 10:31:27 kid1| Squid plugin modules loaded: 0
2021/05/07 10:31:27 kid1| Adaptation support is off.
2021/05/07 10:31:27 kid1| Accepting HTTP Socket connections at local=192.168.1.10:3128 remote=[::] FD 10 flags=9
2021/05/07 10:31:28 kid1| storeLateRelease: released 0 objects
2021/05/07 10:35:43 kid1| Set Current Directory to /var/cache/squid
2021/05/07 10:35:43 kid1| Starting Squid Cache version 3.5.28 for x86_64-unknown-cygwin...
2021/05/07 10:35:43 kid1| Service Name: squid
2021/05/07 10:35:43 kid1| Process ID 27908
2021/05/07 10:35:43 kid1| Process Roles: worker
2021/05/07 10:35:43 kid1| With 3200 file descriptors available
2021/05/07 10:35:43 kid1| Initializing IP Cache...
2021/05/07 10:35:43 kid1| parseEtcHosts: /etc/hosts: (2) No such file or directory
2021/05/07 10:35:43 kid1| DNS Socket created at [::], FD 5
2021/05/07 10:35:43 kid1| DNS Socket created at 0.0.0.0, FD 6
2021/05/07 10:35:43 kid1| Adding nameserver 8.8.8.8 from squid.conf
2021/05/07 10:35:43 kid1| Adding nameserver 208.67.222.222 from squid.conf
2021/05/07 10:35:43 kid1| Logfile: opening log daemon:/var/log/squid/access.log
2021/05/07 10:35:43 kid1| Logfile Daemon: opening log /var/log/squid/access.log
2021/05/07 10:35:43 kid1| WARNING: no_suid: setuid(0): (22) Invalid argument
2021/05/07 10:35:43 kid1| Store logging disabled
2021/05/07 10:35:43 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2021/05/07 10:35:43 kid1| Target number of buckets: 1008
2021/05/07 10:35:43 kid1| Using 8192 Store buckets
2021/05/07 10:35:43 kid1| Max Mem  size: 262144 KB
2021/05/07 10:35:43 kid1| Max Swap size: 0 KB
2021/05/07 10:35:43 kid1| Using Least Load store dir selection
2021/05/07 10:35:43 kid1| Set Current Directory to /var/cache/squid
2021/05/07 10:35:43 kid1| Finished loading MIME types and icons.
2021/05/07 10:35:43 kid1| HTCP Disabled.
2021/05/07 10:35:43 kid1| Squid plugin modules loaded: 0
2021/05/07 10:35:43 kid1| Adaptation support is off.
2021/05/07 10:35:43 kid1| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 10 flags=9
2021/05/07 10:35:44 kid1| storeLateRelease: released 0 objects

Aniruddha Gore
Sent from Outlook.com<http://www.microsoft.com/en-us/outlook-com/compare/>
________________________________
From: squid-users <squid-users-bounces at lists.squid-cache.org> on behalf of Matus UHLAR - fantomas <uhlar at fantomas.sk>
Sent: Monday, May 10, 2021 10:06 AM
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 10.05.21 16:31, Aniruddha Gore wrote:
>Matus, I see multiple lines like the following in access.log:
>
>1620413633.857  42280 <source ip address> TAG_NONE/500 0 CONNECT <uri>:443 - HIER_DIRECT/13.107.246.70 -

>There is no other information in those logs.

cache.log is different logfile, I have asked for that one.
I hope windows version of squid doesn't send cache log to system event log.

>On 10.05.21 07:52, Aniruddha Gore wrote:
>>Any help I could use?  :) The gist is: I have squid running on machine A,
>> and an app on machine B.  The app sets proxy (A's ip address and squid
>> port #) when making HTTP requests but the requests are failing.
>
>>When I run Squid on the same machine where my application is running it
>> works fine, but when I run Squid with the same exact default config on a
>> different machine it doesn't.  I supply other machine's IP address and
>> port (3128) on command line to my app, and it simply takes it and sets web
>> proxy property on CPPRest SDK's http_config object.
>
>>The access.log file has many lines like the following:
>>1620409014.520  42289 <ip adress> TAG_NONE/500 0 CONNECT <uri>:443 - HIER_DIRECT/13.107.246.70 -
>
>looks like the application correctly asks SQUID for CONNECT but something
>happens after that.
>Is there anything in cache.log for that time?
>
>>When capturing network calls via Wireshark (on this other machine where
>> Squid is running), the CONNECT call succeeds but the following TCP call
>> seems to fail with a RESET status (Wireshark is highlighting it in
>> Yellow).  Here's the frame if I am doing it right:
>
>well, the CONNECT is send, but later squid replies with 500 internal error
>
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.squid-cache.org%2FSquidFaq%2FSquidLogs%23Squid_result_codes&data=04%7C01%7C%7Cba2a4006c18e4ff3723108d913d5f7f2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637562631981471410%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2BIItkpb8W05X87re%2FzVJkidwwbVILzFlVydt7P4Z%2BiA%3D&reserved=0
>
>the wireshark details don't show any message from squid. Maybe there is
>none.

--
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%7Cba2a4006c18e4ff3723108d913d5f7f2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637562631981471410%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JG0lcXKvmSB1efOI%2Fj6393lZmzHMDjDLrFhg0xTkQyo%3D&reserved=0
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam is for losers who can't get business any other way.
_______________________________________________
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%7Cba2a4006c18e4ff3723108d913d5f7f2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637562631981471410%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=SuahHW%2F%2FWnWzyk4JdgByQrnaECwTkfcHLKCctlaHyP0%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210510/d76469fc/attachment-0001.htm>


More information about the squid-users mailing list