The Cross Origin Opener Policy header has been ignored - DJANGO

19.9k Views Asked by At

Im making a Chatapp project in Django. I implemented channels and websockets to send and receive message and this worked when i tested using two differents windows in the same browser (one of them in incognito mode), but when i try to test it using another browser i get the following error:

Cross Origin Opener Policy error

I tried to solve implementing django corsheaders with the following configuration:

Corsheaders app installation

Corsheaders middleware

Corsheaders settings

(I know that setting all origins to true its not recommendable but it's just for testing purpouses)

1

There are 1 best solutions below

0
On BEST ANSWER