Home >Backend Development >Golang >Why Does My Google App Engine App Get 'TLS Requested But Server Does Not Support TLS' When Connecting to Cloud SQL Second Generation?
When attempting to migrate from Google Cloud SQL's first generation to the second generation, developers might encounter the following error:
TLS requested but server does not support TLS
This error arises when trying to reuse connection strings previously used with generation one instances while connecting to generation two instances.
Cause:
The error is caused by the difference in the Instance connection name format between generation one and generation two instances. Furthermore, MySQL level SSL is not currently supported between App Engine Standard Environment and Cloud SQL Second Generation instances.
Solution:
There is no current workaround for this issue. Communication between App Engine Standard Environment and Cloud SQL is already encrypted, rendering MySQL level SSL redundant. Therefore, relying on the default encryption provided by App Engine is recommended.
The above is the detailed content of Why Does My Google App Engine App Get 'TLS Requested But Server Does Not Support TLS' When Connecting to Cloud SQL Second Generation?. For more information, please follow other related articles on the PHP Chinese website!