[squid-users] squidclient -h 127.0.0.1 -p 3128 mgr:info shows access denined

Alex Rousskov rousskov at measurement-factory.com
Sat Apr 6 19:22:10 UTC 2024


On 2024-04-06 01:40, Jonathan Lee wrote:
> Can you please help I moved from 5.8 to 6.6 I am getting access denied for mgr info.

> Http manager is built in now right?

Yes, it is and it was. No changes there.


> I can access it from the loopback


Currently, you may need to figure out what hostname Squid considers to 
self-identify as and use that hostname in cache manager requests. The 
following bug report may help, but there are several overlapping 
problems here, and that makes it difficult to triage without more 
information: https://bugs.squid-cache.org/show_bug.cgi?id=5283

I second Francesco's suggestion for sharing more information (privately 
if needed). A pointer to compressed ALL,9 cache.log for the problematic 
transaction would be best IMO[1], but you can start with sharing the 
output of your squidclient command with "-v" option added, your 
http_port configuration for port(s) 3128, and your visible_hostname 
setting in squid.conf (if any).


HTH,

Alex.

[1]: 
https://wiki.squid-cache.org/SquidFaq/BugReporting#debugging-a-single-transaction



More information about the squid-users mailing list