Thanks for the info. jandroid did not check the response header is HTTP/1.0 or 1.1, it should handle correctly if the response data had not been sent in 1.1 formated chunks. It might need to capture HTTP traffic to see what had gone wrong.
An alternative is to use wget if the device is rooted and busybox has been installed. Вт, 27 июн 2017, Raul Miller написал(а): > My reading of https://tools.ietf.org/html/rfc7230#section-2.6 is that > it's legal (though not required) for an HTTP/1.1 server to send > HTTP/1.1 version responses to an HTTP/1.0 client as long as the > message is formatted so that an HTTP/1.0 client can reasonably be > expected to be able to parse it correctly. (If all the HTTP/1.1 stuff > is just added things that the 1.0 client would ignore.) > > Also, https://tools.ietf.org/html/rfc1945#section-3.1 says that the > client is obligated to interpret any response as long as it's > formatted like a version 0.9 or version 1.0 response. > > So, technically speaking, this is a J implementation error. > > -- > Raul > > On Tue, Jun 27, 2017 at 10:29 PM, bill lam <[email protected]> wrote: > > The response HTTP/1.1 500 Internal Server Error > > is strange since jandroid sedn HTTP/1.0 request to server. > > jandroid socket can not handle HTTP/1.1 response. > > > > What if you connect to mobile data instead of wifi? > > > > There should be no download during initial boot, jandroid just > > decompress and copy what are already inside apk to sdcard. > > > > Вт, 27 июн 2017, Tom Arneson написал(а): > >> Bill, I did your steps but still get the connection failed message when I > >> try using pacman or jpkg > >> > >> Connection failed: HTTP/1.1 500 Internal Server Error > >> > >> this website > >> [https://www.lifewire.com/500-internal-server-error-explained-2622938] > >> says error 500 is almost always caused by the server. > >> > >> I don't know why my tablet doesn't have this problem and my phone only > >> started having the problem maybe a week ago. I've tried many times today > >> on the chance this is a timing or busy problem, as you said a temporary > >> internet connection problem. > >> Both my tablet and phone connect with WIFI to the same cable modem. > >> > >> My next try maybe to uninstall J and reinstall. > >> > >> One more thought: running dver'' and then restarting J does cause an > >> apparent download and that seems to work OK. > >> > >> I'll try again in the morning > >> > >> -----Original Message----- > >> From: General [mailto:[email protected]] On Behalf Of > >> Bill > >> Sent: Tuesday, June 27, 2017 18:53 > >> To: [email protected] > >> Subject: Re: [Jgeneral] Packatge manager problem on android phone > >> > >> try restore assets by > >> dver'' > >> then restart J to decompress assets, and restart J again. > >> > >> Sent from my iPhone > >> > >> On 28 Jun, 2017, at 6:06 AM, "Tom Arneson" <[email protected]> wrote: > >> > >> > It works ok on my Android tablet, but on the phone, I've been getting > >> > this error message for several days. I have shut down and restarted > >> > the phone > >> > > >> > -----Original Message----- > >> > From: General [mailto:[email protected]] On Behalf > >> > Of bill lam > >> > Sent: Tuesday, June 27, 2017 10:10 > >> > To: [email protected] > >> > Subject: Re: [Jgeneral] Packatge manager problem on android phone > >> > > >> > It works for me. Is it a temporary internet connection problem? > >> > > >> > Вт, 27 июн 2017, Tom Arneson написал(а): > >> >> My android phone will update addons with either Package Manager or > >> >> the jpkg utility. The error message is: Connection failed: HTTP/1.1 > >> >> 500 Internal Server Error > >> >> > >> >> > >> >> > >> >> NB. JVERSION on phone > >> >> > >> >> > >> >> > >> >> Engine: j806/j64/android > >> >> > >> >> Beta: commercial/2017-05-02T09:40:49 > >> >> > >> >> Library: 8.06.02 > >> >> > >> >> J Android: 1.0.15/24 > >> >> > >> >> Platform: Android 64 (arm64-v8a) > >> >> > >> >> Installer: j805 install > >> >> > >> >> InstallPath: > >> >> /storage/emulated/0/Android/data/com.jsoftware.j.android/files > >> >> > >> >> Contact: www.jsoftware.com > >> >> > >> >> > >> >> > >> >> The phone os: Android 7.0 > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> --------------------------------------------------------------------- > >> >> - For information about J forums see > >> >> http://www.jsoftware.com/forums.htm > >> > > >> > -- > >> > regards, > >> > ==================================================== > >> > GPG key 1024D/4434BAB3 2008-08-24 > >> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver > >> > subkeys.pgp.net --armor --export 4434BAB3 > >> > ---------------------------------------------------------------------- > >> > For information about J forums see http://www.jsoftware.com/forums.htm > >> > > >> > ---------------------------------------------------------------------- > >> > For information about J forums see http://www.jsoftware.com/forums.htm > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > > > > -- > > regards, > > ==================================================== > > GPG key 1024D/4434BAB3 2008-08-24 > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
