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

Docker 'bind: address already in use' port errors #3898

Open
busma13 opened this issue Jan 10, 2025 · 2 comments
Open

Docker 'bind: address already in use' port errors #3898

busma13 opened this issue Jan 10, 2025 · 2 comments
Assignees

Comments

@busma13
Copy link
Contributor

busma13 commented Jan 10, 2025

I've closed #3848 as all other port related errors have been resolved.

We now only get port related issues involving the docker setup. The new logs in the comment below did catch that port 49206 was in TIME-WAIT when docker attempted to run the opensearch container. Maybe it is worth randomizing those ports too. Or we could check for TIME-WAIT on the ports we need and either wait for them to clear, or use a fallback port at that time. Maybe there is a way to clear a TIME-WAIT?

@busma13
Copy link
Contributor Author

busma13 commented Jan 10, 2025

Got an address already in use error in my ci pipeline. There is somehow a time-wait on port 49206 at the time scripts tries to launch an opensearch docker container

https://github.com/terascope/teraslice/actions/runs/12699065769/job/35398965430?pr=3887#step:8:40

Originally posted by @sotojn in #3848 (comment)

@sotojn
Copy link
Contributor

sotojn commented Jan 10, 2025

Another occurrence of port issues. This time in the es asset repo:

https://github.com/terascope/elasticsearch-assets/actions/runs/12717423594/job/35453891432

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

No branches or pull requests

2 participants