maxkferg / meteor-cdn

Load Meteor bundled resources from a CDN
6 stars 20 forks source link

CloudFront wasn't able to connect to the origin [1.4.1 Meteor] #3

Open tmpg opened 7 years ago

tmpg commented 7 years ago

I am trying to set up a cdn on CloudFront... I followed this: https://github.com/Nitrolabs/meteor-cdn

I keep getting the error that:


ERROR The request could not be satisfied.

CloudFront wasn't able to connect to the origin.

I tried setting the Origin Domain Name to: galaxy-ingress.meteor.com (as suggested), www.fakeapp.io, and us-east-1.galaxy-ingress.meteor.com, but none of them worked.

I really have no idea what is wrong as I followed all instructions.

Other information:

Origin Domain Name: www.fakeapp.io Origin ID: www.fakeapp.io Origin Protocol Policy: HTTPS Only Viewer Protocol Policy: HTTPS Only Forward Headers: Whitelist --Host --Origin --Strict-Transport-Security Forward Query Strings: yes, forward all cache based o all Compress Objects Automatically: yes Price Class: All

--Settings.json

  "galaxy.meteor.com": {
    "env": {
      "ROOT_URL": "https://www.fakeapp.io",
      "CDN_URL": "https://#####.cloudfront.net",
      "MONGO_URL": "...."
    }
  }
kulttuuri commented 7 years ago

In case anyone is trying to get this working with Galaxy, pointing the CloudFront distribution to galaxy server (galaxy-ingress.meteor.com) did not work for me. Changing CloudFront distribution to point to location of my website worked.