Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: HTTP Status 404 at XMLHttpRequest.xhr.onload #8

Open
adavia opened this issue Feb 25, 2018 · 5 comments
Open

Uncaught Error: HTTP Status 404 at XMLHttpRequest.xhr.onload #8

adavia opened this issue Feb 25, 2018 · 5 comments

Comments

@adavia
Copy link

adavia commented Feb 25, 2018

I get a bunch of annoying errors in the console like:
Uncaught Error: HTTP Status 404 for url http://localhost:3000/uploads/book/image/15/IMG-20171002-WA0012.jpg
at XMLHttpRequest.xhr.onload (jimp.min.js:27)

What does it suppose to mean?

@nitin42
Copy link
Owner

nitin42 commented Feb 25, 2018

hm.. can you tell me exactly from where you are loading the image ? This error is internally thrown by the Jimp (image processing library behind this component) from what I am seeing!

@adavia
Copy link
Author

adavia commented Feb 26, 2018

Im loading the images locally from my server. It seem like the Jimp package uses the cors anywhere module and for some reason is not allowing me to load images. So the error comes from "http://cors-anywhere.herokuapp.com/http://localhost:3001/uploads/book/default.png" It says Missing required request header. Must specify one of: origin,x-requested-with.
Dont know i any config must be set up relating this matter.

@nitin42
Copy link
Owner

nitin42 commented Mar 2, 2018

Strange. I am trying to find some time to prepare for a new release so, stay tuned! I'll try to fix this (and also the other) issues. Thanks!

@gogumai
Copy link

gogumai commented Aug 30, 2018

Hi @nitin42 have you had some time to check this? I'm also having this issue.
Also, isn't this related to #18 ?

@yareyaredesuyo
Copy link

I got similar error in google cloud storage (but this can be solved by cors settings ). when I upload and load image, using default tag has no problem, But when using ProcessImage, XMLHttpRequest error occured and cannnot load image.

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

No branches or pull requests

4 participants