RTC Hudson/Jenkins Exception : No Hudson/Jenkins header found! Test connection FAILED!
I have setup RTC client 4.0.6 and Jazz Team server 4.0.6. Integrated with Jenkins 1.593 and tested the connection from Jenkins and it works but when I tried to connect Jenkins server from RTC Hudson/Jenkins build engine configuration page, I face 'No Hudson/Jenkins header found!' . I checked the response and found the respective headers. This is impeding my implementation and go live. If anyone has solutions, please provide.
|
3 answers
Can you try to connect to the jenkins server from the machine where RTC server is running using curl. The curl command is curl -k -v -u USER_ID:PASSWORD JENKINS_URL -o out.txt where JENKINS_URL is as configured in the build engine, and see which response code and headers come back, e.g. normal case is: < HTTP/1.1 200 OK < X-Hudson: 1.395 < X-Jenkins: 1.593 Their could be an issue due to SSLV3, check if the curl command works by specifying "sslv3" as a parameter, for example curl -k --sslv3 -v -u USER_ID:PASSWORD JENKINS_URL -o out.txt if their is an error then the following workaround can be applied Add the following line to the server.startup batch file (as one other option to JAVA_OPTS) -Dhttps.protocols=TLSv1 and test the connection to jenkins. Server restart is required after adding the option. |
I am assuming the JVM parameter is to be set on RTC server. We don't have remote access to Jazz team server. Below is the response header for local jenkins server
|
From you reply I can understand that their are two very similar Jenkins servers. For the server Jenkins SOLDEV02 (assuming the name from the header values) the connection works and for Jenkins instance running on your local machine the connection fails. The problem could be that the RTC server cannot connect to the server running on your machine. Even though the "Test Connection" is requested on a RTC Eclipse Client, the test is run on the RTC server and if will fail if the RTC server cannot create a connection to the Jenkins server running on your machine. Make sure that the RTC server machine can communicate with local machine and avoid the use of localhost in the Jenkins url.
|
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.