“TLS请求但服务器不支持TLS” Google App Engine中的Google Cloud SQL(第二代)出现错误? [英] "TLS requested but server does not support TLS" error with Google Cloud SQL (2nd generation) from Google App Engine?

查看:698
本文介绍了“TLS请求但服务器不支持TLS” Google App Engine中的Google Cloud SQL(第二代)出现错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在重新使用我的连接字符串时遇到问题(在这里解决... ...)连接到 Google Cloud SQL <使用SSL连接到Google Cloud SQL 生成一个实例,同时尝试连接到第二代实例。我收到此错误: TLS请求但服务器不支持TLS



我无法



我发现了实例连接名称的事实, code>在第二代时遵循不同的结构,但这似乎不是问题。有没有人解决这个问题我从Golang连接。

解决方案

App Engine标准环境和Cloud SQL第二代实例之间当前不支持MySQL级SSL 。

App Engine标准环境与Cloud SQL之间的通信已经加密,因此使用MySQL级别的SSL并不会增加很多价值,但我可以理解,执行应用程序级别SSL可以添加一些安心,因为Cloud SQL和App Engine之间发生的事情是不透明的。



我会尝试查看这是否可以更改。


I'm running into an issue in re-using my connection string (resolved here ... Cannot connect to Google Cloud SQL using SSL + Golang from Google App Engine ...) from connecting to a Google Cloud SQL generation one instance while trying to connect to a generation two instance. I'm receiving this error: TLS requested but server does not support TLS

I can't figure out how to get around this, and the documentation is pretty scarce.

I caught the fact that Instance connection name follows a different structure on generation two, but that doesn't seem like the issue. Has anyone solved this? I'm connecting from Golang.

解决方案

MySQL level SSL is not currently supported between App Engine Standard Environment and Cloud SQL Second Generation instances.

Communication between App Engine Standard Environment and Cloud SQL is already encrypted so using MySQL level SSL does not add a lot of value, though I can understand that doing application level SSL can add some peace of mind since what happens between Cloud SQL and App Engine is opaque.

I'll try to see if this is something we can change.

这篇关于“TLS请求但服务器不支持TLS” Google App Engine中的Google Cloud SQL(第二代)出现错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆