Failed to open TCP connection to repo2.maven.org:80 while making executable war with warbler

424 views Asked by At

I'm new to warbler and currently trying to learn some basic things.

Running

warble executable war

is creating an error

Downloading jetty-runner-9.2.9.v20150224.jar
warble aborted!
Errno::ETIMEDOUT: Failed to open TCP connection to repo2.maven.org:80 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. -
connect(2) for "repo2.maven.org" port 80) - http://repo2.maven.org/maven2/org/eclipse/jetty/jetty-runner/9.2.9.v20150224/jetty-runner-9.2.9.v20150224.jar
C:/Ruby23-x64/bin/warble:22:in `load'
C:/Ruby23-x64/bin/warble:22:in `<main>'

I know the reason - there're some security limitations in our corporate network.

I asume I need to use a mirror, but I don't know what and where in warbler configurations I need to change.

1

There are 1 answers

2
Vera Osadchikova On BEST ANSWER

Problem was solved by adding my local mirror link to MAVEN_REPO env variable.