Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13722

Re: Import of URL no longer works in V9

From "Hans Michel" <hmichel@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Import of URL no longer works in V9
Date 2013-03-06 03:13 +0000
Message-ID <kh6c8e$b1o$1@smc.vnet.net> (permalink)
References <20130305091905.2DDFF6795@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


John:

The underlying URL has moved.

The following is brief log of transaction using WFetch.

WWWConnect::Connect("edms.cern.ch","80")\n
IP = "137.138.160.201:80"\n
source port: 50435\r\n
REQUEST: **************\n
POST /cedar/plsql/codes.list?initial=X&type=CODE&code=EqCode HTTP/1.1\r\n
Host: edms.cern.ch\r\n
Accept: */*\r\n
\r\n
RESPONSE: **************\n
HTTP/1.1 302 Found\r\n
Date: Tue, 05 Mar 2013 19:57:52 GMT\r\n
Server: Oracle-Application-Server-10g\r\n
Location:
https://edms.cern.ch/cedar/plsql/codes.list?initial=X&type=CODE&code=EqCode\
r\n
Transfer-Encoding: chunked\r\n
Content-Type: text/html; charset=iso-8859-1\r\n
X-Pad: avoid browser bug\r\n
\r\n
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n
<HTML><HEAD>\n
<TITLE>302 Found</TITLE>\n
</HEAD><BODY>\n
<H1>Found</H1>\n
The document has moved <A
HREF="https://edms.cern.ch/cedar/plsql/codes.list?initial=X&amp;type=CODE&am
p;code=EqCode">here</A>.<P>\n
<HR>\n
<ADDRESS>Oracle-Application-Server-10g/10.1.3.5.0 Oracle-HTTP-Server Server
at edms.cern.ch Port 80</ADDRESS>\n
</BODY></HTML>\n
finished.

Just because the URL resolves, redirects and displays does not mean that
that URL will now work in Mathematica version 9. Does the same URL still
work in Mathematica 8?


If I figure out what settings URLFetch needs I will forward a solution when
found.

Hans
-----Original Message-----
From: John Jowett [mailto:John.M.Jowett@gmail.com] 
Sent: Tuesday, March 05, 2013 3:19 AM
Subject: Import of URL no longer works in V9

Hello,
     In Mathematica 8,I used to be able to do import the contents of this
URL

Import["http://edms.cern.ch/cedar/plsql/codes.list?initial=X&type=CODE&code=
EqCode"] 


Now, in Mathematica 9, I just get

During evaluation of In[9]:= URLFetch::invhttp: SSL connect error. >>

During evaluation of In[9]:= FetchURL::conopen: The connection to URL
http://edms.cern.ch/cedar/plsql/codes.list?initial=X&type=CODE&code=EqCode
cannot be opened. If the URL is correct, you might need to configure your
firewall program, or you might need to set a proxy in the Internet
connectivity tab of the Preferences dialog (or by calling SetInternetProxy).
For HTTPS connections, you might need to inspect the authenticity of the
server's SSL certificate and choose to accept it.

Out[9]= $Failed 

This is on Win7, 64-bit.   I've tried following up various parts of the
error message without success.  I have no problem seeing the contents of the
URL in two Web browsers (Chrome, IE. So I think it is probably not the last
part of the message although I'm not sure what I would have to do in that
case.

Can anybody help?
Thanks,
John Jowett  
 

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Import of URL no longer works in V9 "Hans Michel" <hmichel@cox.net> - 2013-03-06 03:13 +0000

csiph-web