I notice that my liveview app resorts to longpoll when accessed via chrome browser.
But on firefox, websockets work fine.
Am I missing some configuration?
I notice that my liveview app resorts to longpoll when accessed via chrome browser.
But on firefox, websockets work fine.
Am I missing some configuration?
LiveView sets a key in session storage when it resorts to longpoll and uses longpoll when that key is set. This might happen due to a (dev) server restart when the connection is lost for a brief time.
That might be the issue. Clear the session storage for the domain and see if it solves the issue.