jonathan-s / django-sockpuppet

Build reactive applications with the django tooling you already know and love.
https://github.com/jonathan-s/django-sockpuppet
MIT License
450 stars 22 forks source link

The ActionCable channel subscription for StimulusReflex gets rejected when interacting too fast #141

Closed Danilodum closed 3 years ago

Danilodum commented 3 years ago

I'm looking for some pointers on how to solve the following error from occurring when users interact with the page too fast after load

Error invoking action "click->stimulus-reflex#__perform"

 The ActionCable channel subscription for StimulusReflex was rejected. 
Danilodum commented 3 years ago

In my case, issues with cookies from an Atlassian plugin were misusing the 'samesite' attribute.

Check for warnings in the browser console regarding cookies and resolve them if you're experiencing the websocket connection getting rejected and never reopened.