Rspamd: "got error on IO with server localhost"

NethServer Version: 7.9
rspamD: 3.2.

rspamd produces mass of error logs: “got error on IO with server localhost:11335([::1]:11335), on write, 111, Connection refused”

I cannot adjust something with UDP port 11335 because I don’t use the Nethserver firewall.
What can block the connection?

best regards, Marko

I could reproduce the error and found that the fuzzy worker is configured to allow IPv4 only.

In /etc/rspamd/rspamd.conf at the bottom there’s following line

allow_update = ["127.0.0.1"];

but in the rspamd manual I found this configuration that also allows IPv6:

allow_update = ["127.0.0.1", "::1"];

I don’t know how to force the fuzzy check so I need to wait and check if the error is gone.

4 Likes

I started to get the same thing on my Rspamd -

6/13/2022, 10:15:35 PM controller 1584 csession d64ff0 got error on IO with server localhost:11335([::1]:11335), on read, 111, Connection refused
6/13/2022, 10:15:25 PM controller 1584 csession 798c02 got error on IO with server localhost:11335([::1]:11335), on read, 111, Connection refused
6/13/2022, 8:14:44 PM rspamd_proxy 1583 proxy 13c42c got error on IO with server localhost:11335([::1]:11335), on write, 111, Connection refused
6/13/2022, 8:11:29 PM rspamd_proxy 1583 proxy 579eba got error on IO with server localhost:11335([::1]:11335), on write, 111, Connection refused

I did start reconfiguring my Rspamd today… It must have been the settings I had changed.

I enabled greylisting and set it to 3 in Email>Filter. I just disabled it and then the above items went away from Rspamd errors.

I don’t know if this is the same issue your having or if mine is different. You can check your settings to see.

Can you send me a link to the information for setting Filters in NethServer.

Thanks - and I hope this helps you as well.

Jeff

2 Likes

The following didn’t work for me, the server still has the “connection refused” errors.

On that server greylisting already was disabled, I “redisabled” it now and report if it helps.

The Filter is explained in the Documentation.

1 Like