-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote devtools + local devserver connection issues #135
Comments
Have you found a solution for this, I'm experiencing the same problems? |
@gusoskar I just stopped using But I was able to setup
Or...
I chose the latter. |
I got a similar but different error:
Would appreciate any insights here |
If you're having this issue with an expo app, make sure "packagerPort": 19001 is on the same port with "devToolsPort": 19001 on your packager-info.json in .expo folder. |
@wemmyo , Edit: never mind, it didn't work. The ports keep getting overwritten each time I run |
@rgomezp You might need to change the ports to match each other after running |
Hi! It's 2023 and the problem is still present. I use React Native with Hermes but without Flipper because of incompatibility with some Firebase libraries. So, I start
All it works but every 20 seconds I got from Metro: Any suggestion? |
Hello @aminta Have You Managed to fix this Error ? I am getting the same error everyting is working but after 20 seconds getting Client pong timed out |
I've just faced with the same issue. It's working for only a few seconds. |
instead of
install
|
@bastiankistner tried this but it does not work for me , still seeing the same error :( The stack trace i am getting is |
So I was using
remote-redux-devtools
with a localremotedev
instance and the redux devtools extension for chrome to use for debugging one of my project and after some really long hours trying to get these things to work I was able to make a connection, but there's a catch: the connection keeps getting closed and reopened, and I simply can't figure out why!I started the project using the
create-react-native-app
helper andexpo-cli
.Environment:
create-react-native-app v2.0.2
react-native-cli v2.0.1
react-native v0.59.8
expo-cli v2.20.1
node v11.14.0
npm v6.7.0
yarn v1.16.0
This is my
package.json
To start debugging my project first I start the local devserver by using:
remotedev --host=192.168.2.183 --port=8000
Then I run
adb reverse tcp:8000 tcp:8000
with my device connected (I'm not using emulator). On the code where I create my store I connect to the remotedev server like this:
Then I start the packager like usual with
yarn start
, and then things start getting crazy, because when connecting to the local devserver, my packager log shows this:The output of the
remotedev
command looks like this:And when I start the remote redux devtools extension on chrome it connects to the application for an instant, then disconnects, and keeps repeating this.
The text was updated successfully, but these errors were encountered: