简体   繁体   English

特拉维斯CI。 NetworkingError:Node.js和AWS S3存储桶之间的CERT_UNTRUSTED错误

[英]Travis CI. NetworkingError: CERT_UNTRUSTED error between Node.js and AWS S3 bucket

The setup. 设置。

I'm on Node.js using the aws-sdk npm module. 我在使用aws-sdk npm模块的Node.js上。 I have an AWS bucket on S3 and the associated access and keys. 我在S3上有一个AWS桶以及相关的访问和密钥。 The keys are in my .travis.yml file. 密钥位于我的.travis.yml文件中。 I'm trying to test out saving an image up to my S3 bucket from my Node.js app. 我正在尝试从我的Node.js应用程序测试将图像保存到我的S3存储桶。

The interesting thing... it's been working for a LONG TIME on Travis, then a few days ago it just stopped working with this error: 有趣的是......它已经在特拉维斯工作了很长时间,然后几天前它就停止了这个错误:

  message: 'CERT_UNTRUSTED',
  code: 'NetworkingError',
  region: 'us-east-1',
  hostname: 'chyld-evernode-test.s3.amazonaws.com',
  retryable: true,
  time: Sat Dec 20 2014 18:35:45 GMT+0000 (UTC)

Now, it STILL works just fine on my LOCAL box and it also still works after deploy to HEROKU. 现在,它仍然可以在我的LOCAL盒子上正常工作,并且在部署到HEROKU之后它仍然可以工作。 My guess is something just happened on Travis which is causing my tests to fail. 我的猜测恰好发生在特拉维斯身上,导致我的测试失败。

Ideas? 想法?

Looks like this is a known problem with 0.10.34: 看起来这是0.10.34的已知问题:

From the second link: 从第二个链接:

this fixes a problem where connecting to AWS services would report an untrusted cert error. 这解决了连接到AWS服务会报告不受信任的证书错误的问题。

From an issue in the knox repo : 来自knox回购中的一个问题

Solution: downgrade to v0.10.33 解决方案:降级到v0.10.33

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM