And just tried, just in case, to set up custom domains though get the same
connection_closed
error
Without full error log / reference code and fly.toml
config entries, it is hard to tell what is at fault here. I can imagine that the service ports aren’t set or being listened to as expected causing this error (see also: tcp/udp services on Fly).
Also, note that Fly load balancers timeout idle tcp connections after 60s: Increasing idle timeout
Though when I try to add the other nodes (apps) I get error messages, using the hostname
app.fly.dev
or the apps public IPv4 “connection_closed”.
Going over the public internet for clustering is less than ideal, one would think.
As CouchDB doesn’t seem to support IPv6 so far…
For clustering on Fly, you’d definitely need IPv6 support to use 6pn
. Also, this blog post on building NATS cluster on Fly is a handy reference.