SSL:没有替代证书主题名称匹配目标主机名 $name.storage.googleapis.com
SSL: no alternative certificate subject name matches target host name $name.storage.googleapis.com
我想 运行 在 google cloud ml 中转换 tensorflow 脚本。来自外部项目的桶之一。我已经创建了云 ml 引擎服务帐户并将其作为用户添加到此外部项目。
之后,在我的终端中使用 gcloud 初始化项目执行了以下命令:
gcloud auth activate-service-account --my-service-acc-key.json
然后将我的工作提交为:
gcloud ml-engine jobs submit training ..arguments
作业已成功提交,正在 运行ning,直到使用 file_io.FileIO('gs://external-bucket')
从外部存储桶访问资源
我收到以下错误 SSL: no alternative certificate subject name matches target host ${bucket-name}.storage.googleapis.com
。
凭据似乎有问题,但在文档中找不到任何有用的信息。
可能是什么问题?
遗憾的是,目前 TensorFlow 中的 GCS 客户端库无法正确支持像 bucketname.domainname.com
这样的域存储桶。
今天 TensorFlow Google 存储库中修复了这个问题。
修复应该在 TensorFlow github within 2-3 days from now, after which you should be able to either build TensorFlow from head or take a nightly Linux build 上可用,并在向 Cloud ML Engine 提交训练作业时将其作为 package_uris 之一提供。
或者,您可以等到它被 Cloud ML Engine 支持的下一个官方 TensorFlow 版本接收。
我想 运行 在 google cloud ml 中转换 tensorflow 脚本。来自外部项目的桶之一。我已经创建了云 ml 引擎服务帐户并将其作为用户添加到此外部项目。
之后,在我的终端中使用 gcloud 初始化项目执行了以下命令:
gcloud auth activate-service-account --my-service-acc-key.json
然后将我的工作提交为:
gcloud ml-engine jobs submit training ..arguments
作业已成功提交,正在 运行ning,直到使用 file_io.FileIO('gs://external-bucket')
我收到以下错误 SSL: no alternative certificate subject name matches target host ${bucket-name}.storage.googleapis.com
。
凭据似乎有问题,但在文档中找不到任何有用的信息。
可能是什么问题?
遗憾的是,目前 TensorFlow 中的 GCS 客户端库无法正确支持像 bucketname.domainname.com
这样的域存储桶。
今天 TensorFlow Google 存储库中修复了这个问题。
修复应该在 TensorFlow github within 2-3 days from now, after which you should be able to either build TensorFlow from head or take a nightly Linux build 上可用,并在向 Cloud ML Engine 提交训练作业时将其作为 package_uris 之一提供。
或者,您可以等到它被 Cloud ML Engine 支持的下一个官方 TensorFlow 版本接收。