-
Notifications
You must be signed in to change notification settings - Fork 907
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
Regression: Cannot connect to packager via IP or physical ios devices #324
Comments
Any progress on this? |
AFAIK nobody is currently working on this. The blocker for us internally was that we couldn't find a reliable way to test the # when @react-native-community/cli is `yarn link`ed
REACT_NATIVE_APP_ROOT=/path/to/react-native-cli yarn react-native start
# or when it's not
REACT_NATIVE_APP_ROOT=/path/to/react-native-cli node /path/to/react-native-cli/packages/cli/build start The @FrikkieSnyman would you like to give it a shot? |
yeah still getting this in RN 0.60.5. I updated from 0.58.5 and everything's corrupted :'( |
Hi, I realize this is just an open source project. But this bug has been lying around since April, and its about a broken core functionality (debugging on an iOS device). It's also not something someone who is new to this repo can easily tackle with a PR. I am really surprised there hasn't been more traction on this issue, as I imagine every react native developer must run into it. @grabbou you had mentioned in April that you were looking into it. Is there any chance this issue will get tackled, or is there any known workaround. Or anything one ca do to help to get this fixed. |
Unfortunately, I can't reproduce this issue anymore. Everything works fine on the latest React Native (0.61). I tested by turning on Chrome Debugger, accessing it from both the localhost and my phone (via IP address). I am going to close this issue for now and in case you are still experiencing this, please comment and I will reopen and look into why this is happening. |
@grabbou I still cannot get it to work on 61.5 but maybe just what needs to be configured changed. What did you do to access the Bundler from your phone (Issue has always been to not be able to connect to the Metro Bundler, not the Chrome Debugger, though that of course doesn't work either). I am looking at the trouble shooting instructions here but there is no output containing |
I just looked up the IP address of my device and typed http://10.0.1.2:8081
and Packager status appeared on screen.
…On Thu, 19 Mar 2020 at 17:28, Tobias Lohse ***@***.***> wrote:
@grabbou <https://github.com/grabbou> I still cannot get it to work on
61.5 but maybe just what needs to be configured changed. What did you do to
access the Bundler from your phone, I am looking at the trouble shooting
instructions here
<https://reactnative.dev/docs/running-on-device#2-ip-address> but there
is no output containing xip.io. Probably the problem has to do with some
change in macOS rather than RN.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#324 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASZZRX7ERV5EKAUWJ2BA33RIJBZ3ANCNFSM4HGSBISQ>
.
|
This issue was originally created by @FrikkieSnyman as facebook/react-native#24002.
💥 Regression Report
Upgraded to RN 0.59.0, and tried to run my app on ios. When I tried to enable remote debugging, I got an error saying that the connection to http://localhost:8081/debugger-proxy?role=client timed out.
I followed the troubleshooting here: http://facebook.github.io/react-native/docs/running-on-device.html#troubleshooting, and confirmed that my local machine's IP address is being detected correctly.
I then tried opening the debugger-ui on chrome by navigating to my local ip (ie 10.27.79.224:8081/debugger-ui) and it failed to connect. This definitely worked in RN 0.57 (from which I upgraded). Testing on RN 0.58.6, this also works.
Last working version
Worked up to version: 0.58.6
Stopped working in version: 0.59.0
To Reproduce
Install React Native version 0.59.0. Run
npm start
to start the packager. Obtain the local machine's IP, and then navigate to the obtained IP:8081/debugger-ui. Connection should be refused, and debugging on a physical ios device is not possible.Expected Behavior
I expect to be able to debug remotely from a physical ios device.
Code Example
n/a
Environment
The text was updated successfully, but these errors were encountered: