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

"schannel: failed to retrieve ALPN result" when running on Windows 7 #412

Closed
attibalazs opened this issue Oct 27, 2016 · 4 comments
Closed

Comments

@attibalazs
Copy link

I`m running into issues on Windows 7, did anyone else encounter this problem ?

  File "C:\Users\myuser\AppData\Local\Continuum\Anaconda3\lib\site-packages\homura.py", line 167, in curl
    c.perform()
pycurl.error: (35, 'schannel: failed to retrieve ALPN result')

Might be an issue related to curl:
curl/curl#840

Looks like this is fixed in the latest version of curl 7.50:
curl/curl@34855fe

@raunilillemets
Copy link

raunilillemets commented Nov 16, 2016

I have the same problem on Windows 7. Same script works on Windows 10. I am using Sentinelsat module version 0.7.1, which uses pycurl version 7.43.0.

Trace:
File "C:\Anaconda3\lib\site-packages\homura.py", line 274, in download hm.start() File "C:\Anaconda3\lib\site-packages\homura.py", line 196, in start raise e File "C:\Anaconda3\lib\site-packages\homura.py", line 179, in start self.curl() File "C:\Anaconda3\lib\site-packages\homura.py", line 167, in curl c.perform() pycurl.error: (35, 'schannel: failed to retrieve ALPN result')

@attibalazs Sorry for ignorance: I do not know how pycurl and curl versions are related. Does Your comment mean that pycurl should internally use a newer version of curl?

@attibalazs
Copy link
Author

@raunilillemets i think pycurl wraps curl/libcurl, but double check please, it`s been a while since i looked int o this.

I did log a workaround here for sentinelsat https://github.com/ibamacsr/sentinelsat/issues/58
nothing fancy, i just went in and change the code to use requests instead of homura, which uses pycurl

@p
Copy link
Member

p commented Jan 14, 2017

This simply needs a pycurl rebuild against a recent libcurl.

@p
Copy link
Member

p commented Dec 7, 2017

New release is out.

@p p closed this as completed Dec 7, 2017
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

3 participants