thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Mark S." <ander...@mitre.org>
Subject Error transferring file: Connection timed out [refused]
Date Mon, 23 Jan 2012 23:54:03 GMT
I'm trying to build Thrift 0.8.0.  When I do "sudo make install", I get some
errors in the java directory: "Connection timed out" or "Connection
refused".

I'm on Ubuntu 10.04 LTS. I'm behind a firewall.  I have set the HTTP_PROXY
and JAVA_HOME envars.  I figured out that I needed to add the following to
build.properties:

proxy.host=hostname.domain.com
proxy.port=80
# username and password are not required to use my proxy
proxy.user=    
proxy.pass=
proxy.enabled=anything

But, when the script gets to the mvn-init section, I get the following:

mvn-init:
. . .
[artifact:dependencies] Downloading
org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.pom from repository central at
http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Connection timed out
[artifact:dependencies] [WARNING] Unable to get resource '
org.slf4j:slf4j-api:pom:1.5.8' from repository central
(http://repo1.maven.org/maven2): Error transferring file: Connection timed
out
. . .

I get "Connection timed out" when trying to download: 
  org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.pom 
  commons-lang/commons-lang/2.5/commons-lang-2.5.pom
  org/apache/ httpcomponents/httpcore/4.1.3/httpcore-4.1.3.pom

and I get "Connection refused" when trying to download:
  javax/servlet/servlet-api/2.5/servlet-api-2.5.pom
  javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
  org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.pom
  org/apache/ httpcomponents/httpclient/4.1.2/httpclient-4.1.2.jar
  org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar
  commons-lang/commons-lang/2.5/commons-lang-2.5.jar
  org/apache/ httpcomponents/httpcore/4.1.3/httpcore-4.1.3.jar

My Ubuntu is running in a VM (host OS is Windows XP Pro).  When I took my
host machine out of the office, where I didn't need to use a proxy, "make
install" worked perfectly.  When I'm in the office, behind the firewall, I
get the errors.  What's wrong?  Are there some ports that have to be opened
on the firewall?

Mark
(not a Maven or Ant wizard)






Mime
View raw message