Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

While trying to run JPT getting a connection error exception Edited

I have setup a server that is in the same locale as the the JDC servers

I get a response from the dns server when pinging

I have create a user account with admin

final URI myJira = new URI("dnshostname");
jiraOnPremiseTest.setAdminLogin("jpt");
jiraOnPremiseTest.setAdminPassword("jpt@test");

when I try to run the JPT example with this command ./mvnw verify

I get a time out exception shown below

[jpt@esjirdv01 btf-test]$ ./mvnw verify
Exception in thread "main" java.net.ConnectException: Connection timed out (Connection timed out)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
at org.apache.maven.wrapper.DefaultDownloader.downloadInternal(DefaultDownloader.java:73)
at org.apache.maven.wrapper.DefaultDownloader.download(DefaultDownloader.java:60)
at org.apache.maven.wrapper.Installer.createDist(Installer.java:64)
at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:121)
at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:55)
[jpt@esjirdv01 btf-test]$ [jpt@esjirdv01 btf-test]$ ./mvnw verify

1 answer

0 votes
Andy Heinzer Atlassian Team Nov 27, 2019

Hi Reg,

I understand that you're trying to use the Jira-performance-tests and you seem to be running into some problems when connecting here.  The nature of that specific error message would tend to indicate that this script/application can't reach the address being input here.

From looking at some of the examples in that repo, it looks to me like you will need to specify the protocol (http or https) as well as the address (IP or hostname), and possibly even the port number and/or context path (although these last two are optional in some environments).

final URI myJira = new URI("http://localhost:8090/jira/");

I understand if you do not want to post your exact address, but I just wanted to confirm first that you're using the http or https here in the value you enter into that URI.  Try to define the complete address for that value and see if that helps.  If not, please let me know more about the protocol, address type, port number, and if there is a context path to reach this Jira site.

Thanks,

Andy

I have checked my URI.

I found out the server has no connection to the internet So I had to download all packages and ftp to the server.

A more comprehensive setup guide would be helpful.....

Facing same issue.

final URI myJira = new URI("https://jiradomain/jira/");

My server has access to internet - added the proxy in settings.xml of maven but still getting same error.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you