We have these errors coming up on Elastic Agent Container Start up and it
occurs 4 times or more. Every time it takes 5 seconds and then it is a loop
of 5 seconds for 4 times, so we are trying to optimize the time by getting
rid of these errors.
Please let me know if anyone has been able to resolve these errors. It
would be greatly helpful.
2022-12-13T09:20:50.605-06:00 jvm 1 | 2022-12-13 15:20:50,584 [stdout] -
2022-12-13 15:20:50,583 ERROR [scheduler-2] RemotingClient:166 - Server
responded to action `ping` with: status[422 Unprocessable Entity], body[{
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - "message" : "Agent [Agent [d1c6f1714063, 172.17.0.3,
50392830-07ba-4475-8061-67293edd1015, null]] has no cookie set; nested
exception is com.thoughtworks.go.server.service.AgentNoCookieSetException:
Agent [Agent [d1c6f1714063, 172.17.0.3,
50392830-07ba-4475-8061-67293edd1015, null]] has no cookie set"
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - }]
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - 2022-12-13 15:20:50,584 ERROR [scheduler-2]
AgentHTTPClientController:114 - Error occurred when agent tried to ping
server:
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - java.lang.RuntimeException:
org.apache.http.client.ClientProtocolException: The server returned status
code 422. Possible reasons include:
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - - This agent has been deleted from the configuration
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - - This agent is pending approval
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - - There is possibly a reverse proxy (or load balancer) that has
been misconfigured. See
https://docs.gocd.org/22.1.0/installation/configure-reverse-proxy.html#agents-and-reverse-proxies
for details.
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
com.thoughtworks.go.agent.RemotingClient.post(RemotingClient.java:118)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
com.thoughtworks.go.agent.RemotingClient.ping(RemotingClient.java:74)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
com.thoughtworks.go.agent.AgentHTTPClientController.ping(AgentHTTPClientController.java:109)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at java.base/java.lang.reflect.Method.invoke(Unknown Source)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown
Source)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown
Source)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
Source)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,584
[stdout] - at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,585
[stdout] - at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,585
[stdout] - at java.base/java.lang.Thread.run(Unknown Source)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,585
[stdout] - Caused by: org.apache.http.client.ClientProtocolException: The
server returned status code 422. Possible reasons include:
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,585
[stdout] - - This agent has been deleted from the configuration
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,585
[stdout] - - This agent is pending approval
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,585
[stdout] - - There is possibly a reverse proxy (or load balancer) that has
been misconfigured. See
https://docs.gocd.org/22.1.0/installation/configure-reverse-proxy.html#agents-and-reverse-proxies
for details.
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,585
[stdout] - at
com.thoughtworks.go.agent.RemotingClient.validateResponse(RemotingClient.java:141)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,585
[stdout] - at
com.thoughtworks.go.agent.RemotingClient.post(RemotingClient.java:114)
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:50,585
[stdout] - ... 14 common frames omitted
2022-12-13T09:20:51.811-06:00 jvm 1 | 2022-12-13 15:20:51,714
[stdout] - 2022-12-13 15:20:51,713 INFO [main]
DefaultPluginJarChangeListener:74 - Plugin load finished:
/go/plugins/external/epsilon-gocd-nexus-component-task-plugin-1.2.jar
2022-12-13T09:21:06.760-06:00 jvm 1 | 2022-12-13 15:20:51,724
[stdout] - 2022-12-13 15:20:51,724 INFO [main] Defaul
No newer events at this moment. Auto retrying...
Pause
--
You received this message because you are subscribed to the Google Groups
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/go-cd/6f655dc5-fd6a-4fa5-8272-0bc2b1799413n%40googlegroups.com.