Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work around for authentication issue #56

Open
erietz opened this issue Dec 30, 2021 · 1 comment
Open

Work around for authentication issue #56

erietz opened this issue Dec 30, 2021 · 1 comment

Comments

@erietz
Copy link

erietz commented Dec 30, 2021

This is a fantastic piece of software! I had quite a difficult time getting logged into echo360 through the selenium browser and thought I would share my solution.

After entering my username into echo360, I was being redirected to the universities SSO and the redirection was causing problems. In fact, I was not able to navigate to any webpage besides google in the chrome instance due to the ssl error below :

This site can’t provide a secure connection googleweblight.com sent an invalid response. ERR_SSL_PROTOCOL_ERROR

I tried adding various options and capabilities to the webdriver Options

from selenium.webdriver.chrome.options import Options

but nothing worked.

What solved the issue was to change change the value of self._useragent in the EchoDownloader class in the file echo360/downloader.py to my user agent which I obtained from the site https://www.whatsmyua.info/

Hopefully this is helpful to someone.

@soraxas
Copy link
Owner

soraxas commented Dec 31, 2021

Thank you for your report!

It's my first time hearing user-agent string have the effect of introducing this error. I'm not sure what is the cause of this. But I'll keep this around in case it happens to others.

@soraxas soraxas pinned this issue Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants