aws-codebuild - AWS CodeBuild 引发错误 127,SNI 不可用
问题描述
当它抛出此错误时,我正在运行代码构建
[Container] 2018/10/18 00:43:55 Running command $(aws ecs stop-task --task arn:aws:ecs:ap-southeast-1:502776083946:task/207cfc8b-914d-4c4b-9c8a-0ffbfcef6924 --cluster arn:aws:ecs:ap-southeast-1:502776083946:cluster/timesheet-staging-cluster)
/usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:369: SNIMissingWarning: An HTTPS request has been made, but the SNI (Server Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
SNIMissingWarning
/codebuild/output/tmp/script.sh: 4: /codebuild/output/tmp/script.sh: {: not found
我该如何解决这个问题?我需要停止 ECS 任务才能部署新任务
解决方案
推荐阅读
- java - Java Eclipse 控制台输出字符串变量方向错误
- machine-learning - Gans中生成器的损失函数
- c# - 解决数据库竞争条件的最佳方法
- python - os.path 和 dataframe.to_csv 找不到 Python 路径字符串
- google-app-engine - 将 Google Cloud Storage 存储桶连接到 App Engine 中的 Docker 映像
- sharepoint - Sharepoint 列表查找列未正确显示标题
- apache - Apache .htaccess 不允许网站访问受限文件夹中的资产
- r - 将列中的字符串拆分为两列
- asp.net - 使用 ZXing 的 QRcode(纠错问题)
- environment-variables - Wampserver 升级:环境变量错误