XMLHttpRequest for Amazon S3 only works on some computers

Our web application is a bootloader that clicks directly on Amazon S3. However, he never failed in testing, because the client has software in which they experience a 50/50 success rate on a computer.

It seems that the error appears in any browser on bad computers: XMLHttpRequest cannot load "www.DOMAIN.json". Origin ... not allowed Access-Control-Allow-Origin.

  • The host file has no unique settings.
  • the network the computer is connected to affects the result
  • two similar computers (os, browser, network) and one are working, and the other is not.

This is the jQuery download file modified. We use the CORS method. https://duckduckgo.com/Cross-origin_resource_sharing?ia=about

Any experienced cross-domain warriors there?

0
source share
1 answer

Good news! We sorted this by adding https: // to the application url. This does not 100% solve our current problem, but it allows us to program a more graceful rollback.

+1
source

All Articles