Right, it seems that busybox can't handle 301 response
properly.

Connecting to www.jsoftware.com (52.23.108.158:80)
  HTTP/1.1 301 Moved Permanently
  Date: Sat, 06 Apr 2019 06:52:29 GMT
  Server: Apache/2.4.7 (Ubuntu)
  Location: https://www.jsoftware.com/jal/j807/revision.txt
Connecting to www.jsoftware.com (52.23.108.158:443)
  HTTP/1.1 400 Bad Request
wget: server returned error: HTTP/1.1 400 Bad Request

version of windows busybox is 1.29. I tried linux busybox v1.30
which can work fine for response 301

Connecting to www.jsoftware.com (52.23.108.158:80)
  HTTP/1.1 301 Moved Permanently
  Date: Sat, 06 Apr 2019 07:01:14 GMT
  Server: Apache/2.4.7 (Ubuntu)
  Location: https://www.jsoftware.com/jal/j807/revision.txt
Connecting to www.jsoftware.com (52.23.108.158:443)
  HTTP/1.1 200 OK
  Date: Sat, 06 Apr 2019 07:01:15 GMT
  Server: Apache/2.4.7 (Ubuntu)
  Last-Modified: Thu, 04 Apr 2019 03:09:33 GMT
  ETag: "3-585abb3080a6a"
  Accept-Ranges: bytes
  Content-Length: 3
  Connection: close
  Content-Type: text/plain


Sat, 06 Apr 2019, Ric Tikkanz написал(а):
> It appears that while wget will work with http://  busybox doesn't. So:
> 
> 
> httpgetr_jpacman_ 'http://www.jsoftware.com/jal/j807/revision.txt';2
> 
> works fine on Linux, but not on Windows, while
> 
> httpgetr_jpacman_ 'https://www.jsoftware.com/jal/j807/revision.txt';2
> 
> works on both.
> 
> On Sat, Apr 6, 2019 at 7:07 PM bill lam <[email protected]> wrote:
> 
> > both linux and mac are not affected. Your base library seems to be updated
> > already. It should use busybox to access. If it still doesn't work, try the
> > pre-j807 way as mentioned.
> >
> > On Sat, Apr 6, 2019, 1:53 PM Ric Sherlock <[email protected]> wrote:
> >
> > > Thanks Bill,
> > > Yes I saw that.
> > > My thinking was as follows: I have the base library reported in that post
> > > that should work.
> > > Given that it is working for me on Linux and not on Windows suggested to
> > me
> > > that the server itself is running OK.
> > > I'm currently thinking that the Windows "config" may not be right.
> > > Troubleshooting now, but thought I'd give a heads up in case I'm not the
> > > only one!
> > > Cheers,
> > >
> > > On Sat, Apr 6, 2019 at 6:45 PM bill lam <[email protected]> wrote:
> > >
> > > > please see the post in JProgramming forum on https by Chris Burke
> > > > yesterday.
> > > >
> > > > On Sat, Apr 6, 2019, 1:33 PM Ric Sherlock <[email protected]> wrote:
> > > >
> > > > > I'm currently having problems using the package manager from Windows
> > > (see
> > > > > below).
> > > > >
> > > > > On the same machine using Ubuntu via WSL it works fine. Any
> > > suggestions?
> > > > >
> > > > >
> > > > >  load 'pacman'
> > > > >
> > > > > 'update' jpkg ''
> > > > >
> > > > > Updating server catalog...
> > > > >
> > > > > Connection failed: wget: server returned error: HTTP/1.1 400 Bad
> > > Request
> > > > >
> > > > >
> > > > > Connection failed:
> > > > >
> > > > >
> > > > > wget: server returned error: HTTP/1.1 400 Bad Request
> > > > >
> > > > >
> > > > >
> > > > > JVERSION
> > > > >
> > > > > Engine: j807/j64/windows
> > > > >
> > > > > Release-d: commercial/2019-03-18T13:21:35
> > > > >
> > > > > Library: 8.07.25
> > > > >
> > > > > Qt IDE: 1.7.9s/5.9.6
> > > > >
> > > > > Platform: Win 64
> > > > >
> > > > > Installer: J807 install
> > > > >
> > > > > InstallPath: c:/program files/j64-807
> > > > >
> > > > > Contact: www.jsoftware.com
> > > > >
> > ----------------------------------------------------------------------
> > > > > 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
> ----------------------------------------------------------------------
> 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

Reply via email to