Comments (11)
We recently added the behavior to 404 on images where SSL hosts can't be verified. My guess is it might be the version of curl that's linked to on heroku.
from camo.
so what does this mean? Is my ssl certificate not good enough?
Is there anything I can do to reproduce this locally?
from camo.
Yup. Create a url in the tests that passes and see if you can get the tests running locally.
We could hit up heroku about their certs but I'm at a loss. This is the first time anyone has come back to us with their cert not validating.
from camo.
We ran into this recently. The OS that Heroku uses for dynos doesn't have up to date SSL certs.
To reproduce, launch anew Heroku app or go to an existing one, the run:
$ heroku run bash
> curl https://www.yourwebsite.com
If you get an SSL error, you'll know Heroku doesn't have your CA's certificates
On Wednesday, January 29, 2014 at 7:54 PM, Dominic Tarr wrote:
so what does this mean? Is my ssl certificate not good enough?
Is there anything I can do to reproduce this locally?—
Reply to this email directly or view it on GitHub (#37 (comment)).
from camo.
I see the same thing when I use curl on my laptop,
although the browser does not complain.
Aha, I think I found the solution here:
http://www.benjiegillam.com/2012/06/node-dot-js-ssl-certificate-chain/
the node.js https docs are not very informative, currently...
from camo.
We've also just run into exactly this issue on https://ci.testling.com.
https://github.com/substack/tape#tape
Here are some broken images:
https://github-camo.global.ssl.fastly.net/b644b2528fe8c51c6c6add3b592334b12e4f64d4/68747470733a2f2f63692e746573746c696e672e636f6d2f737562737461636b2f746170652e706e67 on https://github.com/substack/tape#tape
https://github-camo.global.ssl.fastly.net/1bbdd4aa0998e49cf40637e550d0591a67dc7b54/687474703a2f2f63692e746573746c696e672e636f6d2f737562737461636b2f617374772e706e67 on https://github.com/substack/astw#astw
Can camo at least be patched to give a more informative message than "not found" when the certificate check fails? This ate up a whole day trying to chase down.
from camo.
We should probably include the message like you suggest. It's been a nightmare to support as well.
from camo.
I can't get it working currently for Testling. It was working before our cert expired, I installed a new one and now it's failing.
from camo.
We may need to bust the cache. Can you email [email protected] with the repo in question and the output of curl -vv on the github image and on the raw image that's being proxied?
from camo.
It's working now. The issue was with how you pass the CA Bundle to node. We passed it as a string to https's ca
option, but it had to be passed as an array of strings. Some weird Comodo Ssl certificate thing.
from camo.
I'm closing this out unless people are still having problems. It's been 18+ months.
from camo.
Related Issues (20)
- Non-Image content-type returned for animated gif HOT 7
- HTTP_PROXY not being used HOT 3
- Is there a way to detect 404? HOT 2
- Error Fetching Resource HOT 1
- Is it possible to put an Apache server in front? HOT 2
- Upgrade Node.js dependency
- Is there any way to tell if the visitor is mobile? HOT 1
- [Question] Does it include X-Forward headers?
- Gu
- iFramely + Camo + CORS HOT 1
- Simple Question HOT 1
- Does anyone else use this that could verify it? I don't run camo at my job anymore. HOT 3
- @manikmi You have at least a couple options.
- Wrong file
- Deleted messages
- Hidden apps
- anh
- README
- Support international domain names (IDN)
- Mov/mp4 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camo.