SocketProtocolError: Socket hung up while developing

Hi guys,

I’m constantly (5-10sec) getting SocketProtocolError: Socket hung up while developing locally and using iOS Simulator, Android Simulator or my iOS device. I’m also getting the error when using expo init my-app so it should not be related to my own code base.

I was using it with React Native Debugger and without. All weeks before everything has been working fine.

This is my setup:
Expo CLI 3.28.2 environment info:
OS: macOS 10.15.7
Shell: 5.7.1 - /bin/zsh
Node: 12.16.0 - ~/.nvm/versions/node/v12.16.0/bin/node
Yarn: 1.22.0 - ~/.nvm/versions/node/v12.16.0/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v12.16.0/bin/npm
Platforms: iOS 14.1, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
Android Studio: 4.1 AI-201.8743.12.41.6858069
Xcode: 12.1/12A7403 - /usr/bin/xcodebuild
expo: ^39.0.0 => 39.0.3
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: => 0.63.2
react-native-web: ~0.13.7 => 0.13.18
expo-cli: 3.28.2
Expo Workflow: managed

Okay, I solved it: It was due to not connecting to React Native Debugger properly by using Debug Remote JS

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.