matrix-docker-ansible-deploy
matrix-docker-ansible-deploy copied to clipboard
Possible bug with many generic workers
I enable workers in vars.yml like this: matrix_synapse_workers_enabled: true matrix_synapse_workers_generic_workers_count: 3
I use 3 generic workers. I used this configuration for months without problems but I noticed today that I have tons of errors similar to this log:
Nov 14 20:30:35 localhost matrix-nginx-proxy[113694]: 2022/11/15 01:30:35 [error] 23#23: *157819 no live upstreams while connecting to upstream, client: 172.18.0.21, server: matrix-nginx-proxy, request: "GET /_matrix/client/r0/sync?filter=3&timeout=30000&since=s44309503_1215028_1859_49273157_18280905_25395_27412775_39234398_0 HTTP/1.0", upstream: "http://generic_workers_upstream/_matrix/client/r0/sync?filter=3&timeout=30000&since=s44309503_1215028_1859_49273157_18280905_25395_27412775_39234398_0"
Unfortunately, I don't have more information regarding the consequences of this bug. I noticed this error because I was investigating another issue. I commented the line matrix_synapse_workers_generic_workers_count to remove the error for now.
My complete vars.yml can be found here: https://gist.github.com/anonfloppa/a92ca57b9bb2ee00f6b29354ec87d389 It's old but nothing changed.
Thank you very much.