Getting past firewalls

tmatsumoto's Avatar

tmatsumoto

06 Oct, 2011 10:56 PM

Hi there,
We are behind a corporate firewall which blocks pretty much everything going out to the internet. Unfortunately our firewall is based on IP and not hostnames. We are trying to download some gem files but it looks like some of the files are on servers with a different IP, so they are being filtered out. Is there a list of IP addresses associated with rubygems.org what we can add to the access list on our firewall?

  1. Support Staff 1 Posted by Eric Hodel on 10 Oct, 2011 05:40 PM

    Eric Hodel's Avatar

    RubyGems connects to rubygems.org and Amazon Cloudfront so you will need to allow access to both sites. The IP addresses of Amazon Cloudfront are not under RubyGems' control.

    Additionally, I just wrote:

    http://help.rubygems.org/kb/rubygems/installing-gems-with-no-network

    Which describes how to install gems when the target machine has no network connectivity.

  2. 2 Posted by adborns on 18 Jul, 2014 05:31 PM

    adborns's Avatar

    I'm having a similar issue getting around our company proxy server.

    $ gem install rails --http-proxy http://me:password[at]proxy.ser.ver/proxy.pac:80

    ERROR: Could not find a valid gem 'rails' (>= 0) in any repository
    ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
    bad response Not Found 404 (http://rubygems.org/latest_specs.4.8.gz)

    Any suggestions on these errors?

  3. Support Staff 3 Posted by Eric Hodel on 18 Jul, 2014 06:59 PM

    Eric Hodel's Avatar

    Your proxy URL is not a proxy URL but a proxy auto configuration. You'll need to extract the proxy server URL from it.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Oct, 2014 04:34 PM
30 Oct, 2014 02:46 PM
28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM