You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 10, 2023. It is now read-only.
I'm using a docker image of synapse (matrix.mydomain) and dimension (dimension.mydomain) behind a reverse proxy which handles encryption. From time to time, the reverse proxy crashes. Dimension is therefore unable to access matrix.mydomain.
Then dimension:
Queries the DNS for matrix.mydomain
Tries to connect to matrix.mydomain
Gets ECONNREFUSED
Immediately starts from 1 again
Last time the proxy was down for 5min. Meanwhile dimension sent 70.000 DNS queries which is more than 200 queries per second.
The CPU usage also goes up to 100%. This looks like an infinite loop to me.
It would be good to add a delay before retrying the failed connection.
The logs show this message for every connection attempt:
I'm using a docker image of synapse (matrix.mydomain) and dimension (dimension.mydomain) behind a reverse proxy which handles encryption. From time to time, the reverse proxy crashes. Dimension is therefore unable to access matrix.mydomain.
Then dimension:
Last time the proxy was down for 5min. Meanwhile dimension sent 70.000 DNS queries which is more than 200 queries per second.
The CPU usage also goes up to 100%. This looks like an infinite loop to me.
It would be good to add a delay before retrying the failed connection.
The logs show this message for every connection attempt: