RTC Hudson/Jenkins Exception : No Hudson/Jenkins header found! Test connection FAILED!
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.
- Status Code: 200 OK
- Cache-Control: no-cache,no-store,must-revalidate
- Content-Encoding: gzip
- Content-Length: 4323
- Content-Type: text/html;charset=UTF-8
- Expires: 0
- Server: Jetty(winstone-2.8)
- X-Frame-Options: sameorigin
- X-Hudson: 1.395
- X-Hudson-CLI-Port: 56154
- X-Hudson-Theme: default
- X-Instance-Identity: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA592ah6EA9RTl7lKIkxJv9FnBYhU5JVSyL+Th9mrRUxSJFdXs91irai4/MoIoFioyuKw/qWSYqeXx VFoT8zg6lzEpiYJ3iQuZLN/4eviXn8ck9LvRLe6DBSbJYsKtVBkA39kzvs0zO5ykU13sPE70SbzFQF37okGYnF6X5e1qR8uhNnJq+tu88fSX2NVU8ZkyULcx uBNOh9iA3Y8AL5GPn2R9aOYPlHTBKYA0mHQVCzw9CE5Vb6+318K7wZlE6HNPf86oe2sGUX4v9q8X9d2iDsgw7quiBgebOIhLXrPp6vzrX6bjHEDehApEjiVc cDbD3Y0n+H7I24nmb+/SJxkk1wIDAQAB
- X-Jenkins: 1.593
- X-Jenkins-CLI-Port: 56154
- X-Jenkins-CLI2-Port: 56154
- X-Jenkins-Session: 36a7de35
- X-SSH-Endpoint: SOLDEV02:56153
We have another Jenkins server where test connection passes. Below is the
response header for the same.
- Status Code: 200 OK
- Cache-Control: no-cache,no-store,must-revalidate
- Content-Encoding: gzip
- Content-Length: 6448
- Content-Type: text/html;charset=UTF-8
- Expires: Thu, 01 Jan 1970 00:00:00 GMT
- Server: Jetty(winstone-2.8)
- Set-Cookie: JSESSIONID.2713182c=1x97y82abvykrobwz69ft8i21;Path=/;HttpOnly
- X-Frame-Options: sameorigin
- X-Hudson: 1.395
- X-Hudson-CLI-Port: 49233
- X-Hudson-Theme: default
- X-Instance-Identity: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApysM6lB5t1qLMRa+DqB/KqJI3KkuW7cS7AbSd2447+Us0kbQ1o0TnEMEhegbdjfOehjtp2ORcT63 7J0NWdNGm9AXS3fHrDVAPiB52pHJKmR3xBm0sWDbeVFE27UX6mDs6hBMRPA/hML7QGhJdoIQNEcj08CNiDueu8ehfFRX9XYylMTO9t5epD0PiGoAbWrl/Zum RrVGFM8+Pn2icv+tH7aZlNrtKcq2rG7xvpwqfVQlX55z6UKr+gaiD49tCUFfdhlWZzy9RMo+03S2SsHhXZPLK0EF7vnjgAw7+0XSsdMmSq6lTiwKhriCF4s6 9y+aUmRUgybIbFEMgEPFd1q3cwIDAQAB
- X-Jenkins: 1.593
- X-Jenkins-CLI-Port: 49233
- X-Jenkins-CLI2-Port: 49233
- X-Jenkins-Session: 225760f0
- X-SSH-Endpoint: localhost:49232