And what did you do to try and resolve it or to check further your
configuration?

Anyway, use the latest version of the plugin for a start, it's not possible
to support old versions. AWS change their APIs, SDKs and services too
quickly.
https://github.com/gocd/gocd-ecs-elastic-agent/releases/tag/v7.4.1-699

If that doesn't work, double check your role permissions against the docs.

Otherwise look at the plugin-specific logs for more detail, not just the
server or job logs.

-Chad

On Tue, 10 Sept 2024, 00:30 pradeep devaraj, <[email protected]>
wrote:

> Hi All,
>
> GoCD server elastic agent was working fine till evening, all of a sudden
> we are getting a error like "Skipping current create agent request"
> instance is creating and adding into cluster but container is not creating
> in it and pipelines are not running.
>
> GOCD version:
> 23.4.0 (17731-4deb96d823b921419680560be080588e900d406e).
> ECS plugin version:
>
> GoCD Elastic Agent Plugin for Amazon ECS
>
>    - Version7.3.0-416
>
>
> Error:
> [go] Received a request to create an agent for the job:
> [SpecOps_ElasticAgent_img_test/63/Elastic-stage/3/Elastic-stage-1]
> [go] An ECS task to perform current job is already scheduled on instance
> i-0732a4688d***4bb. Skipping current create agent request.
> [go] Received a request to create an agent for the job:
> [SpecOps_ElasticAgent_img_test/63/Elastic-stage/3/Elastic-stage-1]
> [go] An ECS task to perform current job is already scheduled on instance
> i-0732a4688d***a4bb. Skipping current create agent request.
>
> Error:
>
>    - Notification update failed for plugin:
>    cd.go.contrib.plugins.configrepo.groovy09 Sep, 2024 at 21:54:14 Local
>    Time
>
>    The plugin sent a response that could not be understood by Go. Plugin
>    returned with code '500' and the following response: 'Failed to handle
>    request stage-status due to:You must configure the GoCD Server Base URL; it
>    must not be null or blank'
>
> Error: in go-server logs:
>
> 2024-09-09 16:09:18,139 ERROR [108@MessageListener for WorkFinder]
> JMSMessageListenerAdapter:87 - Exception thrown in message handling by
> listener com.thoughtworks.go.server.messaging.scheduling.WorkFinder@d6f4534
> java.lang.RuntimeException: The plugin sent a response that could not be
> understood by Go. Plugin returned with code '500' and the following
> response: 'Failed to handle request cd.go.elastic-agent.should-assign-work
> due to:The security token included in the request is invalid. (Service:
> AmazonECS; Status Code: 400; Error Code: UnrecognizedClientException;
> Request ID: 3cd29f72-5498-42a6-816d-0d63af6e4796; Proxy: null)'
>
> --
> 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/eaff6ffe-7c46-4dc3-885c-29b62cbec1c8n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/eaff6ffe-7c46-4dc3-885c-29b62cbec1c8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAA1RwH9sZ65E_O1pDg457a5ngu-xFrx1jX0SO63%2BZWDSQQVKig%40mail.gmail.com.

Reply via email to