[squid-users] TCP_MISS_ABORTED/502

Amos Jeffries squid3 at treenet.co.nz
Fri Jul 12 14:22:25 UTC 2024


On 13/07/24 01:52, Alex Rousskov wrote:
> On 2024-07-12 08:06, Ben Toms wrote:
>> Seems that my issue is similar to - 
>> https://serverfault.com/questions/1104330/squid-cache-items-behind-basic-authentication 
> 
> You are facing up to two problems:
> 
> 1. Some authenticated responses are not cachable by Squid. Please share 
> HTTP headers of the response in question.
> 

FYI, those can be obtained by configuring squid.conf with

   debug_options 11,2


Cheers
Amos


> 2. TCP_MISS_ABORTED/502 errors may delete a being-cached response. These 
> can be bogus errors (essentially Squid logging bugs) or real ones (e.g., 
> due to communication bugs, misconfiguration, or compatibility problems). 
> I recommend adding %err_code/%err_detail to your logformat and sharing 
> the corresponding access.log lines (obfuscated as needed).
> 
> Sharing (privately if needed) a pointer to compressed ALL,9 cache.log 
> while reproducing the issue using a single transaction may help us 
> resolve all the unknowns:
> 
> https://wiki.squid-cache.org/SquidFaq/BugReporting#debugging-a-single-transaction
> 
> 
> HTH,
> 
> Alex.
> 
> 




More information about the squid-users mailing list