-
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
"Socket Hung Up" error with basic setup for web React / Redux #131
Comments
Socket hung up
error with basic setup
Any update on this? I've tried everything and can't figure this out |
I have the same problem! |
Has anyone solved this problem? |
To fix the error, make sure "packagerPort": 19001 is on the same port with "devToolsPort": 19001 on your packager-info.json in .expo folder (expo only) However, while this fixed the error, the dev tools themselves don't get populated with the state |
same issue |
I also have the same issue. |
I'm having the same issue with regular React web app. My store is pretty basic at the moment, I'm just using a combindeReducers call with a couple of reducers. Did not setup any middlewares yet so I'm trying to use this extension running the default export from the package itself instead of relying on the { composeWithDevTools }. EDIT: |
I found a solution for this problem. I will report it as follows: Step 1 - Verify installed packages:
Step 2 - Verify if the source code file that uses "devTools" contains: const store = createStore(rootReducer, enhance(applyMiddleware(reduxThunk))); Step 3 - In Android Emulator settings, verify:
Step 4 - In the Remote DevTools (Chrome extension):
Step 5 - In terminal, in the project directory, run: I hope these steps help you. Any doubts, feel free to contact me. |
unbelievable 👍 It's working. You're amazing man. |
@rickshido @ghasemikasra39 , |
Hi @rgomezp const enhance = composeWithDevTools({ And, in your Real Device, open the App and go to Dev Settings → Debug server host & port for device. Set your PC_IP_ADDRESS and the port of the (e.g. 10.0.1.1:8000). I hope it help you. |
where i can find "Dev setting -> Debug server host & port" ? |
It's working. You're amazing bro @rickshido. |
shake your device, you would find a pop-up menu, click settings from it then Debug server host & port |
I'm using the most basic setup to debug a web-based regular React app.
When I open my app, I get this error flooding the console:
The text was updated successfully, but these errors were encountered: