#๐Ÿ”’ Trying to fix SSL Handshake Error

8 messages ยท Page 1 of 1 (latest)

thorn moonBOT
#

@livid olive

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

livid olive
#

This Code:

import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline

pd.set_option('display.max_columns',1000)
pd.set_option('display.max_rows',1000)

import lxml
import html5lib
from urllib.request import urlopen
import time

from bs4 import BeautifulSoup
import requests

url = 'https://www.retrosheet.org/boxesetc/1985/Kgoodd0010021985.htm'
page = requests.get(url)```
#

Gives me this error:

SSLError: HTTPSConnectionPool(host='www.retrosheet.org', port=443): Max retries exceeded with url: /boxesetc/1985/Kgoodd0010021985.htm (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1006)')))

#

Any help would be great, just not understanding why it will not work

dense barn
#

also really old Apache version (2.4.6) if the version string in the headers from the server can be trusted

thorn moonBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.