URL not being generated by XDE CLI or Desktop App

#1

I’m trying to use XDE to build an app behind a corporate proxy on a windows system.
Upon launching the XDE desktop application and opening my project, or after running the command exp start from my project folder, the url which is to be entered in the expo mobile app is not generated.
The last output on both the desktop application and the cli is dependency graph loaded after it states that the pacakger is running on port 19001.
Opening localhost:19000 gives the following output:

{“name”:“sms-panel”,“description”:“No description”,“slug”:“sms-panel”,“privacy”:“public”,“sdkVersion”:“22.0.0”,“version”:“1.0.0”,“orientation”:“portrait”,“primaryColor”:"#cccccc",“icon”:"./assets/images/icon.png",“splash”:{“image”:"./assets/images/splash.png",“resizeMode”:“contain”,“backgroundColor”:"#ffffff",“imageUrl”:“http://localhost:19001/assets/./assets/images/splash.png"},“packagerOpts”:{“hostType”:“lan”,“lanType”:“ip”,“dev”:true,“strict”:false,“minify”:false,“urlType”:“http”,“urlRandomness”:“null”},“ios”:{“supportsTablet”:true},“xde”:true,“developer”:{“tool”:“exp”,“projectRoot”:“C:\Users\611102582\Documents\GitHub\sms-panel”},“env”:{},“bundleUrl”:“http://localhost:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&strict=false&minify=false&hot=false&assetPlugin=C:\Users\611102582\Documents\GitHub\sms-panel\node_modules\expo\tools\hashAssetFiles”,“debuggerHost”:“localhost:19001”,“mainModuleName”:“node_modules/expo/AppEntry”,“logUrl”:“http://localhost:19000/logs”,“iconUrl”:"http://localhost:19001/assets/./assets/images/icon.png”}

I am unable to debug as to what the issue is and why the url is not being generated.
Ngrok (which is used for tunneling) works fine when a forward any port by running it from a command window using 'ngrok http '.

Any advise or pointers would be great!

0 Likes

#2

Hi, do you mean the URL field in XDE remains blank? What is the full output when you run exp url in the project directory while the project is running?

0 Likes

#3

exp url takes a lot of time and returns with exp://localhost:19000 even though Tunnel is selected in XDE.
When I click on Tunnel in XDE, the error “Switched to a LAN URL because the tunnel appears to be down. Only devices in the same network can access the app. You can restart the project to try reconnecting.”

0 Likes