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

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon May 10 17:06:27 UTC 2021


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%7Cdc69a637d58a4576c96408d9138f29c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637562327862884909%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2FQkaYj8Qg3zlUkUo6DEVUGnWIyr2ztSC0p0kmqcOcD8%3D&reserved=0
>
>the wireshark details don't show any message from squid. Maybe there is
>none.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
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.


More information about the squid-users mailing list