[squid-users] FATAL: mimeLoadIcon: cannot parse internal URL

Amos Jeffries squid3 at treenet.co.nz
Tue Jun 2 06:06:00 UTC 2020


On 2/06/20 3:29 am, Alberto Senni wrote:
> Il 01/06/20 16:15, Amos Jeffries ha scritto:
>> On 2/06/20 1:45 am, Alberto Senni wrote:
>>> Hi to  all,
>>>
>>> on my linux Devuan configured as transparent router, squid 4 exit with
>>> FATAL error (from syslog):
>>>
>>> May 31 14:36:02 beofw (squid-1): FATAL: mimeLoadIcon: cannot parse
>>> internal URL: http://beofw:0/squid-internal-static/icons/silk/image.png
>>> May 31 14:36:02 beofw squid[3966]: Squid Parent: squid-1 process 4001
>>> exited with status 1
>>> May 31 14:36:02 beofw squid[3966]: Squid Parent: squid-1 process 4001
>>> will not be restarted for 3600 seconds due to repeated, frequent
>>> failures
>>> May 31 14:36:02 beofw squid[3966]: Exiting due to repeated, frequent
>>> failures
>>>
>>> but all is ok without intercept mode.
>>>
>>> What is the problem ?
>>>
>>
>> Your proxy is missing an http_port suitable to receive requests for
>> those URLs.
>>
>>
> Hi Amos,
> 
> but do you mean when my proxy in missing an http_port ...
> 
> in my squid.conf I have
> 
> http_port 192.168.100.254:3128 transparent
> 

This is a port for receiving NAT intercepted traffic. It should be a
randomly selected port and only ever receive traffic from the kernel's
NAT sub-system. Nothing from any other machine (or process on the same
machine) should ever be accepted there.


> and the IP address of beofw in 192.168.100.254
> (http://beofw:0/squid-internal-static/icons/silk/image.png)
> 
> which other http_port I have to insert ?

One that does not use the "transparent" or "tproxy" mode flags.
Typically port 3128 is used for explicit proxy traffic.

Amos


More information about the squid-users mailing list