<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><p dir="auto" style="box-sizing: border-box; margin-top: 0px; margin-bottom: var(--base-size-16); caret-color: rgb(31, 35, 40); color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px;">The directive<br style="box-sizing: border-box;">cachemgr_passwd</p><p dir="auto" style="box-sizing: border-box; margin-top: 0px; caret-color: rgb(31, 35, 40); color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px; margin-bottom: 0px !important;">does not allow the ability to add a username right?</p><p dir="auto" style="box-sizing: border-box; margin-top: 0px; caret-color: rgb(31, 35, 40); color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px; margin-bottom: 0px !important;"><br></p><p dir="auto" style="box-sizing: border-box; margin-top: 0px; caret-color: rgb(31, 35, 40); color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px; margin-bottom: 0px !important;"><br></p><div><br><blockquote type="cite"><div>On Aug 1, 2024, at 12:30, Jonathan Lee <jonathanlee571@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><table class="diff-table js-diff-table tab-size" data-tab-size="4" data-diff-anchor="diff-5704f5641bd5fb953fa9aefead3033fc9145ea0524d6dbd895c775948bfb01cb" data-paste-markdown-skip="" style="font-variant-caps: normal; border-spacing: 0px; width: 898px; tab-size: 4; caret-color: rgb(31, 35, 40); color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px;"><tbody style="box-sizing: border-box;"><tr data-hunk="bbdbb6fe9fe239e71cc89ee5f7876035aeceb9b525d2074c1a88df61415ec1a6" class="show-top-border" style="box-sizing: border-box;"><td class="blob-code blob-code-context js-file-line" style="box-sizing: border-box; padding: 0px 10px 0px 22px; position: relative; line-height: 20px; vertical-align: top;"><span class="blob-code-inner blob-code-marker js-code-nav-pass" data-code-marker=" " style="box-sizing: border-box; display: table-cell; overflow: visible; font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap;">          client << <span class="pl-s" style="box-sizing: border-box;"><span class="pl-pds" style="box-sizing: border-box;">"</span> requesting '<span class="pl-pds" style="box-sizing: border-box;">"</span></span> <<</span></td></tr><tr data-hunk="bbdbb6fe9fe239e71cc89ee5f7876035aeceb9b525d2074c1a88df61415ec1a6" class="show-top-border" style="box-sizing: border-box;"><td class="blob-code blob-code-context js-file-line" style="box-sizing: border-box; padding: 0px 10px 0px 22px; position: relative; line-height: 20px; vertical-align: top;"><button data-path="src/cache_manager.cc" data-anchor="diff-5704f5641bd5fb953fa9aefead3033fc9145ea0524d6dbd895c775948bfb01cb" data-position="26" data-side="right" data-line="374" data-original-line="            actionName << "'" );" aria-label="Add line comment" type="button" data-view-component="true" class="add-line-comment js-add-line-comment js-add-single-line-comment btn-link" style="font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: 21px; font-family: inherit; font-size-adjust: inherit; font-kerning: inherit; font-variant-alternates: inherit; font-variant-ligatures: inherit; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-position: inherit; font-feature-settings: inherit; font-optical-sizing: inherit; font-variation-settings: inherit; margin: -2px -10px -2px -32px; overflow: visible; appearance: button; cursor: pointer; border-radius: var(--borderRadius-small); padding: 0px; color: rgb(31, 35, 40); white-space: nowrap; -webkit-user-select: none; background-color: var(--bgColor-accent-emphasis, var(--color-accent-emphasis)); border-width: 0px; border-style: none; border-color: currentcolor; position: relative; z-index: 1; float: left; width: 22px; height: 22px; box-shadow: var(--shadow-resting-medium, var(--color-shadow-medium)); opacity: 0; transition: transform 0.1s ease-in-out 0s; transform: scale(0.8, 0.8);"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus"></svg></button><span class="blob-code-inner blob-code-marker js-code-nav-pass" data-code-marker=" " style="box-sizing: border-box; display: table-cell; overflow: visible; font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap;">           actionName << <span class="pl-s" style="box-sizing: border-box;"><span class="pl-pds" style="box-sizing: border-box;">"</span>'<span class="pl-pds" style="box-sizing: border-box;">"</span></span> );</span></td></tr><tr data-hunk="bbdbb6fe9fe239e71cc89ee5f7876035aeceb9b525d2074c1a88df61415ec1a6" class="show-top-border" style="box-sizing: border-box;"><td class="blob-code blob-code-context js-file-line" style="box-sizing: border-box; padding: 0px 10px 0px 22px; position: relative; line-height: 20px; vertical-align: top;"><button data-path="src/cache_manager.cc" data-anchor="diff-5704f5641bd5fb953fa9aefead3033fc9145ea0524d6dbd895c775948bfb01cb" data-position="27" data-side="right" data-line="375" data-original-line=" " aria-label="Add line comment" type="button" data-view-component="true" class="add-line-comment js-add-line-comment js-add-single-line-comment btn-link" style="font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: 21px; font-family: inherit; font-size-adjust: inherit; font-kerning: inherit; font-variant-alternates: inherit; font-variant-ligatures: inherit; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-position: inherit; font-feature-settings: inherit; font-optical-sizing: inherit; font-variation-settings: inherit; margin: -2px -10px -2px -32px; overflow: visible; appearance: button; cursor: pointer; border-radius: var(--borderRadius-small); padding: 0px; color: rgb(31, 35, 40); white-space: nowrap; -webkit-user-select: none; background-color: var(--bgColor-accent-emphasis, var(--color-accent-emphasis)); border-width: 0px; border-style: none; border-color: currentcolor; position: relative; z-index: 1; float: left; width: 22px; height: 22px; box-shadow: var(--shadow-resting-medium, var(--color-shadow-medium)); opacity: 0; transition: transform 0.1s ease-in-out 0s; transform: scale(0.8, 0.8);"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus"></svg></button><span class="blob-code-inner blob-code-marker js-code-nav-pass" data-code-marker=" " style="box-sizing: border-box; display: table-cell; overflow: visible; font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap;"><br style="box-sizing: border-box;"></span></td></tr><tr data-hunk="bbdbb6fe9fe239e71cc89ee5f7876035aeceb9b525d2074c1a88df61415ec1a6" class="show-top-border" style="box-sizing: border-box;"><td class="blob-code blob-code-deletion js-file-line is-hovered" style="box-sizing: border-box; padding: 0px 10px 0px 22px; position: relative; line-height: 20px; vertical-align: top; outline: transparent dashed 1px;"><button data-path="src/cache_manager.cc" data-anchor="diff-5704f5641bd5fb953fa9aefead3033fc9145ea0524d6dbd895c775948bfb01cb" data-position="28" data-side="left" data-line="370" data-original-line="-    // special case: /squid-internal-mgr/ index page" aria-label="Add line comment" type="button" data-view-component="true" class="add-line-comment js-add-line-comment js-add-single-line-comment btn-link" style="font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: 21px; font-family: inherit; font-size-adjust: inherit; font-kerning: inherit; font-variant-alternates: inherit; font-variant-ligatures: inherit; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-position: inherit; font-feature-settings: inherit; font-optical-sizing: inherit; font-variation-settings: inherit; margin: -2px -10px -2px -32px; overflow: visible; appearance: button; cursor: pointer; border-radius: var(--borderRadius-small); padding: 0px; color: rgb(31, 35, 40); white-space: nowrap; -webkit-user-select: none; background-color: var(--bgColor-accent-emphasis, var(--color-accent-emphasis)); border-width: 0px; border-style: none; border-color: currentcolor; position: relative; z-index: 1; float: left; width: 22px; height: 22px; box-shadow: var(--shadow-resting-medium, var(--color-shadow-medium)); opacity: 1; transition: transform 0.1s ease-in-out 0s; transform: scale(0.8, 0.8);"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus"></svg></button><span class="blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch" data-code-marker="-" style="box-sizing: border-box; display: table-cell; overflow: visible; font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap;">    <span class="pl-c" style="box-sizing: border-box;"><span class="pl-c" style="box-sizing: border-box;">//</span> special case: <span class="x x-first x-last" style="box-sizing: border-box; border-radius: 0.2em;">/squid-internal-mgr/</span> index page</span></span></td></tr><tr data-hunk="bbdbb6fe9fe239e71cc89ee5f7876035aeceb9b525d2074c1a88df61415ec1a6" class="show-top-border" style="box-sizing: border-box;"><td class="blob-code blob-code-addition js-file-line" style="box-sizing: border-box; padding: 0px 10px 0px 22px; position: relative; line-height: 20px; vertical-align: top; outline: transparent dotted 1px;"><button data-path="src/cache_manager.cc" data-anchor="diff-5704f5641bd5fb953fa9aefead3033fc9145ea0524d6dbd895c775948bfb01cb" data-position="29" data-side="right" data-line="376" data-original-line="+    // special case: an index page" aria-label="Add line comment" type="button" data-view-component="true" class="add-line-comment js-add-line-comment js-add-single-line-comment btn-link" style="font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: 21px; font-family: inherit; font-size-adjust: inherit; font-kerning: inherit; font-variant-alternates: inherit; font-variant-ligatures: inherit; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-position: inherit; font-feature-settings: inherit; font-optical-sizing: inherit; font-variation-settings: inherit; margin: -2px -10px -2px -32px; overflow: visible; appearance: button; cursor: pointer; border-radius: var(--borderRadius-small); padding: 0px; color: rgb(31, 35, 40); white-space: nowrap; -webkit-user-select: none; background-color: var(--bgColor-accent-emphasis, var(--color-accent-emphasis)); border-width: 0px; border-style: none; border-color: currentcolor; position: relative; z-index: 1; float: left; width: 22px; height: 22px; box-shadow: var(--shadow-resting-medium, var(--color-shadow-medium)); opacity: 0; transition: transform 0.1s ease-in-out 0s; transform: scale(0.8, 0.8);"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus"></svg></button><span class="blob-code-inner blob-code-marker js-code-nav-pass" data-code-marker="+" style="box-sizing: border-box; display: table-cell; overflow: visible; font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap;">    <span class="pl-c" style="box-sizing: border-box;"><span class="pl-c" style="box-sizing: border-box;">//</span> special case: <span class="x x-first x-last" style="box-sizing: border-box; border-radius: 0.2em;">an</span> index page</span></span></td></tr><tr data-hunk="bbdbb6fe9fe239e71cc89ee5f7876035aeceb9b525d2074c1a88df61415ec1a6" class="show-top-border" style="box-sizing: border-box;"><td class="blob-code blob-code-context js-file-line" style="box-sizing: border-box; padding: 0px 10px 0px 22px; position: relative; line-height: 20px; vertical-align: top;"><button data-path="src/cache_manager.cc" data-anchor="diff-5704f5641bd5fb953fa9aefead3033fc9145ea0524d6dbd895c775948bfb01cb" data-position="30" data-side="right" data-line="377" data-original-line="     if (!strcmp(cmd->profile->name, "index")) {" aria-label="Add line comment" type="button" data-view-component="true" class="add-line-comment js-add-line-comment js-add-single-line-comment btn-link" style="font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: 21px; font-family: inherit; font-size-adjust: inherit; font-kerning: inherit; font-variant-alternates: inherit; font-variant-ligatures: inherit; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-position: inherit; font-feature-settings: inherit; font-optical-sizing: inherit; font-variation-settings: inherit; margin: -2px -10px -2px -32px; overflow: visible; appearance: button; cursor: pointer; border-radius: var(--borderRadius-small); padding: 0px; color: rgb(31, 35, 40); white-space: nowrap; -webkit-user-select: none; background-color: var(--bgColor-accent-emphasis, var(--color-accent-emphasis)); border-width: 0px; border-style: none; border-color: currentcolor; position: relative; z-index: 1; float: left; width: 22px; height: 22px; box-shadow: var(--shadow-resting-medium, var(--color-shadow-medium)); opacity: 0; transition: transform 0.1s ease-in-out 0s; transform: scale(0.8, 0.8);"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus"></svg></button><span class="blob-code-inner blob-code-marker js-code-nav-pass" data-code-marker=" " style="box-sizing: border-box; display: table-cell; overflow: visible; font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap;">    <span class="pl-k" style="box-sizing: border-box;">if</span> (!<span class="pl-c1" style="box-sizing: border-box;">strcmp</span>(cmd-><span class="pl-smi" style="box-sizing: border-box;">profile</span>-><span class="pl-smi" style="box-sizing: border-box;">name</span>, <span class="pl-s" style="box-sizing: border-box;"><span class="pl-pds" style="box-sizing: border-box;">"</span>index<span class="pl-pds" style="box-sizing: border-box;">"</span></span>)) {</span></td></tr><tr data-hunk="bbdbb6fe9fe239e71cc89ee5f7876035aeceb9b525d2074c1a88df61415ec1a6" class="show-top-border" style="box-sizing: border-box;"><td class="blob-code blob-code-context js-file-line" style="box-sizing: border-box; padding: 0px 10px 0px 22px; position: relative; line-height: 20px; vertical-align: top;"><button data-path="src/cache_manager.cc" data-anchor="diff-5704f5641bd5fb953fa9aefead3033fc9145ea0524d6dbd895c775948bfb01cb" data-position="31" data-side="right" data-line="378" data-original-line="         ErrorState err(MGR_INDEX, Http::scOkay, request, ale);" aria-label="Add line comment" type="button" data-view-component="true" class="add-line-comment js-add-line-comment js-add-single-line-comment btn-link" style="font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: 21px; font-family: inherit; font-size-adjust: inherit; font-kerning: inherit; font-variant-alternates: inherit; font-variant-ligatures: inherit; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-position: inherit; font-feature-settings: inherit; font-optical-sizing: inherit; font-variation-settings: inherit; margin: -2px -10px -2px -32px; overflow: visible; appearance: button; cursor: pointer; border-radius: var(--borderRadius-small); padding: 0px; color: rgb(31, 35, 40); white-space: nowrap; -webkit-user-select: none; background-color: var(--bgColor-accent-emphasis, var(--color-accent-emphasis)); border-width: 0px; border-style: none; border-color: currentcolor; position: relative; z-index: 1; float: left; width: 22px; height: 22px; box-shadow: var(--shadow-resting-medium, var(--color-shadow-medium)); opacity: 0; transition: transform 0.1s ease-in-out 0s; transform: scale(0.8, 0.8);"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus"></svg></button><span class="blob-code-inner blob-code-marker js-code-nav-pass" data-code-marker=" " style="box-sizing: border-box; display: table-cell; overflow: visible; font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap;">        ErrorState <span class="pl-smi" style="box-sizing: border-box;">err</span>(MGR_INDEX, Http::scOkay, request, ale);</span></td></tr><tr data-hunk="bbdbb6fe9fe239e71cc89ee5f7876035aeceb9b525d2074c1a88df61415ec1a6" class="show-top-border" style="box-sizing: border-box;"><td class="blob-code blob-code-context js-file-line" style="box-sizing: border-box; padding: 0px 10px 0px 22px; position: relative; line-height: 20px; vertical-align: top;"><button data-path="src/cache_manager.cc" data-anchor="diff-5704f5641bd5fb953fa9aefead3033fc9145ea0524d6dbd895c775948bfb01cb" data-position="32" data-side="right" data-line="379" data-original-line="         err.url = xstrdup(entry->url());" aria-label="Add line comment" type="button" data-view-component="true" class="add-line-comment js-add-line-comment js-add-single-line-comment btn-link" style="font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: 21px; font-family: inherit; font-size-adjust: inherit; font-kerning: inherit; font-variant-alternates: inherit; font-variant-ligatures: inherit; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-position: inherit; font-feature-settings: inherit; font-optical-sizing: inherit; font-variation-settings: inherit; margin: -2px -10px -2px -32px; overflow: visible; appearance: button; cursor: pointer; border-radius: var(--borderRadius-small); padding: 0px; color: rgb(31, 35, 40); white-space: nowrap; -webkit-user-select: none; background-color: var(--bgColor-accent-emphasis, var(--color-accent-emphasis)); border-width: 0px; border-style: none; border-color: currentcolor; position: relative; z-index: 1; float: left; width: 22px; height: 22px; box-shadow: var(--shadow-resting-medium, var(--color-shadow-medium)); opacity: 0; transition: transform 0.1s ease-in-out 0s; transform: scale(0.8, 0.8);"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus"></svg></button><span class="blob-code-inner blob-code-marker js-code-nav-pass" data-code-marker=" " style="box-sizing: border-box; display: table-cell; overflow: visible; font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap;">        err.<span class="pl-smi" style="box-sizing: border-box;">url</span> = <span class="pl-c1" style="box-sizing: border-box;">xstrdup</span>(entry-><span class="pl-c1" style="box-sizing: border-box;">url</span>());<br></span></td></tr></tbody></table><div><br></div><div>it shows squid-internal-mgr was removed and replaced with “an"….</div><div><br><blockquote type="cite"><div>On Jul 24, 2024, at 14:29, Francesco Chemolli <gkinkie@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div>Hi Jonathan,<br>  could you try:<br>curl -u anything:redacted http://localhost:3128/squid-internal-mgr/menu<br><br>?<br><br>On Mon, Jul 22, 2024 at 8:52 PM Jonathan Lee <jonathanlee571@gmail.com> wrote:<br><blockquote type="cite"><br>Also I have tested<br><br>curl 127.0.0.1:3128/squid-internal-mgr -u :redacted<br>curl localhost:3128/squid-internal-mgr -u :redacted<br>curl hostname_here:3128/squid-internal-mgr -u :redacted (per bug notes use hostname in place of localhost)<br><br>and testing with no password same commands lock up the system with no response and if I do them outside of the host with a web browser I get the errors below seen they are new..<br><br>HTTP/1.1 Expect: feature is being asked from an HTTP/1.0 software.<br><br><br><br><br><br>On Jul 22, 2024, at 09:01, Jonathan Lee <jonathanlee571@gmail.com> wrote:<br><br>Thanks for the info<br><br>I tried it and this also failed. Dang<br><br>Shell Output - curl localhost:3128/squid-internal-mgr/info -u :redacted<br><br>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current<br>                                 Dload  Upload   Total   Spent    Left  Speed<br><br>  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0<br>100  3773  100  3773    0     0  90756      0 --:--:-- --:--:-- --:--:-- 94325<br><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><br><html><head><br><meta type="copyright" content="Copyright (C) 1996-2023 The Squid Software Foundation and contributors"><br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><br><title>ERROR: The requested URL could not be retrieved</title><br><style type="text/css"><!--<br> /*<br> * Copyright (C) 1996-2023 The Squid Software Foundation and contributors<br> *<br> * Squid software is distributed under GPLv2+ license and includes<br> * contributions from numerous individuals and organizations.<br> * Please see the COPYING and CONTRIBUTORS files for details.<br> */<br><br>/*<br> Stylesheet for Squid Error pages<br> Adapted from design by Free CSS Templates<br> http://www.freecsstemplates.org<br> Released for free under a Creative Commons Attribution 2.5 License<br>*/<br><br>However I get a new error when attempting to connect over a web browser<br><br>ERROR<br><br>The requested URL could not be retrieved<br><br>________________________________<br><br>Invalid Request error was encountered while trying to process the request:<br><br>GET /squid-internal-mgr HTTP/1.1<br>Host: lee_family.home.arpa:3128<br>Upgrade-Insecure-Requests: 1<br>Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br>User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15<br>Accept-Language: en-US,en;q=0.9<br>Accept-Encoding: gzip, deflate<br>Connection: keep-alive<br>DNT: 1<br><br>Some possible problems are:<br><br>Request is too large.<br><br>Content-Length missing for POST or PUT requests.<br><br>Illegal character in hostname; underscores are not allowed.<br><br>HTTP/1.1 Expect: feature is being asked from an HTTP/1.0 software.<br><br>Your cache administrator is<br><br><br><br>On Jul 22, 2024, at 04:42, Andrey K <ankor2023@gmail.com> wrote:<br><br>Hello, Jonathan,<br><br><blockquote type="cite">curl http://localhost:3128/squid-internal-mgr/info<br></blockquote><br><blockquote type="cite">Where would I place the password?<br></blockquote><br>I use the following configuration:<br>http_access allow localhost  manager<br>cachemgr_passwd redacted config<br><br>The command to read the current running config is:<br>curl localhost:3128/squid-internal-mgr/config -u :redacted<br><br><br>Kind regards,<br>      Ankor.<br><br><br><br><br>чт, 18 июл. 2024 г. в 17:07, Alex Rousskov <rousskov@measurement-factory.com>:<br><blockquote type="cite"><br>On 2024-07-18 00:55, Jonathan Lee wrote:<br><br><blockquote type="cite">curl http://localhost:3128/squid-internal-mgr/info<br><br>Where would I place the password?<br></blockquote><br>See "man curl" or online manual pages for curl. They will point you to<br>two relevant options: --user and --proxy-user. AFAICT, your particular<br>cache manager requests are sent _to_ the proxy (as if it were an origin<br>server) rather than _through_ the proxy. Thus, you should use --user.<br><br>As I keep saying on this thread, due to Squid complications related to<br>Bug 5283, specifying seemingly correct client parameters may not be<br>enough to convince Squid to accept the cache manager request. I<br>recommend the following procedure:<br><br>1. List the corresponding http_port directive first, before any other<br>http_port, https_port, and ftp_port directives. Do not use interception<br>of any kind for this cache manager port.<br><br>2. Use curl with absolute squid-internal-mgr URLs with http scheme (like<br>you show above). Do _not_ use "curl --proxy" or similar. Do not use<br>https scheme.<br><br>3. In that absolute mgr URL, use the host name that matches<br>visible_hostname in squid.conf. If you do not have visible_hostname in<br>squid.conf, add it. This is not required, but, due to Squid bugs, it is<br>often much easier to get this to work with visible_hostname than without it.<br><br>4. Make (passwordless) mgr:info use case working first, before trying to<br>get password-protected pages working.<br><br>5. When you do specify a username and a password, remember that you are<br>sending this request to an (equivalent of) a service running on an<br>origin server, _not_ a proxy (hence --user rather than --proxy-user).<br><br><br>If you cannot figure it out despite carefully going through the above<br>steps, share (privately if needed) a pointer to compressed ALL,9<br>cache.log while reproducing the problem with throw-away credentials on<br>an idle Squid with a single curl request. Mention which step you got<br>stuck on.<br><br><br>HTH,<br><br>Alex.<br><br>_______________________________________________<br>squid-users mailing list<br>squid-users@lists.squid-cache.org<br>https://lists.squid-cache.org/listinfo/squid-users<br></blockquote><br>_______________________________________________<br>squid-users mailing list<br>squid-users@lists.squid-cache.org<br>https://lists.squid-cache.org/listinfo/squid-users<br><br><br><br>_______________________________________________<br>squid-users mailing list<br>squid-users@lists.squid-cache.org<br>https://lists.squid-cache.org/listinfo/squid-users<br></blockquote><br><br><br>-- <br>    Francesco<br>_______________________________________________<br>squid-users mailing list<br>squid-users@lists.squid-cache.org<br>https://lists.squid-cache.org/listinfo/squid-users<br></div></div></blockquote></div><br></div></div></blockquote></div><br></body></html>