The connection To The Server Was Unsuccessful - Android 2.2, jquerymobile, 0.9.5.1
1,540 views
Skip to first unread message
jrw
unread,
Jun 2, 2011, 5:02:26 PM6/2/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phonegap
Hi,
I keep getting this error message and I don't know how to resolve it.
"The connection To The Server Was Unsuccessful"
It comes up as soon as I try to load my program. I'm connected to the
internet (I can load webpages on the emulator through the browser).
If I change my index.html page so that it is just a simple html
containing some text and no references, everything loads fine.
However, when I use my actual web program, I get that error.
I number of other people have had this error as well but as far as I
can tell, it was not resolved for any of them. Any ideas at least of
what the general causes of the error are?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phon...@googlegroups.com
I also had this problem in connection with Sencha Touch. After a while, I found out about the "UNCOMPRESS_DATA_MAX" on Android <= 2.2. Turns out, the "sencha-touch-debug-w-comments.js" is about 1.5MB.
So check if you have some script file with size > 1MB.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phonegap
I ran into this yesterday while transitioning a successfully running
iOS app over to Android. After some troubleshooting it seemed that the
problem in my case was that I am loading a very large JSON file to
populate a long list of data, and that seemed to be timing out. After
some googling I increased the url timeout within my primary App.java
file and that seemed to eliminate my problem.
Added this property: super.setIntegerProperty("loadUrlTimeoutValue",
60000);