SSL problem

Michel Van den Bergh vdbergh at luc.ac.be
Thu Jan 3 10:56:00 EST 2002


Unfortunately it still doesn't work with urllib2. I get the same error.
I upgraded to the lastest versions of the openssl libraries. To no avail.
I am using RH 7.1.

import sys, httplib, urllib, urllib2, re, getopt,time

h=urllib2.urlopen("https://telemeter.telenet.be/be/telenet/afe/isps/TelemeterLogin.js")

data=h.read()
print data

Best regards,
Michel






Syver Enstad wrote:

> Michel Van den Bergh <vdbergh at luc.ac.be> writes:
>
> > Needless to say that Netscape and Konqueror can access this URL
> > without
> >
> > problems.
> > The same script works fine for other URLs.
>
> Hi Michel, I tried the same url with urllib2 it returned lots of
> stuff, the first lines I got was this:
>
> <!--
> /*******************************************************************************
> **************
> *1. Program Name                        :       TelemeterLogin.jsp
> *2. Description                         :       Login screen for telemeter
> *3. Version                             :       0.0a
> *4. Modification Log    :
> *Version                Date                    Author
> Modification
> *0.0a                   19/09/2001              Nilesh Dhande
> Created
> *
> ********************************************************************************
> **************/
> -->
>
> Have you tried using urllib2/urllib instead? This might help you
> diagnose where the error is located.
>
> --
>
> Vennlig hilsen
>
> Syver Enstad

--
Michel Van den Bergh                      Tel. 32-11-26.82.27
http://alpha.luc.ac.be/Research/Algebra   Fax. 32-11-26.82.99
-------------------------------------------------------------
Take back your computer. Use Gnu/Linux.






More information about the Python-list mailing list