Skip to content

SSL errors on otherwise valid xml feed #240

@pybites

Description

@pybites

REPORT A BUG/PROBLEM


Hi, I want to notify you of a bug/problem that is happening on the Planet.

I am using:
O.S: Mac
Browser: Chrome
Platform: (mobile, tablet, desktop) desktop

Problem

tseaver confirmed error:
SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

Details

As confirmed in #239 both feedparser 4.1 and 5.2 throw ssl errors in python 2.x: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

This could solve it but feels like a hack

import ssl
https://stackoverflow.com/questions/27835619/urllib-and-ssl-certificate-verify-failed-error
ssl._create_default_https_context = ssl._create_unverified_context

This probably happens for more feeds.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions