开发者社区> 问答> 正文

上传文件到OSS时报错Failed to establish a new connection

详细报错如下: oss2.exceptions.RequestError: {'status': -2, 'request-id': '', 'details': "RequestError: HTTPConnectionPool(host='xxxxxxxxxxx', port=80): Max retries exceeded with url: xxxxxxxxx&max-keys=100&delimiter=&encoding-type=url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x13d2e10>: Failed to establish a new connection: [Errno -2] Name or service not known',))"}

展开
收起
料峭春风 2019-10-23 14:51:14 4780 0
1 条回答
写回答
取消 提交回答
  • 技术架构师 阿里云开发者社区技术专家博主 CSDN签约专栏技术博主 掘金签约技术博主 云安全联盟专家 众多开源代码库Commiter

    Name or service not known,检查开发代码

    2019-11-04 18:43:18
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
OSS运维进阶实战手册 立即下载
《OSS运维基础实战手册》 立即下载
OSS运维基础实战手册 立即下载