[Rspamd-Users] Connection refused to redis
Jiri Reischig
jiri.reischig at ecn.cz
Mon Oct 21 10:49:41 UTC 2019
Dne pondělí 21. října 2019 12:33:51 CEST, Reio Remma via Users napsal(a):
> On 21/10/2019 13:27, Jiri Reischig wrote:
> > Dne pondělí 21. října 2019 12:21:46 CEST, Reio Remma via Users napsal(a):
> >> On 21/10/2019 13:14, Jiri Reischig wrote:
> >>> Hello,
> >>>
> >>> I have "Connection refused" to redis errors in Rspamd log for some modules.
> >>>
> >>> Redis look like good. Other connections are OK.
> >>>
> >>> I don't known how to debug this problem more.
> >>>
> >>> Please, can any body help me?
> >>>
> >>> Example of my log:
> >>>
> >>>
> >>> Oct 21 12:08:55 rspamd[22684]: <43e29a>; replies; replies.lua:139: sender is from local network
> >>> Oct 21 12:08:55 rspamd[22684]: <43e29a>; replies; replies.lua:150: storing message-id for replies check
> >>> Oct 21 12:08:55 rspamd[22684]: <43e29a>; lua; replies.lua:131: redis_set_cb received error: Connection refused
> >>> Oct 21 12:08:55 rspamd[22684]: <3d58e8>; replies; replies.lua:139: sender is from local network
> >>> Oct 21 12:08:55 rspamd[22684]: <3d58e8>; replies; replies.lua:150: storing message-id for replies check
> >>> Oct 21 12:09:13 rspamd[22684]: <ed3102>; lua; mx_check.lua:83: redis_cache_cb received error: Connection refused
> >>> Oct 21 12:09:18 rspamd[22684]: <efc942>; replies; replies.lua:139: sender is from local network
> >>> Oct 21 12:09:18 rspamd[22684]: <efc942>; replies; replies.lua:150: storing message-id for replies check
> >>> Oct 21 12:09:18 rspamd[22684]: <efc942>; lua; replies.lua:131: redis_set_cb received error: Connection refused
> >>> Oct 21 12:09:18 rspamd[22684]: <f25f05>; replies; replies.lua:139: sender is from local network
> >>> Oct 21 12:09:18 rspamd[22684]: <f25f05>; replies; replies.lua:150: storing message-id for replies check
> >>> Oct 21 12:09:19 rspamd[22684]: <c019c3>; replies; replies.lua:139: sender is from local network
> >>> Oct 21 12:09:19 rspamd[22684]: <c019c3>; replies; replies.lua:150: storing message-id for replies check
> >>> Oct 21 12:09:19 rspamd[22684]: <c019c3>; lua; replies.lua:131: redis_set_cb received error: Connection refused
> >>>
> >> Hello! Do you have anything specific in /etc/rspamd/local.d/replies.conf ?
> >>
> > I think no.
> >
> > There is my local.d/replies.conf
> >
> > servers = "/var/run/redis/redis.sock";
> > enabled = true;
> > expire = 604800;
>
> I don't have replies.conf at all myself and it seems to work nicely.
> Does your global redis.conf have the same servers =
> "/var/run/redis/redis.sock"?
Yes, I have the same config in redis.conf:
servers = "/var/run/redis/redis.sock";
Replies module is enabled by default in my version (2.0).
Than I remove some lines from local.d/replies.conf without success.
My local.d/replies.conf
expire = 7d;
More information about the Users
mailing list