Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Lambda DuplicateListener error when releasing a 2nd time #2066

Closed
jbayer opened this issue Aug 17, 2021 · 0 comments · Fixed by #3035
Closed

Lambda DuplicateListener error when releasing a 2nd time #2066

jbayer opened this issue Aug 17, 2021 · 0 comments · Fixed by #3035
Labels
bug Something isn't working plugin/lambda
Milestone

Comments

@jbayer
Copy link
Member

jbayer commented Aug 17, 2021

Describe the bug
A second release of a Lambda application with a load balancer seems to result in consistent errors about a DuplicateListener and a missing ARN.

Steps to Reproduce
Use the standard Deploy an Application onto AWS Lambda Learn Guide. The first waypoint up works for me. I made a very small edit to handler.rb and run waypoint up a 2nd time. This time I get several errors. This was reproducible for me.

» Releasing...
❌ Destroying Listener...
! 2 errors occurred:
  	* DuplicateListener: A listener already exists on this port for this load
  balancer
  'arn:aws:elasticloadbalancing:us-west-2:770746137682:loadbalancer/app/waypoint-learn-waypoint-lambda/820119e7cc0249c0'
  	status code: 400, request id: 2e290b46-eae5-4c7d-a217-fc962343f7aa
  	* Error during rollback: ValidationError: A listener ARN must be specified
  	status code: 400, request id: 247046a8-2919-4c79-876a-2f9786070b13

Expected behavior
The 2nd waypoint up should succeed and point to the most recently released Lambda function.

Waypoint Platform Versions
Additional version and platform information to help triage the issue if
applicable:

  • Waypoint CLI Version: Waypoint CLI 0.5.0
  • Waypoint Server Platform and Version: Waypoint Server 0.5.0 on kubernetes
  • Waypoint Plugin: aws/lambda, aws-alb
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working plugin/lambda
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants