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 I tried to get remote devtools set up for a react native project, I found that nothing would show up in devtools after reloading my app unless I reloaded devtools too at just the right time.
I used the default config: enhancers: getDefaultEnhancers => getDefaultEnhancers().concat(devToolsEnhancer()) for remote and redux-devtools --open to start devtools and the server.
It seemed like the remote client wasn't getting the "START" message from devtools, so I made these patches and they seemed to fix the problem. I didn't look at very deeply at the code, though - I'm sure there's a better way.
The text was updated successfully, but these errors were encountered:
jseaton612
changed the title
Remote devtools doesn't recover from disconnections
Remote devtools doesn't recover from disconnections from standalone app
Jan 29, 2025
@markerikson Totally forgot to mention that - I had already turned it off (devtools: false) thinking something would break otherwise. Just tried devtools: true but from what I can tell it behaves the same
I'm in the same boat as @jseaton612 . I'm building React Native w/ Metro and RTK. Using the standalone Redux Devtools app I see continuous disconnects/reconnects (other apps fail to connect). I see the repetition of the following log messages over ~10 seconds, with both Server and Client acknowledgements timing out:
LOG connected to remotedev-server
LOG remote-redux-devtools: Socket connection errors are being suppressed.
This can be disabled by setting suppressConnectErrors to 'false'.
LOG [SocketProtocolError: Client pong timed out]
LOG connected to remotedev-server
LOG remote-redux-devtools: Socket connection errors are being suppressed.
This can be disabled by setting suppressConnectErrors to 'false'.
LOG [SocketProtocolError: Server ping timed out]
LOG connected to remotedev-server
Please let me know if I can provide further information.
When I tried to get remote devtools set up for a react native project, I found that nothing would show up in devtools after reloading my app unless I reloaded devtools too at just the right time.
I used the default config:
enhancers: getDefaultEnhancers => getDefaultEnhancers().concat(devToolsEnhancer())
for remote andredux-devtools --open
to start devtools and the server.It seemed like the remote client wasn't getting the "START" message from devtools, so I made these patches and they seemed to fix the problem. I didn't look at very deeply at the code, though - I'm sure there's a better way.
@redux-devtools+app+6.1.0.patch
@redux-devtools+remote+0.9.3.patch
The text was updated successfully, but these errors were encountered: