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

openssl not available for download #1047

Closed
Tyrn opened this issue Apr 1, 2020 · 7 comments
Closed

openssl not available for download #1047

Tyrn opened this issue Apr 1, 2020 · 7 comments

Comments

@Tyrn
Copy link

Tyrn commented Apr 1, 2020

Today on creating a new project, failed to download openssl:

[INFO]:    Downloading openssl from https://www.openssl.org/source/openssl-1.1.1.tar.gz
Traceback (most recent call last):
...
ValueError: read of closed file

As of 2020-03-31 openssl-1.1.1.tar.gz is uploaded no longer:
Downloads (it's openssl-1.1.1f.tar.gz now)

Where am I supposed to change the file name?

@bellorini
Copy link

bellorini commented Apr 1, 2020

Hello, I had the same issue today.

Do not recommend doing what I did, because i`m a newbie and I do not know the consequences, but:
change the line 50 of the file at your local dir

.buildozer/android/platform/python-for-android/pythonforandroid/recipes/openssl/__init__.py

50. url_version = '1.1.1f' # <- here, add the *f*

I hope it helps temporarily.

Edit.: ini.py to __init__.py

@misl6
Copy link
Member

misl6 commented Apr 1, 2020

It's more a python-for-android issue, but:
https://www.openssl.org/source/openssl-1.1.1.tar.gz is working for me.

Cam you confirm that and close the issue if it's fixed?

@AndreMiras
Copy link
Member

AndreMiras commented Apr 1, 2020

I could reproduce just now:

$ wget https://www.openssl.org/source/openssl-1.1.1.tar.gz
--2020-04-01 20:03:23--  https://www.openssl.org/source/openssl-1.1.1.tar.gz
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving www.openssl.org (www.openssl.org)... 95.100.127.91, 2a02:26f0:e0:5b7::c1e, 2a02:26f0:e0:595::c1e
Connecting to www.openssl.org (www.openssl.org)|95.100.127.91|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-04-01 20:03:23 ERROR 404: Not Found.

$ wget https://www.openssl.org/source/openssl-1.1.1f.tar.gz
--2020-04-01 20:03:29--  https://www.openssl.org/source/openssl-1.1.1f.tar.gz
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving www.openssl.org (www.openssl.org)... 95.100.127.91, 2a02:26f0:e0:5b7::c1e, 2a02:26f0:e0:595::c1e
Connecting to www.openssl.org (www.openssl.org)|95.100.127.91|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9792828 (9.3M) [application/x-gzip]
Saving to: ‘openssl-1.1.1f.tar.gz’

openssl-1.1.1f.tar.gz                                       100%[==========================================================================================================================================>]   9.34M  4.13MB/s    in 2.3s    

2020-04-01 20:03:32 (4.13 MB/s) - ‘openssl-1.1.1f.tar.gz’ saved [9792828/9792828]
$

But not in my buildozer build 🤔
Anyway here's a PR kivy/python-for-android#2117

@misl6
Copy link
Member

misl6 commented Apr 1, 2020

Yeah, probably there's a (DNS based) load balancer and an endpoint is having difficulties:
As you can see, I'm downloading from a different endpoint. 😄

--2020-04-01 20:10:52--  https://www.openssl.org/source/openssl-1.1.1.tar.gz
Resolving www.openssl.org (www.openssl.org)... 104.83.84.113, 2a02:26f0:128:39c::c1e, 2a02:26f0:128:38f::c1e
Connecting to www.openssl.org (www.openssl.org)|104.83.84.113|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8337920 (8,0M) [application/x-gzip]
Saving to: ‘openssl-1.1.1.tar.gz’

openssl-1.1.1.tar.gz                                  11%[============>                                                                                                         ] 937,02K  1,12MB/s 

@AndreMiras
Copy link
Member

Yes definitely seems to be it

@thica
Copy link

thica commented Apr 5, 2020

Hi, they just changed he open ssl version to "f" and changed the location for the 1.1.1. So if it works for you, you might get the file from a cache!

@AndreMiras
Copy link
Member

I think the issue is gone, and was also related with a temporary hiccup of the provider. Feel free to reopen to discuss it further otherwise

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

5 participants