SSL error with Coveralls on Ubuntu 20.04 env (dist: focal)

Originally posted at: https://github.com/lemurheavy/coveralls-ruby/issues/163 (No activity)

When using dist: focal in Travis CI, I get the following error:

Coveralls encountered an exception:
OpenSSL::SSL::SSLError
SSL_connect returned=1 errno=0 state=error: no protocols available

I have prepared a demo repo and results of each distro can be seen at https://travis-ci.org/github/LocoDelAssembly/coveralls

NOTE: Normally this failure won’t cause the build to fail, I added a negated grep to search for ‘OpenSSL::SSL::SSLError’ to force failure to better visualize which distros are having this problem.

Repo at https://github.com/LocoDelAssembly/coveralls

What can be done to fix this?

Thanks

2 Likes
Imprint