It's all about the answers!

Ask a question

RTC build failing with error : Caused by: org.apache.http.conn.HttpHostConnectException: Connect to xx.xx.xx.xx:9443 [/xx.xx.xx.xx] failed: EDC8127I Connection timed out.


Shalini Gupta (112) | asked Jul 17 '19, 3:19 p.m.
edited Jul 18 '19, 1:12 a.m.

 I am executing RTC build , but the build is failing with error "BUILD FAILED
* com.ibm.team.repository.common.TeamRepositoryException: Error logging in to repository https://xx.xx.xx.xx:9443/ccm/.  Verify that the repository address and credentials to log in are correct.

Caused by: org.apache.http.conn.HttpHostConnectException: Connect to xx.xx.xx.xx:9443 [/xx.xx.xx.xx] failed: EDC8127I Connection timed out."

I have tried changing the networking options from Windows->Preferences, but no luck. I have generated the password file using BLZBPASS job.Also, ping works successfully from my Windows machine(where RTC client is installed) to my Linux machine(where RTC server is installed).

Please suggest how can i resolve the issue.  


Comments
Sridevi Sangaiah commented Jul 18 '19, 12:01 a.m. | edited Jul 18 '19, 8:19 a.m.
JAZZ DEVELOPER

Can you please check if you are able to access the EWM(RTC) Web UI by navigating to the URL - https://xx.xx.xx.xx.6:9443/ccm/web - from a browser in the windows machine where the build engine is hosted?


Shalini Gupta commented Jul 18 '19, 1:36 a.m.

Yes, i am able to access the web UI on the URL . However,the connection says not secure. Is that creating any issue ?


Sridevi Sangaiah commented Jul 18 '19, 2:03 a.m.
JAZZ DEVELOPER

You can ignore the connection not secure warning and continue to navigate. Does the login page come up?


Shalini Gupta commented Jul 18 '19, 2:15 a.m.

 Yes, i can login into the page using the credentials that i have provided in build.


Sridevi Sangaiah commented Jul 18 '19, 2:28 a.m.
JAZZ DEVELOPER

Hope there is no proxy server configured in the browser. Also did you try connecting to the server from EWM(RTC) eclipse client and was it successful?


Sridevi Sangaiah commented Jul 18 '19, 2:57 a.m.
JAZZ DEVELOPER

Generally such errors occur because of some missing network configuration in the client machine.


Shalini Gupta commented Jul 18 '19, 3:37 a.m.

I am able to connect to the repository(server) using RTC client(Work Items perspective-> Repository Connections). Is there any other way to try connecting to server from eclipse?

Also, ping to the RTC server is working fine from my client machine.
What other network configurations should i check on the client machine? 

showing 5 of 7 show 2 more comments

One answer



permanent link
Sridevi Sangaiah (59179) | answered Jul 18 '19, 3:58 a.m.
JAZZ DEVELOPER
In the RTC client can you check the Network Connection settings by navigating to Window>Preferences>General>Network Connections and look at the value of Active Provider? If it is set to Native then it might be using the proxy configuration discovered by the OS. If so can you please check if any proxy is configured in the client machine, you might find it in the browser you used to connect to RTC server, and add the following vmargs to jbe.ini file and restart the build engine:
-Dhttps.proxyHost=...

-Dhttps.proxyPort=...


Comments
Shalini Gupta commented Jul 18 '19, 4:41 a.m.

my buildtoolkit is located on z/OS (mainframe). will the above solution apply on z/OS?


Sridevi Sangaiah commented Jul 18 '19, 4:51 a.m.
JAZZ DEVELOPER

The proxy vmargs are provided to the jre, so I believe it should work in z/OS too. Did you confirm if a proxy is required to connect to your RTC server?


Shalini Gupta commented Jul 18 '19, 6:12 a.m.

 I have tried using all 3 options- Direct,Manual,Native. I can connect to my repository using all 3 options, but build fails for all 3 with same error.


Lakshmi Narasimhan T V commented Jul 18 '19, 7:38 a.m. | edited Jul 18 '19, 7:39 a.m.
JAZZ DEVELOPER

If you are running JBE from z/OS machine, then try pinging the RTC server from that  machine. If possible, run the curl command in that machine to fetch the rootservices document and see if that goes through


Shalini Gupta commented Jul 18 '19, 8:32 a.m.

 Lakshmi,

Curl is also failing with Connection Timed out error.


1
Lakshmi Narasimhan T V commented Jul 18 '19, 9:44 a.m.
JAZZ DEVELOPER

Hi


You would need to fix the connectivity issue in that machine for curl and eventually JBE to work. That would be outside of RTC's purview.


Shalini Gupta commented Jul 18 '19, 11:39 a.m.

 Ok, thank you Lakshmi,Sridevi.

showing 5 of 7 show 2 more comments

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.