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

test suite fails with openssl 1.1.1e #22

Closed
FelixSchwarz opened this issue Mar 22, 2020 · 1 comment
Closed

test suite fails with openssl 1.1.1e #22

FelixSchwarz opened this issue Mar 22, 2020 · 1 comment

Comments

@FelixSchwarz
Copy link

The test suite fails after upgrading openssl to 1.1.1e on Fedora rawhide ("Fedora 33"):

======================================================================
ERROR: test02_fetch_from_url (__main__.TestUtilsModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_utils.py", line 32, in test02_fetch_from_url
    res = fetch_from_url(Constants.TEST_URI, config)
  File "/builddir/build/BUILD/ndg_httpsclient-0.5.1/ndg/httpsclient/utils.py", line 100, in fetch_from_url
    raise URLFetchError(return_message)
ndg.httpsclient.utils.URLFetchError: Error: [('SSL routines', 'ssl3_read_n', 'unexpected eof while reading')]
======================================================================
FAIL: test03_open_url (__main__.TestUtilsModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_utils.py", line 38, in test03_open_url
    self.assertEqual(res[0], 200,
AssertionError: 0 != 200 : open_url for 'https://localhost:4443' failed
----------------------------------------------------------------------

This might be related/similar to another bug report for urllib3: unexected eof with OpenSSL 1.1.1e #1825.

Downstream Fedora issue will complete build logs: https://bugzilla.redhat.com/show_bug.cgi?id=1815903

@FelixSchwarz
Copy link
Author

The openssl change was reverted so you don't have to solve this right now. I'm not sure yet if the change will reappear in a future version openssl and/or if Python will be adapted to handle this.

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

1 participant