Is there any way to make the connection between the Go Agents and the Go Server on https?
We've tried to configure an Agent to connect on the Server's secure port but we got this error:
108 [main] ERROR com.thoughtworks.go.agent.launcher.ServerCall - Couldn't access Go Server with base url:
http://go_server_host:8154/go/admin/agent-launcher.jar: org.apache.commons.httpclient.NoHttpResponseException: The server
go_server_host failed to respond
java.lang.Exception: Couldn't access Go Server with base url:
http://go_server_host:8154/go/admin/agent-launcher.jar: org.apache.commons.httpclient.NoHttpResponseException: The server
go_server_host failed to respond
at com.thoughtworks.go.agent.launcher.ServerCall.invoke(ServerCall.java:70)
at com.thoughtworks.go.agent.launcher.ServerBinaryDownloader.headers(ServerBinaryDownloader.java:128)
at com.thoughtworks.go.agent.launcher.ServerBinaryDownloader.downloadIfNecessary(ServerBinaryDownloader.java:105)
at com.thoughtworks.cruise.agent.launcher.AgentLauncherImpl.launch(AgentLauncherImpl.java:78)
at com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.go(AgentBootstrapper.java:74)
at com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.main(AgentBootstrapper.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.simontuffs.onejar.Boot.run(Boot.java:306)
at com.simontuffs.onejar.Boot.main(Boot.java:159)
Caused by: org.apache.commons.httpclient.NoHttpResponseException: The server
go_server_host failed to respond
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1835)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at com.thoughtworks.go.agent.launcher.ServerCall.invoke(ServerCall.java:49)
... 11 more
It is a security requirement for us to connect the Go Agent to the server on https.