-
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
Unable to download archive from the server #295
Comments
A 400MB project isn't something we've tested on our side but I can definitely see how it could break on iOS. The new changes we introduced are mainly contained in the content sync plugin. I believe we are going to increase the time out for iOS so hopefully that will fix your problem. As for the parse auth error, it might be how Ripple proxies the ajax call. That would be my guess. |
I had the same problem, the application displays a message warning me and says: "Unable to download archive from the server" the solution was to update the the desktop application: regards!! |
I have the same problem.Don't know what to do with the link above to GitHub. Is there not an easy way to get the latest version. Anyway they are all Mac at the link above and I am Windows. I have just installed desktop and mobile so seems strange if I have an old version. |
Hi @Colkerr, follow these steps:
I hope it has helped you, good luck!! |
Thanks for your reply! I'm in the middle of restructuring my app so that the video data that's currently causing about 75% of the bulk will be streamed from web servers instead of contained in the app. (They just keep adding more and more video.) That should hopefully make it play a little better with phonegap. Other than that, using Phonegap has been such an amazing experience. I'm learning... constantly learning. lol. Thanks for all your hard work! |
Thanks for the kind comments :) To note, we're still working on the connection issue. It seems like a number of our users are reporting a fair number of issues despite our recent updates. If you are still experiencing errors, help us out by filling out this questionnaire: #307 |
Unable to download archive from server and Unable to properly connect to the server issue still persists in latest executables. Its highly unstable. |
Not working! Please help need to get it finished within 2 weeks! I have tried version 0.1.7 and 0.1.2 with the mobile app and with bluestacks android simulator. both saying: Unable to download archive from server and Unable to properly connect to the server issue still persists in latest executables Please HELP!! |
Please help me as well to solve the above problem. I had try all ways above ways but its not workout. Is there there any other solution for this issue? Please HELP...! |
same problem. i've been through dozens of guides and none of them are quite right... this seems to be the most recent solution but i can't connect after serving i'm on ubuntu 12.04 edit: i found that a power surge last night had left my router suddenly unable to authenticate anything. restarted and everything works great. this was one of many SSL related problems i'd been running into. |
Dear @rintuzi123 , please make sure there is no other application using port 3000. |
I have the same issue. The app can be downloaded in Android device. But when i use iphone to conncet to the server, it shows "Unable to download archive from the server" and "Unable to properly connet to the server". Plz help... |
Yo tengo el mismo problema! :( |
I'm finding the same issue. I have the latest versions of phonegap on both my PC and my Android phone. Even with the firewall off, I'm not able to connect to the server on which my app is running. It shows download error following which is a pop up message that says unable to download archive from the server. Please help me solve this issue. And yes, my PC and phone are connected to the same network. |
Hey @Vaishu18, Thanks for reporting the issue. We've chipped away at a few connection issues, but what you're experiencing has been a hard one to solve. I've tested on a Windows 7, 8.0, and 10 virtual machine on my home network. It's worked fine. The firewall and anti-virus are the obvious culprits, but you seem to have ruled those out. Are you able to test the same PC and Android phone on a different network? One approach is to create a hotspot with your Android device. I'm curious whether there are other network policies that may be causing the issue. |
I created a hotspot with my android device and connected my PC to check if On Fri, Sep 18, 2015 at 1:33 AM, Michael Brooks [email protected]
|
LuisFabian thanks |
@Vaishu18 what version of PhoneGap (Desktop or CLI version) are you using with the PhoneGap Android app? |
I had the same issue, but maybe for a different reason. The PhoneGap desktop app showed the message "Server is running on http://169.134.128.212:3000," so I entered that IP address in the mobile app. This didn't work because my computer is behind a router. I ran ipconfig from the command line (in Windows) and I saw the following line:
So I entered 10.0.0.10:3000 instead of the public IP address, and it worked. |
I'm having the same exact problem with Windows Phone. PhoneGap Desktop works fine with iPhone and Android, but won't load anything on Win Phone. I get "Unable to download" and "Unable to unzip" and then a webpage saying "We're having trouble displaying this page." The size of the project is 67,5Mb and it works fine on other devices using the same configuration, server and connection. It would help a lot, if I could just open the app on Win Phone. It's kinda hard to test it if it won't even open... EDIT: I dropped the size down to 30Mb, still the same problem. Only now the error message comes up faster. :) |
Awesome info @Radcliffe and @Cybernoid77! I've created a separate milestone to breakout these connection issues, so that we can focus on them better. |
Hey all, This has been a hard issue to reproduce. At the moment, I suspect that the PhoneGap CLI is displays the incorrect IP Address, which leads the connection issue. I've published a new version of the PhoneGap CLI that may address this by displaying all available (public) network adapter addresses. The first address listed is the CLI's best guess at your primary adapter. I'd appreciate it if you could upgrade to the latest CLI and let me know if this helps or not. Thanks! |
Ok. My scenario with solution: |
Just want to chime in that I am also having trouble with the desktop app displaying the wrong IP address (on Windows 10). Running "ipconfig" showed that I had 4 network adapters ("Ethernet adapter Ethernet", "Ethernet adapter Ethernat 2", "Ethernet adapter Ethernet 3" and "Wireless LAN adapter Wi-Fi"). Obviously the latter should be used, but the PhoneGap desktop app was showing the IP from the first adapter. Uninstalling VMWare Player removed the first two adapters, but now PhoneGap was still displaying the wrong IP, that of "Ethernet adapter Ethernet 3". Haven't got a clue where that one is coming from, and don't know how to disable it. However, disabling the adapters is not necessary at all. It's just the PhoneGap desktop app that shows the wrong IP. So, entering the correct IP (that of the Wi-Fi) in the Android PhoneGap app combined with the port number from the desktop app, makes everything work great! 😄 |
Hi! Sorry it's been a while since I opened this. Eventually pared all the bulky data from the app and started streaming it in instead and with a smaller app size, this fixed my own problem, but now that there's other people with issues, I don't know if I should close, or if @mwbrooks will close when enough people seem satisfied? Like I said I think my original issue was just the ridiculous size of my package (hehe) and that has been solved by cleaning up. I'm leaving the thread :) |
@pbb72 Sorry to hear that you're having that issue - it's a common one that we're working through. I've patched it with the latest PhoneGap CLI but the PhoneGap Desktop is a little more complicated. You can track the progress of the work on this issue: phonegap/phonegap-app-desktop#494 @millenniumgdjordan thanks for the update and glad to hear that the app size was the issue! Since this issue is a popular place to collect connection issues, I'm going to leave it open for now. Everyone's feedbacks helps us narrow down the various edge cases that people are hitting. |
@Radcliffe Great! it solved my problem. |
Thanks! I just disabled Windows firewall and all is well! |
Hi everyone, I've collected the above cases and documented them into a troubleshooting section into our docs: http://docs.phonegap.com/references/developer-app/troubleshoot-faq/ Have a look at that if you're still experiencing problems. |
Did this ever get resolved? Still having issues on mac. |
@kazalvis try disabling your firewall that's what fixed it on Windows 10, here's instructions for your Mac https://www.youtube.com/watch?v=tPEP4uC8-gg |
@kazalvis Disabling the system firewall worked for me on OSX 10.11 (El Capitan). |
I'm having the same problem with iPhone + OSX (with firewall turned off). Can someone tell me where the archive is located? From the log, I saw briefly a |
I usually see a single I also usually see PhoneGap Developer do several attempts to download the zip before it succeeds. |
@kentr : I've tried may times and still running into the same issue. Suppose if for some miracle it does work, I don't think to "keep retrying" is viable solution :) |
@hsoehalim: There might have been a misunderstanding... What I meant was that for me — even with correct IP / port, firewall off, etc — the app retries automatically several times and eventually succeeds on it's own, and an initial I mentioned it in case you're manually cancelling the connection attempts. |
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, I am on Windows OS 7. Any help is greatly appreciated |
@mwbrooks I had been experiencing this problem for the lat couple of days. The IP address that was being displayed on the desktop application was the same as my IPv4 address after running the ipconfig command in cmd. I read one of the previous comments that suggested turning of the firewall. I did this and it now works perfectly. |
@JackBondSBCC That's great to hear. We have the firewall fix documented in our FAQ but it's a far cry from obvious and easy to find. This is an ongoing issue for a lot of Windows users. So, I think we need to find a helpful way to detect and walkthrough the solution. |
I use Eset Smart Security on my computer. I deactivated firewall and protection for 10 minutes, then try again and it worked. It seems it is related to security issue pals. |
#I have Phonegap version 6.3.0 installed in my PC. When i try to integrate my application to mobile(ASUS) Can any one please help me out how to rectify the above issue. |
just turn off windows firewall :) from antiviruse software android programmer at aracode |
@mwbrooks I solved this problem by firewall setting. |
I tried the Firewall turned off hence still prouduce the same problem on macOS Sierra 10.12.5 with PhoneGap v0.4.4 both on 3G and dsl. |
Well, for me it was Atom (IDE) blocks all my ports. I realized when it shows the same project on the browser even I try a couple of different projects on different sizes to test. Closing Atom let me able to open it on the phone app. With that progress even I have a couple of working demos I still have a few applications not working properly yet. Is there anyone ran into this kind of browser window when try to run the app? |
I'm aware of some of the recent issues with the client update and subsequent CLI update, however, after updating both (and actually a fresh OSX Yosemite install) I'm still getting an Unable to download archive from server error when I try to connect from an iPad mini. A browser running ripple emulator connects fine (although for some reason gives me password errors when I try Parse.com auth through it). Also, android phonegap client connects, but it is slow.
The project itself is rather large (400+ MB) is it possible that the iOS client is timing out, but the android client waits throught the long download? Anything you could point me to would be appreciated. Even help with parse authentication :)
Versions:
OSX 10.10.3
CLI: 5.0.0-0.28.1
iOS 8.3
Phonegap Developer 1.5.2
The text was updated successfully, but these errors were encountered: