-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Connection Issue - Feedback #307
Comments
1. What operating system are you using?Windows 7 64-bit 2. Do you have a software firewall enabled?Yes. 3. Are you using the PhoneGap CLI or PhoneGap Desktop?PhoneGap CLI 4. What version of the PhoneGap CLI or PhoneGap Desktop are you using?PhoneGap CLI version 5.0.0-0.28.1 5. What mobile device platform are you using?iOS 7.1.2 6. In the past, have you successfully paired the CLI/Desktop to the mobile app?Yes, and I think the network is the same, although I don't know for sure. 7. Can you download the app archive locally?Yes, although no zip archive is downloaded - all I see is our splash screen for the app.
8. Can you download the app archive on your mobile device browser?I see the same splash screen as in step 7, although there is no error in the log. 9. Can you download the app archive with the PhoneGap mobile app?No, all I see is the "Downloading..." message in the Developer App and the CLI crashes, as per #299. 10. Tell us a little more about your app
11. Does a Hello World App work?No. |
Do you see any 404 or error messages in the PhoneGap CLI output or PhoneGap Desktop log file? One of two: 1.) Error: ENFILE, file table overflow '/usr/local/lib/node_modules/phonegap/node_modules/connect-phonegap/res/middleware/deploy.js' 2.) events.js:85
no Do you see any 404 or error messages in the PhoneGap CLI output or PhoneGap Desktop log file?
How large is the www/ directory? |
1. What operating system are you using? |
I see that it's been a while, but for what it's worth... in my case connection issues show up on Android 4.1 device only. 1. What operating system are you using? 2. Do you have a software firewall enabled? 3. Are you using the PhoneGap CLI or PhoneGap Desktop? 4. What version of the PhoneGap CLI or PhoneGap Desktop are you using? 5. What mobile device platform are you using? 6. In the past, have you successfully paired the CLI/Desktop to the mobile app? 7. Can you download the app archive locally? 8. Can you download the app archive on your mobile device browser? 9. Can you download the app archive on your mobile device browser? 10. Tell us a little more about your app 11. Does a Hello World App work? More info: It seems to be the Android 4.1 OS. Is this not a supported version for this tool? If not, Google Play should have stopped me with "not compatible with your device", no? BTW, LOVE this tool |
Windows 8.1 64-bit
Windows Firewall
PhoneGap Desktop
0.1.8
Android 4.4.2
I can download from http://localhost:3000/**api**/appzip (using Chrome). Attempting to download from the server provided does not work. No errors are returned, but the request just continues until it times out.
No, attempting to download from the server provided does not work on my mobile phone either. Same problem as from my PC - no errors are returned, but the request just continues until it times out.
No, appears to fail due to timeout.
This is the default template provided when you create a new project using the PhoneGap Desktop App. The www folder is ~1.4mb in size.
No |
Hello, I am facing a similar issue with PhoneGap desktop app.http://:3000/api/appzip gives '404 /api/appzip in the PhoneGap server logs. Also i see 'Cannot Get /api/appzip on the local browser. |
Was filling the survey when It read about the firewall and a light bulb appeared over me, turned it off and magically the app was working. |
I have a similar issue on Windows x64. I updated npm, disabled the firewall, etc... but I still get a 500 server error for cordova.js. If I try to access it directly this is what I get
is there any workaround to this? |
|
|
What operating system are you using? Do you have a software firewall enabled? Are you using the PhoneGap CLI or PhoneGap Desktop? What version of the PhoneGap CLI or PhoneGap Desktop are you using? What mobile device platform are you using? In the past, have you successfully paired the CLI/Desktop to the mobile app? Can you download the app archive locally? Can you download the app archive on your mobile device browser? Can you download the app archive with the PhoneGap mobile app? Tell us a little more about your app Does a Hello World App work? Additional info: UPDATE: |
|
404 /api/appzip // this is from the ipad safari browser
|
What operating system are you using? Do you have a software firewall enabled? Are you using the PhoneGap CLI or PhoneGap Desktop? What version of the PhoneGap CLI or PhoneGap Desktop are you using? What mobile device platform are you using? In the past, have you successfully paired the CLI/Desktop to the mobile app? Can you download the app archive locally? Can you download the app archive on your mobile device browser? Can you download the app archive with the PhoneGap mobile app Tell us a little more about your app Does a Hello World App work? This is the first time I’m using phone gap developer app and I’m not able to connect it form the APP. I’m very certain that the problem lies within the app, so let me give more details about the phone |
One thing I think to check is to ensure, if you are running windows, that the firewall is allowing the node.js to create the server. My apologies for not being technical. I didn't notice that Windows was asking me if I wanted to allow this to happen. Once I allowed it to occur, I got the app to display the hello world app. |
Thanks for that. I had allowed node.js access through the firewall so that wasn't the problem. In the end I deleted node.js and all the crap that goes with it; deleted the android ask/tools and virtually everything that goes with it; deleted desktop build (what a waste that is) etc. Once that was all done and everything even remotely related was deleted I installed the Intel XDK environment and, while its not perfect it's 1000% better than the kludge everyone else is working with. Sent from my iPhone
|
|
I'm on a mac using a virtual machine for windows (VMWare) and my issue was solved when I changed the VM's network settings so the VM appears as a separate device on the network. As in, they don't share a local IP. |
Hi, |
@11plustwo thanks for the tip! I've added it to the PhoneGap Developer App Troubleshooting section |
[Solved]Update -- Issue solved by Pinging the IP address, the device was not linked to the server, switched to a different connection. Thanks for the questions, though. they gave me a path to follow for debugging the route. Connection problem between Desktop app and Ipad/ios. Answers
|
To better understand where each developer's connection issue is occurring, we'd appreciate you taking the time to fill out this survey!
1. What operating system are you using?
If you are using Windows, please let us know if it’s 32-bit or 64-bit?
For example:
2. Do you have a software firewall enabled?
By default, Windows often has the built-in firewall enabled. You can check under your system settings.
3. Are you using the PhoneGap CLI or PhoneGap Desktop?
4. What version of the PhoneGap CLI or PhoneGap Desktop are you using?
For the PhoneGap CLI, you can check your version by typing
phonegap --version
For the PhoneGap Desktop, you can check your version by selection
? -> About
on the sidebar.5. What mobile device platform are you using?
Is it Android, iOS, or Windows Phone?
We would appreciate knowing the version as well. For example, iOS 8.3 or Android 5.1.
6. In the past, have you successfully paired the CLI/Desktop to the mobile app?
Has your network changed since the last successful connection?
7. Can you download the app archive locally?
phonegap serve
x.x.x.x:3000/__api__/appzip
x.x.x.x
for your IP address, such as10.0.1.7:3000/__api__/appzip
localhost
and let us know if that works instead.404
orerror
messages in the PhoneGap CLI output or PhoneGap Desktop log file?8. Can you download the app archive on your mobile device browser?
Now we are going to do the same steps as above, but on your mobile device browser. This will tell us whether the network connection is okay.
phonegap serve
x.x.x.x:3000/__api__/appzip
x.x.x.x
for your IP address, such as10.0.1.7:3000/__api__/appzip
404
orerror
messages in the PhoneGap CLI output or PhoneGap Desktop log file?9. Can you download the app archive with the PhoneGap mobile app?
Next, we are going to repeat the same step as above but use the PhoneGap mobile app. This will tell us if the connection problem is due to the app rather than the desktop client.
phonegap serve
x.x.x.x:3000
x.x.x.x:3000
for your IP address, such as10.0.1.7:3000
Connecting…
andExtracting…
message followed by your app.404
orerror
messages in the PhoneGap CLI output or PhoneGap Desktop log file?10. Tell us a little more about your app
www/
directory?www/
directory?11. Does a Hello World App work?
Finally, we would like to rule out your app has the problem by testing the default Hello World app.
phonegap create my-new-app
, change into the project, and runphonegap serve
x.x.x.x:3000
x.x.x.x:3000
for your IP address, such as10.0.1.7:3000
Connecting…
andExtracting…
message followed by your app.The text was updated successfully, but these errors were encountered: