rubygems.org: Vodafone Secure net is blocking https://rubygems.org

Describe the problem as clearly as you can

Try either one of:

Did you try upgrading RubyGems?

Does not seem to be related to version of rubygems but the hosting of rubygems.

Steps to reproduce the problem

Try to build the following dockerfile:

FROM ruby:${VARIANT:-3.2-buster}
RUN apt-get update \
    && apt-get install -y apt-transport-https ca-certificates\
    ruby

RUN gem install bundler

Which command did you run?

  • gem install bundler
  • navigate through browser

What were you expecting to happen?

  • For bundler to be installed
  • For rubygems to be displayed

What actually happened?

Error related to certificates:

#0 0.362 ERROR:  SSL verification error at depth 0: self signed certificate (18)                                                                          
#0 0.362 ERROR:  Certificate /C=US/ST=USA/L=New York/O=Optimization/OU=Optimization/CN=tomcat is not trusted                                              
#0 0.412 ERROR:  SSL verification error at depth 0: self signed certificate (18)
#0 0.412 ERROR:  Certificate /C=US/ST=USA/L=New York/O=Optimization/OU=Optimization/CN=tomcat is not trusted
#0 0.467 ERROR:  SSL verification error at depth 0: self signed certificate (18)
#0 0.467 ERROR:  Certificate /C=US/ST=USA/L=New York/O=Optimization/OU=Optimization/CN=tomcat is not trusted
#0 0.469 ERROR:  Could not find a valid gem 'bundler' (>= 0), here is why:
#0 0.469           Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 peeraddr=62.74.130.28:443 state=error: certificate verify failed (self signed certificate) (https://rubygems.org/specs.4.8.gz)
#0 0.531 ERROR:  SSL verification error at depth 0: self signed certificate (18)
#0 0.531 ERROR:  Certificate /C=US/ST=USA/L=New York/O=Optimization/OU=Optimization/CN=tomcat is not trusted
#0 0.589 ERROR:  SSL verification error at depth 0: self signed certificate (18)
#0 0.589 ERROR:  Certificate /C=US/ST=USA/L=New York/O=Optimization/OU=Optimization/CN=tomcat is not trusted
------

Run gem env and paste the output below

Note the Dockerfile above.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 18 (7 by maintainers)

Most upvoted comments

thanks @duckinator 🙏
@simi yes, seems to be working, vodafone-block has vanished and the url is accessible now (at least from my end).

I’ve been talking with Vodafone. Hoping to have this resolved soon.

(The only way I could find to contact them is @VodafoneUK on Twitter; I don’t see any way to contact the Vodafone Secure Net team specifically.)

What we did was to ask them to remove the service “Secure Net” for us @julitrows