Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79668
| From | Roland Hedberg <roland.hedberg@umu.se> |
|---|---|
| Date | 2014-10-25 16:01 +0200 |
| Subject | Re: Weird connection problem |
| References | <8622C927-6AAA-4EC9-81B7-E1C899986CD3@adm.umu.se> <CAPM-O+wAtVcwaKu0oh_FUuU4WSSHYebcpzdZZ12n-Y7pDDLcsA@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15165.1414245677.18130.python-list@python.org> (permalink) |
It’s a special HTTPS url and searching further it seems to be a SNI problem talked about here: http://stackoverflow.com/questions/18578439/using-requests-with-tls-doesnt-give-sni-support > 25 okt 2014 kl. 08:48 skrev Joel Goldstick <joel.goldstick@gmail.com>: > > On Sat, Oct 25, 2014 at 9:40 AM, Roland Hedberg <roland.hedberg@umu.se> wrote: >> When I try to access a URL using requests I always get: >> socket.error: [Errno 104] Connection reset by peer >> >> If I try to access the same URL using curl I get no error message instead I get the page. >> The same result if I use a web browser like Safari. >> >> But, if I use python httplib I also get Errno 104. >> >> What gives ? >> >> Oh, by the way it’s a HTTPS url. >> >> — Roland > > Is this for any url or a specific one? >> -- >> https://mail.python.org/mailman/listinfo/python-list > > > > -- > Joel Goldstick > http://joelgoldstick.com > -- > https://mail.python.org/mailman/listinfo/python-list — Roland ”Being able to think like a child is an important attribute of being an adult” - Eddie Izzard
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Weird connection problem Roland Hedberg <roland.hedberg@umu.se> - 2014-10-25 16:01 +0200
csiph-web