Sie sind nicht angemeldet.

tidytrax

Anfänger

  • »tidytrax« ist der Autor dieses Themas

Beiträge: 4

Wohnort: Brazil - Rio de Janeiro

Beruf: (IT Analyss

  • Nachricht senden

1

Freitag, 15. März 2019, 20:07

S3 CloudFront Chrome Cors Error Css3d Request Twice Hotspot

Hi, I got a problem, only in chrome and safari,
Firefox and Edge works fine and the problem happens only with hotspot Css3d,
And only some times with random hotspots, can be 2 or 20.

As i could saw the hotspot is request twice, once response 200 and in the second get failed and the below error appear in console.


Access to image at '7276d7a055036dc.png' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.


I could fix using webgl, but gif and other stuff lost animation.
or
ignoring cache with 7276d7a055036dc.png?v=TIMESTAMP(random).


And why request twice? looks like the problem, if i use webgl, request once.

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »tidytrax« (15. März 2019, 20:37)


Beiträge: 88

Wohnort: Fairfax, CA

Beruf: Code-Slave

  • Nachricht senden

2

Mittwoch, 20. März 2019, 18:03

Adding a random query string to your image must be done at the very last moment.