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

Added a Meaningful error msg for control server port taken #3204

Merged

Conversation

dhavalsingh
Copy link
Contributor

@dhavalsingh dhavalsingh commented Aug 8, 2023

Description

Please describe your pull request. Thank you for contributing! You're the best.

Your checklist for this pull request

  • I have reviewed the guidelines for contributing to this repository.
  • I have added (or updated) appropriate tests if this PR fixes a bug or adds a feature.
  • My pull request is 100 lines added/removed or less so that it can be easily reviewed.
  • If this PR doesn't need tests (docs change), I added [ci skip] to the title of the PR.
  • If this closes any issues, I have added "Closes #issue" to the PR description or my commit messages.
  • I have updated the documentation accordingly.
  • All new and existing tests passed, including Rubocop.

Closes issue 3204
Might close issue #2894 too.

@dhavalsingh dhavalsingh changed the title Added a Meaningful error msg for control server port taken Added a Meaningful error msg for control server port taken [ci skip] Aug 8, 2023

app do |env|
[200, {}, ["OK"]]
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this file added? Can't see in the diff that it is being used

lib/puma/runner.rb Show resolved Hide resolved
Copy link
Member

@nateberkopec nateberkopec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment - change what class we're rescuing.

@nateberkopec nateberkopec changed the title Added a Meaningful error msg for control server port taken [ci skip] Added a Meaningful error msg for control server port taken Aug 15, 2023
@nateberkopec nateberkopec added the waiting-for-changes Waiting on changes from the requestor label Aug 15, 2023
@dhavalsingh
Copy link
Contributor Author

Also, this branch is out-of-date with the base branch
How do I update this branch? With a rebase or a merge commit?

@dentarg
Copy link
Member

dentarg commented Aug 16, 2023

You can do either, but I would recommend squashing the commits if you go for rebase. When merged, everything will be squashed anyway.

@dhavalsingh
Copy link
Contributor Author

@nateberkopec this can be merged now?

@nateberkopec
Copy link
Member

Thank you @dhavalsingh !

@nateberkopec nateberkopec merged commit c2f7330 into puma:master Aug 25, 2023
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature waiting-for-changes Waiting on changes from the requestor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Address already in use 127.0.0.1 port 9293 error while trying to start two instances of Puma on localhost
4 participants