camo icon indicating copy to clipboard operation
camo copied to clipboard

image not found or error

Open soapoperator opened this issue 8 years ago • 3 comments

I have installed camo on nginx + node (v5.4.0) with a custom domain (https://camo.domain.com/). It seems to work except when i try to load theses images:

https://camo.domain.com/my_key?url=http://www.howtoforge.com/images/linux_screen/2.png I get the message: Not found

https://camo.domain.com/my_key/http://www.howtoforge.com/images/linux_screen/2.png I get: this image cannot be display because it contains errors

I have check with several image. I try to run it on heroku with the same result.

Is there something to do with the config parameters?

soapoperator avatar Feb 19 '16 06:02 soapoperator

Check out the examples here, https://github.com/atmos/camo#examples on how ot encode your urls correctly.

atmos avatar Feb 20 '16 03:02 atmos

Thank you atmos for your answer.

Actually, i need camo on node.js, into nodebb iframely plugin to begin.

As i understand, digest indicated for url format is differant from the camo_key. So help with my_key (pwgen -sB 64), i just need to start camo: screen -S camo sudo PORT=8081 CAMO_KEY="<my_key>" forever server.js ... And it will work with the plugin, won't it?

soapoperator avatar Feb 25 '16 06:02 soapoperator

I to have the same issue https://ibimgeu.herokuapp.com/my_key//www.seeklogo.net/wp-content/uploads/2015/09/new-google-favicon-logo.png/new-google-favicon-logo.png

billyprice1old avatar Nov 30 '16 23:11 billyprice1old