ConnectionAttempt.ConnectState

The various states a connection attempt may be in.

Values

ValueMeaning
unset

Init value.

noop

Nothing.

preconnect

About to connect.

connected

Successfully connected.

delayThenReconnect

Failed to connect; should delay and retry.

delayThenNextIP

Failed to reconnect several times; next IP.

ipv6Failure

IPv6 connection failed.

transientSSLFailure

Transient failure establishing an SSL connection, safe to retry.

fatalSSLFailure

Fatal failure establishing an SSL connection, should abort.

invalidConnectionError

The current IP cannot be connected to.

error

Error connecting; should abort.

exception

Some other Exception was thrown.