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
servername: Server name for the SNI (Server Name Indication) TLS extension. It is the name of the host being connected to, and must be a host name, and not an IP address.
I am wondering what would be the correct approach to resolve this issue? Thank you.
The text was updated successfully, but these errors were encountered:
I think it would be great to provide an option for the caller to set whatever string they want in the SNI field, separating the hostname/IP address you connect to from whatever is placed into SNI.
Hello.
We use knex and mysql2 to connect to Google Cloud SQL from a local machine.
knex: v3.1.0
mysql2: 3.9.4
The issue is, when the
host
is an IP address (provided by Google Cloud SQL), we get warningIt seems that the cause is the
host
is passed asservername
in the call oftls.connect()
, and according to https://nodejs.org/api/tls.html#tlsconnectoptions-callbackI am wondering what would be the correct approach to resolve this issue? Thank you.
The text was updated successfully, but these errors were encountered: