Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

image not found or error #100

Open
jbo-tech opened this issue Feb 19, 2016 · 3 comments
Open

image not found or error #100

jbo-tech opened this issue Feb 19, 2016 · 3 comments

Comments

@jbo-tech
Copy link

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?

@atmos
Copy link
Owner

atmos commented Feb 20, 2016

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

@jbo-tech
Copy link
Author

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?

@billyprice1old
Copy link

billyprice1old commented Nov 30, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants