-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
The request timed out - when attempting to open app #149
Comments
OK solved! My office firewall blocks most ports from the VPN so I got them to open up 19000 for me because the I might be worth mentioning somewhere in the documentation that 19000 and 19001 both need to be accessible. I'm happy to send a PR if you agree. |
…hoot network issues. This is feedback from expo#149
Merged the PR, thanks so much! |
Hey @dikaiosune, Have you considered using something like ngrok to expose the local endpoint as a secure tunnel to localhost? In other words, when we do npm start, use ngrok to expose the endpoint for our local app, then you don't have to worry about firewalls, VPN ports, and that kind of stuff. The expo phone app would then connect to this publicly exposed endpoint. I mean, I'm glad @richkeenan was able to get the firewall ports opened on his corporate firewall, but not everyone has that luxury. This issue is basically a showstopper for me, and I had to abandon use of your product. Anyway, I hope you can consider doing something along these lines, as it would make your product much more accessible. |
@dcp12345678 it's funny that you ask! XDE currently sets up ngrok tunnels for you. There are a few reasons we don't do this for CRNA, but the main one is that as a general purpose getting-started tool CRNA shouldn't ever require you to register for an account for a non-OSS service. That said, if you're OK registering for an Expo account I'd recommend getting started with XDE in your particular situation. |
@dikaiosune - Thanks for your reply. I tried Expo XDE but when I tried to create a new project it brought up a downloading modal and got to around 19%, then it displayed a message that said: Couldn't connect to the server, check your internet connection. I clicked create again, then I got this error: I know my internet connection is ok because I'm using it to type this message. Anyway, I suppose it's time to move on. |
@dcp12345678 so sorry about that, the starter projects are just hosted on S3, but we've seen a few issues with how Electron networking interacts with S3 (or something related, I haven't been involved in troubleshooting). In any case, if you do decide to give it another go, you can download the template projects from http://expo.io/--/api/v2/versions/download-template/tabs or http://expo.io/--/api/v2/versions/download-template/blank and extract them yourself. |
Hi, the main issue I found is when you use the npm / yarn start / run command. The CLI is cool but it isn't very smart. When using Expo XDE app - I was able to do what the CLI was meant to do. Expo XDE ran the application on port 19002 and provided me with the correct share link and QR code - automatically. Whereas the CLI never changed the port ( or maybe it did ) but kept providing me with port 19000 which was unreachable and kept returning the "timeout" error. Hope this info helps |
Description
Request timed out when running app with no changes.
create-react-native-app spark-mobile
spark-mobile
yarn start
Expected Behavior
Default welcome screen is shown
Observed Behavior
Red error message,
Environment
npm ls react-native-scripts
: react-native-scripts@0.0.26npm ls react-native
: react-native@0.42.3npm ls expo
: expo@15.1.3node -v
: v6.9.5npm -v
: 3.10.10yarn --version
: 0.19.1watchman version
: Not installedI've used CRNA with no problems at home, but at work I get this issue so I'm sure it's just an office infrastructure thing but it's hard to diagnose. Some things I've checked.
http://my-dev-ip-address:19000
, the output of which isThe text was updated successfully, but these errors were encountered: