Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unable to connect RTC to jenkins

Hello,

I am trying to set up a Jenkins Build engine in RTC and unable to do so due to the follwoing error:
THis error comes up when i enter the hostname and port of jenkins in RTC and test the connection.
Connection test requested.
    Connection test requested.
    Connecting to: http://vottlokesh.ottawa.ibm.com:8080
Exception: java.net.SocketTimeoutException: connect timed out    Test connection FAILED!

I have looked at all the posts here which talk about this error but still unable to get it to work !

I am able to Access the Jenkins Dashboard through the browser, i can also connect to RTC from the Jenkins Config settings. But not able to Do it the other way around from RTC.

To add to This i cannot access the jenkins Dashboard outside of my VM. I am guessing This is the issue ! How do i fix this ? Would require your experties on this.

My system Setupl
OS: RHEL 6 on Virtual Machine
RTC: 5.0 M4
RTC Build kit: 5.0 M4
Jenkins: 1.532.3
RTC Plugin: Team Concert Plugin 1.0.12

Trouble shooting steps done so far:
1. Added port 8080 to RHEL firewall
2. Added a String property in the RTC build engin for com.ibm.rational.connector.hudson.connectionTimeout with a value of 1000
3. Added Forward ON in iptables

Would be extremely useful if you guys could help me out, Thanks in advance

Lokesh

0 votes

Comments

at least on my server its http://server:port/jenkins/

note the 'jenkins/'

the trailing slash matter for job starting

Hi sam,

Thanks for your Reply, I tried this and wont still work !

what is the URL for the jenkins homepage? does it come up?

Yea, The jenkins dashboard/homepage shows up only in the VM at 


But cannot access the homepage outside of the VM. I get the a Time Out error in the browser.

this seems like a networking issue related to the Virtual machine.

Yea, i guess . The VM on it own works fine.. not sure. the 8080 is open, still no results.

showing 5 of 6 show 1 more comments


One answer

Permanent link
Get the IP of the VM and then in the client machine, map vottlokesh.ottawa.ibm.cim to the IP in the host file to see if that makes a difference

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,132
× 151

Question asked: Apr 13 '14, 12:52 a.m.

Question was seen: 5,672 times

Last updated: Apr 24 '14, 5:00 p.m.

Confirmation Cancel Confirm