Could not list the agent in the gocd-server console

93 views
Skip to first unread message

Vikash Kumar Jha

unread,
Dec 28, 2020, 8:15:51 AM12/28/20
to go-cd
Hi Team

I am getting the following error message in go-agent-stderr.log. 


2020-12-28 12:55:48,552 - Could not find file `config/agent-logback.xml'. Attempting to load from classpath.
2020-12-28 12:55:48,552 - Using classpath resource `jar:onejar:lib/agent-20.10.0-12356-classes.jar!/config/agent-logback.xml'.
2020-12-28 12:55:52,972 - WARNING: An illegal reflective access operation has occurred
2020-12-28 12:55:52,972 - WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (onejar:lib/org.apache.felix.framework-5.6.10.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
2020-12-28 12:55:52,972 - WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender
2020-12-28 12:55:52,972 - WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
2020-12-28 12:55:52,972 - WARNING: All illegal access operations will be denied in a future release

Vikash Kumar Jha

unread,
Dec 29, 2020, 6:46:18 AM12/29/20
to go-cd
Also in the go-agent.log, i am seeing this error:


      at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.apache.http.client.ClientProtocolException: The server returned status code 403. Possible reasons include:
   - This agent has been deleted from the configuration
   - This agent is pending approval
   - There is possibly a reverse proxy (or load balancer) that has been misconfigured. See https://docs.gocd.org/20.10.0/installation/configure-reverse-proxy.html#agents-and-reverse-proxies for details.


Message has been deleted

Vikash Kumar Jha

unread,
Jan 6, 2021, 11:07:46 AM1/6/21
to go-cd
After re-installing the agent, the issue was resolved.
Reply all
Reply to author
Forward
0 new messages