Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

The setup.

I'm on Node.js using the aws-sdk npm module. I have an AWS bucket on S3 and the associated access and keys. The keys are in my .travis.yml file. I'm trying to test out saving an image up to my S3 bucket from my Node.js app.

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. My guess is something just happened on Travis which is causing my tests to fail.

Ideas?