remote-redux-devtools icon indicating copy to clipboard operation
remote-redux-devtools copied to clipboard

SocketProtocolError: Client pong timed out every 20 seconds

Open aminta opened this issue 1 year ago • 1 comments

I use React Native with Hermes but without Flipper because of incompatibility with some Firebase libraries.

So, I start yarn redux-devtools --hostname=localhost --port=8000 --open, start the Metro server and I've configured the store (with RTK Query) like so:

import devToolsEnhancer from 'remote-redux-devtools'; [...] const store = configureStore({ reducer: persistedReducer, middleware: getDefaultMiddleware => getDefaultMiddleware({ serializableCheck: { ignoredActions: [FLUSH, REHYDRATE, PAUSE, PERSIST, PURGE, REGISTER], }, }).concat(...middlewares),

devTools: false, enhancers: [devToolsEnhancer({realtime: true, port: 8000})], });

All it works but every 20 seconds I got from Metro: [SocketProtocolError: Client pong timed out]

Any suggestion?

aminta avatar Mar 16 '23 10:03 aminta

@aminta use https://github.com/reduxjs/redux-devtools/tree/main/packages/redux-devtools-remote instead of this package because it's already deprecated

row248-hola avatar Mar 17 '23 10:03 row248-hola