File transfer - no Access-Control-Allow-Origin header
See original GitHub issueWhich jsxc version number do you use?
last version
Which browser and browser version do you use?
Firefox 53.0.2
Do you have any browser plugins enabled?
firebug
Do you see any errors in your javascript console?
XMLHttpRequest cannot load https://192.168.1.200:5443/upload/5627c20b7457729e75b7a9bebf297dfa7d641042/DEcAUCpmlfBGDjuaHvQzlvHhSff43JjNPy4ugJHD/chat.txt. Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://192.168.1.200’ is therefore not allowed access.
Config:
port: 5443
module: ejabberd_http
tls: true
certfile: 'CERTFILE'
request_handlers:
"": mod_http_upload
mod_http_upload:
docroot: "/var/www"
put_url: "https://192.168.1.200:5443/upload"
custom_headers:
"Access-Control-Allow-Origin": "*"
"Access-Control-Allow-Methods": "OPTIONS, HEAD, GET, PUT"
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Fixing "No 'Access-Control-Allow-Origin' Header Present"
This error occurs when a script on your website/web app attempts to make a request to a resource that isn't configured to accept...
Read more >Reason: CORS header 'Access-Control-Allow-Origin' missing
The response to the CORS request is missing the required Access-Control-Allow-Origin header, which is used to determine whether or not the ...
Read more >Resolve the "No 'Access-Control-Allow-Origin' header" ...
Run the following command to confirm the origin server returns the Access-Control-Allow-Origin header. Replace example.com with the required origin header.
Read more >Why does my JavaScript code receive a "No 'Access ...
XMLHttpRequest cannot load http://myApiUrl/login. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' ...
Read more >Fix To No Access-Control-Allow-Origin header is present Or ...
Fix To No Access-Control-Allow-Origin header is present Or Working With Cross Origin Request In Asp Net Web API · By using Microsoft.AspNet. ·...
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
duplicate of #527
This was the first result on startpage: https://github.com/processone/ejabberd/issues/1482