[squid-users] Squid BUG: assurance failed: tok.skip(WellKnownUrlPathPrefix())

Loučanský Lukáš technik at kjj.cz
Tue Sep 12 14:21:09 UTC 2023


Hello, today I was going to compile a new version of my beloved squid 
proxy (v6.3 or 6.3-20230903-ra9c06aa6a) just to be welcomed by non 
working older configmgr.cgi and [debian package installed] squidclient 
(v4.6). After replacing squidclient with (compiled with squid) version 
6.3 it's still not working, giving me accesss denied page.

My cache.log contains these bug info lines:

023/09/12 16:07:03 kid3| ERROR: Squid BUG: assurance failed: 
tok.skip(WellKnownUrlPathPrefix())
     exception location: cache_manager.cc(193) ParseUrl
     current master transaction: master469155
2023/09/12 16:07:03 kid3| ERROR: Squid BUG: assurance failed: 
tok.skip(WellKnownUrlPathPrefix())
     exception location: cache_manager.cc(193) ParseUrl
     current master transaction: master469155

In the file src/cache_manager.cc there is this

const SBuf &
CacheManager::WellKnownUrlPathPrefix()
{
     static const SBuf prefix("/squid-internal-mgr/");
     return prefix;
}

and on the line 193 is this assure (after tok tokenizer)

  Parser::Tokenizer tok(uri.path());

     Assure(tok.skip(WellKnownUrlPathPrefix()));

Is there something wrong with my config I should change after 6.2 to 6.3 
upgrade? I have some classic http_access manager allow ... and 
http_access manager deny lines. No definition what [acl] manager means.

I have found some mentions here 
https://github.com/squid-cache/squid/blob/master/ChangeLog and somewhere 
inside the commit / review git hub section for squid. But nothing says 
what to do make it work right. Besides this it seems squid as a proxy 
works fine...

Thanks

Lukas





More information about the squid-users mailing list