Upgrade to Core 183 Proxy Issue

Hi all,

after Updating to Core 183 my Proxy Service is running, but not working.
I’m not able to open a Website trough proxy. If I disable the proxy in the network settings on client everything works fine.
No Problem with the Core’s before.
I’ve changed the port to 8001 without luck.
Any ideas?

Thanks in advance and best regards

In the past I have read that you may want to try.
Clearing the proxy cache and save, restart.
I don’t use the proxy.
Report back with results.

i’ve cleared the cache stop and start the squid service.
Did the same via UI. No luck

I have got CU183 with proxy running on two systems without any issues.

Have you checked on the WUI menu - Status - Services
does the Web Proxy show as RUNNING or STOPPED?

Web-Proxy shows running at service info

Then the only thing I can think to do is to look through the logs of the web proxy to see what is occurring when you try and access a website.

Make sure that you have the logging turned on for the web proxy. It is not checked by default.

Hi,
i’ve checked cache.log in squid an found a hint:
2024/02/21 20:50:42 kid1| ERROR: Attempt to open socket for EUI retrieval failed: (24) Too many open files

2024/02/21 20:50:42 kid1| ERROR: Attempt to open socket for EUI retrieval failed: (24) Too many open files

2024/02/21 20:50:42 kid1| WARNING: Your cache is running out of filedescriptors

so I changed the cache settings and restart the Web-Proxy. Now the squid service won’t start anymore.

/etc/rc.d/init.d/squid restart

Creating Squid swap directories… [ OK ]
Starting Squid Proxy Server… [ OK ]

/etc/rc.d/init.d/squid status

/usr/sbin/squid is not running.
/usr/lib/squid/unlinkd is not running.

Perhaps some misconfiguration?

Take a look at the output of squid -k parse.

2 Likes

Hi, thanks
I try to set the guidelines to LRU and now I’m able to start squid.
Do someone have a guide how to setup an optimal cache manager? I see I have a lack of knowledge there.

thanks for your efforts

I have always just left my proxy with the default settings and have never had any problem with the cache capability.

My view would be to start with the default settings and then if you hit problems, identify what the limiter is and then only change that element of the cache settings.

It might be useful to also look at the cache sections of the wiki if you want to optimise the cache for certain characteristics, such as efficiency, speed or memory consumption. I personally have never had to modify the cache parameters as the default ones have worked for me so I have never tested out the guidance.

https://www.ipfire.org/docs/configuration/network/proxy/wui_conf/cache
https://www.ipfire.org/docs/configuration/network/proxy/example_conf

1 Like