Thanks Sent from my iPhone > On Jul 10, 2024, at 11:08, Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > > On 2024-07-10 12:55, Jonathan Lee wrote: > >>> Embedding a password in a cache manager command requires providing a >>> username with -U > >> squidclient -w /squid-internal-mgr/info -u admin >> squidclient -w /squid-internal-mgr/info@redacted -u admin >> squidclient -w http://192.168.1.1:3128/squid-internal-mgr/info@redacted -u admin >> squidclient -w http://127.0.0.1:3128/squid-internal-mgr/info@redacted -u admin >> squidclient -w http://127.0.0.1:3128/squid-internal-mgr/info >> squidclient http://127.0.0.1:3128/squid-internal-mgr/info >> squidclient -h 127.0.0.1:3128/squid-internal-mgr/info >> squidclient -h 127.0.0.1 /squid-internal-mgr/info >> squidclient -h 127.0.0.1 /squid-internal-mgr/info@redcated >> squidclient -w 127.0.0.1 /squid-internal-mgr/info@redacted >> squidclient -w 127.0.0.1 /squid-internal-mgr/info@redcated -u admin >> squidclient -h 192.168.1.1:3128 /squid-internal-mgr/info@redacted >> squidclient -h 192.168.1.1 /squid-internal-mgr/info@redacted >> squidclient -h 192.168.1.1 /squid-internal-mgr/info >> with -w -u -h http spaces I can’t get it to show me stats >> Squid 6.6 > > I do not know whether this mistake is relevant, but squidclient documentation and error message imply that you should be using "-U" (capital letter U) while you are using "-u" (small letter u). > > FWIW, I recommend using curl instead of deprecated squidclient. If nothing else, you would be dealing with a well-known tool with extensive documentation and wide-spread knowledge that will continue to work when you upgrade to Squid v7. Using curl is not going to solve Squid Bug 5283 and similar Squid-specific problems[1], but it may reduce the number of "external" problems you have to deal with (e.g., guessing what squidclient command line options actually do). > > [1]: https://bugs.squid-cache.org/show_bug.cgi?id=5283 > > > HTH, > > Alex. > _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx https://lists.squid-cache.org/listinfo/squid-users