Skip to content
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

53612: bind: address already in use #808

Open
JachMinen opened this issue Dec 18, 2023 · 6 comments
Open

53612: bind: address already in use #808

JachMinen opened this issue Dec 18, 2023 · 6 comments

Comments

@JachMinen
Copy link

JachMinen commented Dec 18, 2023


name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''


Describe the bug
Lambda will occasionally encounter this error during initialization of environment:
telemetryAPI.Listener
Unexpected stop on HTTP Server
listen tcp ---.---.---.---:53612: bind: address already in use
When this happens, the next invocation will run successfully at first, but then time out when trying to export metrics.
This only seems to happen on cold start of new environment and usually resolves itself after 1 or 2 invocations in that environment.

Steps to reproduce
Unknown

What did you expect to see?
Lambda runs and metrics are exported successfully

What did you see instead?
Lambda times out

What version of collector/language SDK version did you use?
Version: aws-otel-python-amd64-ver-1-20-0:3

What language layer did you use?
Config: Python3.9

Additional context
Lambda also has layers for Lambda Insights and Python libraries

@drobert
Copy link

drobert commented Mar 4, 2024

We've been bumping into this, too. We're using a fastapi python app in a docker-based lambda also using aws-otel-python-amd64-ver-1-20-0:3

@Xaaris
Copy link

Xaaris commented Mar 8, 2024

Same here on aws-otel-collector-arm64-ver-0-90-1:1

@jan-xyz
Copy link
Contributor

jan-xyz commented Apr 25, 2024

@drobert and @JachMinen are you using otlptracegrpc.WithDialOption(grpc.WithBlock()) for your SDK client setup?

Copy link

This issue is stale because it has been open 90 days with no activity. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled

@github-actions github-actions bot added the stale label Jul 28, 2024
@drobert
Copy link

drobert commented Jul 28, 2024

Please keep this open. Unresolved/still an issue.

@github-actions github-actions bot removed the stale label Aug 4, 2024
@Joe-Woodhead-BigChange
Copy link

We encountered this today. Happened twice in a row on deployment to Production where it hit a timeout on cold start. This is a .NET 8 lambda using this layer pushing data into New Relic:

arn:aws:lambda:eu-west-1:901920570463:layer:aws-otel-collector-amd64-ver-0-102-1:1

Error below:

{
"level": "error",
"ts": 1729787819.487711,
"logger": "telemetryAPI.Listener",
"msg": "Unexpected stop on HTTP Server",
"error": "listen tcp 169.254.79.130:53612: bind: address already in use"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants