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?

Why Does My Google App Engine App Get 'TLS Requested But Server Does Not Support TLS' When Connecting to Cloud SQL Second Generation?

Patricia Arquette
Release: 2024-12-01 14:55:10
Original
969 people have browsed it

Why Does My Google App Engine App Get

Troubleshooting TLS Errors When Connecting to Google Cloud SQL (2nd Generation) from Google App Engine

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
Copy after login

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template