HTTP Upload CORS error
See original GitHub issueHi,
I am getting Cross-Origin Request Blocked
in my browser console when trying sending files. I enabled CORS in my apache. (https://enable-cors.org/server_apache.html).
I got the same error under the following conversejs version. 6.0.0 and 5.0.5.
Here are some screenshots of my firefox console.
I really don’t know what is going wrong.
Regards,
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
CORS Fails when uploading a file - Stack Overflow
What I get. I get a message saying that the Access-Control-Allow-Origin header is missing but this header is allowed in my Cors. I...
Read more >CORS issue with file uploading API - Box Support
I read somewhere that CORS error can occur because, your access token doesn't allow uploading to that folder, the folder Id doesn't have...
Read more >Cors error when uploading file - Laracasts
Hello, i'm facing again the cors error when i'm trying to upload file with axios my cors.php : Copy Code <?php return [...
Read more >File Upload/Download not working because of CORS policy
We have recently introduced versioning to our API. We have updated the url, uploadUrl and downloadUrl for the FileManager control.
Read more >Using cross-origin resource sharing (CORS)
The subtopics describe how you can enable CORS using the Amazon S3 console, or programmatically by ... http://website.s3-website.us-east-1.amazonaws.com.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot @jcbrand. I just have to allow CORS in my ejabberd config. By adding the following code in
mod_http_upload
.Regards,
Thanks for letting us know what fixed it for you.