You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When my app is running on staging and production, and browsing with Safari (13.0.5) or Edge (88), page morphs fail to update the page. Looking at the websocket messages, I see the reflex coming back from the server with a blank cableready operations hash. This doesn't happen in other browsers, with selector morphs in Safari and Edge on staging, or in any browser running the site locally in development mode.
I've tried creating an MVCE with stimulus_reflex_harness and can't reproduce it there, so I guess it's something in my app that's screwing things up. Any ideas on what could cause the operations hash to go blank, or suggestions on how I could approach debugging?
Screenshots or reproduction
Versions
StimulusReflex
Gem: 3.4.1
Node package: 3.4.1
External tools
Ruby: 2.7.2
Rails: 6.1.1
Node: 10.18.0
Browser
Safari 13.0.5
Edge 88
The text was updated successfully, but these errors were encountered:
As soon as I asked I figured it out. We have HTTP_BASIC authentication on the staging site and those browsers weren't sending credentials. Fixed it by disabling the authenticate_or_request_with_http_basic before filter if @stimulus_reflex is true.
existentialmutt
changed the title
Page morphs fail to refresh (blank operations hash) in Safari/Edge on staging/production
Page morphs fail to refresh (blank operations hash) in Safari/Edge on staging
Feb 9, 2021
Describe the bug
When my app is running on staging and production, and browsing with Safari (13.0.5) or Edge (88), page morphs fail to update the page. Looking at the websocket messages, I see the reflex coming back from the server with a blank cableready operations hash. This doesn't happen in other browsers, with selector morphs in Safari and Edge on staging, or in any browser running the site locally in development mode.
I've tried creating an MVCE with stimulus_reflex_harness and can't reproduce it there, so I guess it's something in my app that's screwing things up. Any ideas on what could cause the operations hash to go blank, or suggestions on how I could approach debugging?
Screenshots or reproduction
Versions
StimulusReflex
External tools
Browser
Safari 13.0.5
Edge 88
The text was updated successfully, but these errors were encountered: