I am working locally and using CLI to publish so I can view in the Expo Client App before I publish the project. At first I could not get anything working, though on my computer it said Tunnel Ready and gave me the URL and QR code. As I would open those on the Client App they would consistently never connect.
I changed it to local since I am on the same wifi as my devices and it works most of the time.
I really want the tunnel so someone else in a different state can view the app reloads as I do some development.
As mentioned, I followed the directions and it says Tunnel Ready - what else should I look at? I am using Mac OSX and the firewall is turned off.
And @adamjnav - to make sure, if this is working, the tunnel should work while on the same wifi or if I take my cell phone off wifi and just use LTE data, right? And then also someone in a different location can load up the app through tunnel as well - right?
I saw 3.0.10 came out just over a week ago, is the version maybe a problem?
I am running expo-cli 3.0.10. I can run expo start --tunnel, turn off the wifi on my phone while leaving the mobile data enabled, scan the QR code in the Expo app and work as if I were connected via LAN.
I have in the past had two devices connected at the same time (over the LAN but I see no reason this should not work via the tunnel too.)
The tunnel URL should look like exp://ab-xyz.user.slug.exp.direct:80
As a test, if you change exp:// to http:// you should be able to connect with a web browser, which should download some JSON which looks similar to the contents of app.json. Does that work for you?
Well, I figured it out after searching those error messages. It turns out 127.0.0.1 localhost was not in my /etc/hosts file. When I added it, things are working well!
Maybe an idea to add to some help documentation because nothing else indicated that could be the issue.