-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERROR] (rapid) Invoke failed error=ErrAgentNameCollision #1
Comments
Getting the same error for the Sydney region. Testing this on Mac Silicon (so arm architecture) |
Same here arm apple M3, eu-west-1
|
Yes, apologies for not giving more information. I am also on M3 Mac arch. |
There is an issue with Docker Desktop for Mac. Similar issue was found with aws-sam-cli which was resolved in Docker 4.34.0 but did not for our issue. We have identified a workaround to disable extensions during SAM local invoke. To disable extensions you need to create layer (as instructed below) and specify in SAM template.
We have also raised PR to disable extension using env variable so you don't need to create layer. Until its merged and makes it way into latest nodejs images, use this workaround to unblock immediately. |
Hi @csreddy, thank you very much, workaround is woking
|
Thank you for confirming! |
Hey @csreddy thanks a lot for your workaround! It works! Unfortunately for my scenario, I need layers with some node js dependencies, overriding my layers with the workaround solves the error=ErrAgentNameCollision problem with RIE but leaves my Synthetic without dependencies and failing to do them.
Briefly describing my original situation I was using something like Layers:
# Synthetics runtime layer
# Use the appropriate Layer ARN to run your canary against the intended Synthetics runtime in the desired AWS region.
# Refer to the CloudWatch Synthetics documentation to find the Layer ARN list for the supported runtimes in all supported AWS Regions.
# https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Debug_Locally.html#CloudWatch_Synthetics_Debug_DifferentRuntime
- arn:aws:lambda:us-west-2:760325925879:layer:Synthetics:56 # syn-nodejs-puppeteer-9.0
- arn:aws:lambda:us-west-2:***:layer:**********************:1
Role: !GetAtt CanaryExecutionRole.Arn on my template.yml and I solved the RIA problem with Layers:
# Synthetics runtime layer
# Use the appropriate Layer ARN to run your canary against the intended Synthetics runtime in the desired AWS region.
# Refer to the CloudWatch Synthetics documentation to find the Layer ARN list for the supported runtimes in all supported AWS Regions.
# https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Debug_Locally.html#CloudWatch_Synthetics_Debug_DifferentRuntime
- arn:aws:lambda:us-west-2:760325925879:layer:Synthetics:56 # syn-nodejs-puppeteer-9.0
- arn:aws:lambda:us-west-2:***:layer:**********************:1
- arn:aws:lambda:us-west-2:***:layer:disable-extensions-jwigqn8j:1
Role: !GetAtt CanaryExecutionRole.Arn Thanks a lot! |
Trying to run this example as a first step towards debugging my own canary implementation.
I'm currently getting
I have followed the instructions in the documentation, and updated only the bucket name and synthetic lambda layer to one in eu-west-2. (arn:aws:lambda:eu-west-2:565831452869:layer:Synthetics:44).
This issue seems to be the only lead I have, though I have tried many different layers (all within eu-west-2 mind) and they all render the same result.
The text was updated successfully, but these errors were encountered: