cusdis icon indicating copy to clipboard operation
cusdis copied to clipboard

NGINX CORS error

Open mcnaveen opened this issue 3 years ago • 6 comments

Sometimes cusdis is working, Sometimes it's not (Ref #135)

Throwing this error in the browser console

Access to script at 'https://example.com/js/iframe.umd.js' from origin 'https://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

mcnaveen avatar Oct 08 '21 13:10 mcnaveen

Have you tried the Nginx config in #135 it should stop it from generating the issue. What's being returned in the headers with reference to cors access?

Terramoto avatar Dec 15 '21 17:12 Terramoto

still dealing with this issue to be honest. It worked for a bit, then no longer. It simply is difficult to reproduce consistently.

din14970 avatar Jan 19 '22 19:01 din14970

still dealing with this issue to be honest. It worked for a bit, then no longer. It simply is difficult to reproduce consistently.

Did you manage to solve it?

DeMiro5001 avatar Feb 09 '22 01:02 DeMiro5001

Nope

din14970 avatar Feb 09 '22 09:02 din14970

You might be able to get better support from the Nginx community, for me it's been working flawlessly with Caddy, it might be just a matter of adjusting the configuration.

Terramoto avatar Feb 09 '22 09:02 Terramoto

The last solution from #135 definetly worked for me.

zozo6015 avatar Apr 02 '22 18:04 zozo6015