Skip to content
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

Unable to download archive from the server #484

Open
rupkishorej opened this issue Apr 24, 2017 · 3 comments
Open

Unable to download archive from the server #484

rupkishorej opened this issue Apr 24, 2017 · 3 comments

Comments

@rupkishorej
Copy link

Hi Team,

Please help on this issue, where I am unable to connect from mobile app

Laptop : windows 10
Mobile : iphone 6s ios 10.2.1

I have installed Phonegap desktop application in windows 10 OS from phonegap website. Server is running on http://192.168.163.1:3000 indicating green icon too in desktop app
I have installed phonegap developer app in iphone 6s ios version 10.2.1.

While trying to connect, app says downloading and then after sometime there is Download error with notification as "Unable to download archive from the server"

Based on your previous threads, I have followed the steps and seems okay but issue is not resolved yet. Below are the checks which i performed.

  1. Mobile and Desktop are connected to same network, I am able to ping from desktop to mobile wifi network ip
  2. node.js firewall is allowed to download. I can see node js is allowed in windows firewall.
  3. I am able to download .appzip file from desktop browser http://192.168.163.1:3000/__app__/appzip. Folders and files are same as my sample project folder (Code is different)

Please help me to resolve this issue.

Regards,
Rup.

@surajpindoria
Copy link
Collaborator

Take a look at this FAQ, there are a bunch of suggestions that may help you.

@rupkishorej
Copy link
Author

Hi Suraj,

Thanks for the comment.

I have tried most of the suggestions on FAQ's and I have already posted that pre-requisites have been taken care. Please find below checks performed. If you find something else I am missing to validate please help on this. Appreciate your quick response. Thanks.

PhoneGap Desktop version / PhoneGap CLI version - PhoneGap Desktop Version v.0.4.3
PhoneGap Mobile App version - version 1.7.7
Mobile devices & Mobile OS version - iPhone 6s & ios 10.3.1
Computer OS version - Windows 10
network type (home/corporate) - Home
is your network using a proxy? - Nope
computer / network security (firewall / anti-virus / disk encryption) - Firewall
are you using VMs on your computer? - Nope
do you have multiple network adapters (or virtual network adapters) - Nope
are you using VPN? - Nope
Allowed windows firewall access for phonegap desktop app ? - Yes, Private and public networks are allowed
Allowed node.js firewall in windows ? - Yes
Are you able to ping your mobile network ? - Yes
Phonegap Mobile app and desktop app are connected to same network ? - Yes
Are you able to download zip file from mobile chrome browser and desktop ? - Unable to download in mobile but can download in desktop browser.

@sminogue
Copy link

So from your checklist it seems like you have already tested this but to be clear. Try just opening a browser on your phone and connecting to: http://192.168.163.1:3000 it should just display your app.

Also, if you are looking to eliminate variables try shutting down the PG desktop app then:
cd APP_ROOT
npm install http-server
http-server ./www

Then using your browser (not the phonegap dev app on your phone) try and bring up your app. I forget the http-server default port but it should be there on your console.

Honestly, when I have had this problem its usually because I have forgotten to join my phone to my network and am busy trying to connect to my network from my cellular network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants