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

Clean up an error when multiple bacalhau serves are running #3889

Closed
aronchick opened this issue Dec 26, 2023 · 3 comments
Closed

Clean up an error when multiple bacalhau serves are running #3889

aronchick opened this issue Dec 26, 2023 · 3 comments
Assignees
Labels
good first issue Good for newcomers type/bug Type: Something is not working as expected
Milestone

Comments

@aronchick
Copy link
Collaborator

aronchick commented Dec 26, 2023

No description provided.

@aronchick aronchick self-assigned this Dec 26, 2023
@wdbaruni wdbaruni transferred this issue from another repository Apr 21, 2024
@wdbaruni wdbaruni transferred this issue from another repository Apr 21, 2024
@wdbaruni
Copy link
Member

wdbaruni commented May 4, 2024

I believe this is about bacalhau serve failing with no clear error message when another server is running on the same host. Usually this is related to trying to use an already reserved port or file by the first server. We need to improve the error somehow, and test that you can actually run two separate instances on the same host. Not recommended for production purposes, but for testing

@wdbaruni wdbaruni added type/bug Type: Something is not working as expected good first issue Good for newcomers labels May 4, 2024
@wdbaruni
Copy link
Member

@frrist I believe it will be easier to run two instances locally after #4014 and when we have a single way to define API ports. Today we have client port and server port, where --api-port only sets the client port which is confusing

@wdbaruni wdbaruni assigned frrist and unassigned aronchick Jun 27, 2024
@wdbaruni wdbaruni moved this from Inbox to Next in Engineering Planning Jun 27, 2024
@wdbaruni wdbaruni added this to the v1.5.0 milestone Aug 12, 2024
@wdbaruni
Copy link
Member

wdbaruni commented Oct 8, 2024

This is what we have with v1.5.0

Error: orchestrator port 4222 is already in use
Hint:  To resolve this, either:
1. Check if you are already running the orchestrator
2. Stop the other process using this port
3. Configure a different port using one of these methods:
   a. Use the `-c Orchestrator.Port=<new_port>` flag with your serve command
   b. Set the port in a configuration file with `bacalhau config set Orchestrator.Port=<new_port>`

@wdbaruni wdbaruni closed this as completed Oct 8, 2024
@github-project-automation github-project-automation bot moved this from Next to Done in Engineering Planning Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers type/bug Type: Something is not working as expected
Projects
Status: Done
Development

No branches or pull requests

3 participants