[Rspamd-Users] Problems with redis replica on rspamd
fluffy-bunny at hush.com
fluffy-bunny at hush.com
Thu Jul 23 14:25:44 UTC 2020
Hi there!
'err
I've set up two new instances of rspamd with redis and it seems to
work fine. But if I upload an Spam-Mail via the Web-GUI I get this
error under 'History' ---> 'Errors' :
I can see this also in /var/log/rspamd/rspamd.log on Node02:
```ish.com, next check at Thu, 23 Jul 2020 14:22:35 GMT (timer based)
2020-07-23 16:17:49 #6474(controller) ; lua; bayes_expiry.lua:405:
cannot perform expiry step: ERR Error running script (call to
f_acd6aff7fcbc3b001f95b7e5a710653d7b51aae3): @user_script:36:
@user_script: 36: -READONLY You can't write against a read only
replica.
2020-07-23 16:19:08 #6474(controller) ; lua; bayes_expiry.lua:405:
cannot perform expiry step: ERR Error running script (call to
f_acd6aff7fcbc3b001f95b7e5a710653d7b51aae3): @user_script:36:
@user_script: 36: -READONLY You can't write against a read only
replica.
2020-07-23 16:20:15 #6474(controller) ; lua; bayes_expiry.lua:405:
cannot perform expiry step: ERR Error running script (call to
f_acd6aff7fcbc3b001f95b7e5a710653d7b51aae3): @user_script:36:
@user_script: 36: -READONLY You can't write against a read only
replica.
2020-07-23 16:21:58 #6474(controller) ; lua; bayes_expiry.lua:405:
cannot perform expiry step: ERR Error running script (call to
f_acd6aff7fcbc3b001f95b7e5a710653d7b51aae3): @user_script:36:
@user_script: 36: -READONLY You can't write against a read only
replica.```
...and on Node01 I can see this in /var/log/rspamd/rspamd.log:
```2020-07-23 16:21:20 #6667(controller) ; neural; neural.lua:1150:
try_train_ann: process element MONTHLY:default
2020-07-23 16:21:20 #6667(controller) ; neural; neural.lua:1150:
try_load_ann: process element WEEKLY:default
2020-07-23 16:21:20 #6667(controller) ; neural; neural.lua:1150:
try_load_ann: process element MONTHLY:default
2020-07-23 16:21:20 #6667(controller) ; neural; neural.lua:1150:
try_train_ann: process element WEEKLY:default
2020-07-23 16:21:20 #6667(controller) ; neural; neural.lua:1150:
try_load_ann: process element SHORT:default
2020-07-23 16:21:20 #6667(controller) ; neural; neural.lua:1150:
try_train_ann: process element SHORT:default
2020-07-23 16:21:20 #6668(controller) ; neural; neural.lua:1150:
try_load_ann: process element MONTHLY:default
2020-07-23 16:21:20 #6668(controller) ; neural; neural.lua:1150:
try_load_ann: process element SHORT:default
2020-07-23 16:21:20 #6668(controller) ; neural; neural.lua:1150:
try_load_ann: process element WEEKLY:default
2020-07-23 16:22:20 #6666(rspamd_proxy) ; neural; neural.lua:1150:
try_load_ann: process element WEEKLY:default
2020-07-23 16:22:20 #6666(rspamd_proxy) ; neural; neural.lua:1150:
try_load_ann: process element SHORT:default
2020-07-23 16:22:20 #6666(rspamd_proxy) ; neural; neural.lua:1150:
try_load_ann: process element MONTHLY:default
2020-07-23 16:22:20 #6667(controller) ; neural; neural.lua:1150:
try_train_ann: process element MONTHLY:default
2020-07-23 16:22:20 #6667(controller) ; neural; neural.lua:1150:
try_train_ann: process element WEEKLY:default
2020-07-23 16:22:20 #6667(controller) ; neural; neural.lua:1150:
try_load_ann: process element MONTHLY:default
2020-07-23 16:22:20 #6667(controller) ; neural; neural.lua:1150:
try_load_ann: process element SHORT:default
2020-07-23 16:22:20 #6667(controller) ; neural; neural.lua:1150:
try_load_ann: process element WEEKLY:default
2020-07-23 16:22:20 #6667(controller) ; neural; neural.lua:1150:
try_train_ann: process element SHORT:default
2020-07-23 16:22:20 #6668(controller) ; neural; neural.lua:1150:
try_load_ann: process element SHORT:default
2020-07-23 16:22:20 #6668(controller) ; neural; neural.lua:1150:
try_load_ann: process element WEEKLY:default
2020-07-23 16:22:20 #6668(controller) ; neural; neural.lua:1150:
try_load_ann: process element MONTHLY:default```
Does anyone have an idea why I get the error 'You can't write against
a read only replica.`?
I've no I idea what I can do regarding this?
More information about the Users
mailing list