soraxas / echo360

Commandline tool for automated downloads of echo360 videos hosted by university
https://cs.tinyiu.com/echo360
MIT License
276 stars 52 forks source link

Max retries error on Chrome login #27

Closed michaelm2391 closed 3 years ago

michaelm2391 commented 4 years ago

I'm trying to login to e360's cloud via Chrome, and before I get the chance to input my credentials, I receive this error:

requests.exceptions.SSLError: HTTPSConnectionPool(host='echo360.org.au', port=443): Max retries exceeded with url: /section/bed1a3e7-918b-4e9d-98a3-c07effa1fb4d/syllabus (Caused by SSLError(SSLEOFError(8, u'EOF occurred in violation of protocol (_ssl.c:590)'),))

Logging into echo360 before executing the script doesn't work either. And when I try to use --firefox, it gives me this error:

IOError: [Errno socket error] [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)

Thanks in advance.

soraxas commented 4 years ago

Seems to me that this is a problem with expiring or untrusted SSL certificate on the site that you are trying to access.

For your institution where you need to login, is their SSL certificate valid or up-to-date? e.g., when you open the website in chrome, is there a padlock on the left-side of the URL address bar (which indicate if the site is secure or not).

See also #26. There weren't any special configs in this module, but the default behaviour of almost all networking libraries will rejects address with invalid credentials (e.g. if their credentials expired but the owner did not renew it)

michaelm2391 commented 4 years ago

Hmm I'm just trying to access a page on the standard echo360.org.au server. Padlock icon is visible.

soraxas commented 4 years ago

You can try to use the workaround method in the linked issue (which dangerously ignore the credentials issues, making you susceptible to man-in-the-middle attack) but depending on your use case it might be a justifiable workaround. On 24 August 2020 3:02:53 pm michaelm2391 notifications@github.com wrote:

Hmm I'm just trying to access a page on the standard echo360.org.au server. Padlock icon is visible.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.