6K nodes. 2K keys. broker running on an aws ec2 in...
# choria
a
6K nodes. 2K keys. broker running on an aws ec2 instance (t3a.medium). i could see in the logs the backoff algorithm running. but in the environment i have, that wasn't enough. i went ahead, built a choria package with the connect timeout option, installed in a choria server, and that server could connect to the broker. these are the sort of messages i see in the broker during the reconnection storm:
Copy code
{
  "component": "network_broker",
  "level": "error",
  "msg": "redact:41534 - cid:29307 - TLS handshake timeout",
  "time": "2025-10-15T06:24:23-05:00"
}
and this is what i see in the server:
Copy code
{"component":"server","connection":"redact","identity":"redact","level":"info","msg":"Sleeping 3.062s till the next reconnection attempt","time":"2025-10-14T11:53:50-05:00"}
{"component":"server","connection":"redact","identity":"redact","level":"error","msg":"NATS client encountered an error: EOF","time":"2025-10-14T11:53:50-05:00"}
{"component":"server","connection":"redact","identity":"redact","level":"info","msg":"Sleeping 8.839s till the next reconnection attempt","time":"2025-10-14T11:54:08-05:00"}
{"component":"server","connection":"redact","identity":"redact","level":"error","msg":"NATS client encountered an error: EOF","time":"2025-10-14T11:54:08-05:00"}
{"component":"server","connection":"redact","identity":"redact","level":"info","msg":"Sleeping 4.7s till the next reconnection attempt","time":"2025-10-14T11:54:24-05:00"}
{"component":"server","connection":"redact","identity":"redact","level":"error","msg":"NATS client encountered an error: EOF","time":"2025-10-14T11:54:24-05:00"}
{"component":"server","connection":"redact","identity":"redact","level":"info","msg":"Sleeping 10.622s till the next reconnection attempt","time":"2025-10-14T11:54:38-05:00"}
{"component":"server","connection":"redact","identity":"redact","level":"error","msg":"NATS client encountered an error: read tcp redact:57536-\u003eredact:4222: read: connection reset by peer","time":"2025-10-14T11:54:38-05:00"}