help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pkg install -forge issues?


From: MattHeffron
Subject: Re: pkg install -forge issues?
Date: Fri, 16 Dec 2016 15:10:34 -0800 (PST)

Like Mike Miller, I'm having problems with pkg and seeing similar symptoms:
pkg list -forge
fails with
error: pkg: could not read URL, please verify internet connection
error: called from
    list_forge_packages at line 29 column 5
    pkg at line 359 column 11

/(This is Octave 4.2.0 win 64. Installed today.)/

I tried the suggested command:
   [txt, status] = urlread ("http://packages.octave.org/gsl/index.html";)
And got the same result as Mike:
 txt =
 status = 0

And it works correctly in Chrome, redirecting to:
https://octave.sourceforge.io/gsl/index.html

The curl -v /test/ fails on the *redirection*:

...\bin>curl -v http://packages.octave.org/gsl/index.html
* timeout on name lookup is not supported
*   Trying 173.236.224.198...
* Connected to packages.octave.org (173.236.224.198) port 80 (#0)
> GET /gsl/index.html HTTP/1.1
> Host: packages.octave.org
> User-Agent: curl/7.49.1
> Accept: */*
>
< HTTP/1.1 303 See Other
< Via: 1.1 10.13.20.66 (McAfee Web Gateway 7.6.2.6.0.22529)
< Date: Fri, 16 Dec 2016 22:55:04 GMT
< Vary: Accept-Encoding
< Server: Apache
< Location: http://octave.sourceforge.net/gsl/index.html
< Connection: Keep-Alive
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 251
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>303 See Other</title>
</head><body>
<h1>See Other</h1>
<p>The answer to your request is located <a
href="http://octave.sourceforge.net/gsl/index.html">here</a>.</p>
</body></html>
* Connection #0 to host packages.octave.org left intact

Trying curl on the redirection /endpoint/:
...\bin>curl -v https://octave.sourceforge.io/gsl/index.html
Fails with the same certificate verification error as Mike showed:

...\bin>curl -v https://octave.sourceforge.io/gsl/index.html
* timeout on name lookup is not supported
*   Trying 216.34.181.153...
* Connected to octave.sourceforge.io (216.34.181.153) port 443 (#0)
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_CBC_SHA1
* server certificate verification failed. CAfile: none CRLfile: none
* Closing connection 0
curl: (60) server certificate verification failed. CAfile: none CRLfile:
none
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a
"bundle"
/... etc./

The other /things to try/ all gave the same results as Mike.

I thought the addition of the redirection failure information might be
useful/noteworthy.





--
View this message in context: 
http://octave.1599824.n4.nabble.com/pkg-install-forge-issues-tp4681058p4681086.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]