mirror of
https://github.com/floci-io/floci.git
synced 2026-11-25 06:47:41 -05:00
DSQL knows the cluster only by the TLS server name, and refuses a connection that sends none with FATAL 08P01 "unable to accept connection, sni was not received" once its password is in, whatever the password (measured). The endpoint fell back to the host in the token and let such a connection in. It now refuses it as DSQL does, and admit takes the cluster from the server name alone. The integration tests connected to 127.0.0.1 through pgjdbc's NonValidatingFactory and sent no server name; DsqlClusterFixture now gives pgjdbc a NonValidatingFactory that names the cluster, as the compatibility test's factory does.