2 Replies Latest reply on Oct 14, 2014 1:01 AM by Kutir Mobility

    How should we install RhoConnect on Linux with restricted internet

    Graham Bird

      We have a situation where we have a Linux (Debian) server set up behind a very restrictive firewall that we need to install RhoConnect on.

      The only way (initially) to get installation files onto the server was to download them to a local machine, connect to the VPN and upload them to the Linux server.


      Setting up Rho through this mechanism has proved to be problematic as various installation methods seem to need to access external content which is unavailable: e.g. gem install rhoconnect needs to contact the rubygems site and dpkg --install rhoconnect<ver>.deb is trying to access ftp.ruby-lang.org site.


      Does anyone have a list of the items that we will need to download and install (and possibly the order to do so) or will the only option really be to provide access to the relevant sites?


      We may have slightly broken the rhoconnect installation method as we installed ruby manually (ruby-1.9.3-p484.tar.gz) after seeing the attempts to get it from the ruby sites, but this has not helped resolve the remote access errors.


      The examples of what we tried and the errors being received are below:

      >> sudo dpkg --install rhoconnect_4.0.4_all.deb

      Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.gz ...

      Failed to download ruby tarball: http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.gz\n

      Installation terminated. For troubleshooting see file /opt/rhoconnect/logs/rhoconnect_20140930171048.log ...

      dpkg: error processing package rhoconnect (--install):

      subprocess installed post-installation script returned error exit status 1

      Errors were encountered while processing:


      >> gem install rhoconnect -v4.0.4

      Connection refused - connect(2) (http://rubygems.org/latest_specs.4.8.gz)

      Kind regards,

      Graham Bird.