Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Import of URL no longer works in V9

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120033] Re: Import of URL no longer works in V9
  • From: "Hans Michel" <hmichel at cox.net>
  • Date: Tue, 5 Mar 2013 22:15:01 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20130305091905.2DDFF6795@smc.vnet.net>

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 at gmail.com] 
Sent: Tuesday, March 05, 2013 3:19 AM
To: mathgroup at smc.vnet.net
Subject: [mg120033] 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  
 




  • Prev by Date: Problem in solving Differential Equation
  • Next by Date: Re: Splice fails (Mathematica 9; Windows)
  • Previous by thread: Import of URL no longer works in V9
  • Next by thread: Integrating piecewise functions.