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

Handle Errno::ENOTCONN when testing for sshd access #368

Merged
merged 1 commit into from
Nov 9, 2015

Conversation

eugenebolshakov
Copy link
Contributor

I got a Errno::ENOTCONN when running knife via tsocks (transparent SOCKS proxy) and I think it should be handled as a valid exception while waiting for SSHD to become available. ENOTCONN means 'Transport endpoint is not connected'.

BTW, I saw this issue #367 about guidelines for contributing being outdated and that's why I didn't create a ticket in JIRA, etc. Please let me know if I need to.

Thanks!

ENOTCONN means 'Transport endpoint is not connected'. It can happen when
connecting via a SOCKS proxy (e.g. tsocks).
@chef-supermarket
Copy link

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.

GitHub Users Who Are Not Authorized To Contribute

The following GitHub users do not appear to have signed a CLA:

Please sign the CLA here.

@chef-supermarket
Copy link

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

@btm
Copy link
Contributor

btm commented Nov 9, 2015

Interesting, tsocks appears to be ancient and the use of ENOTCONN is in debian patches. I don't see any reason not to include it.

btm added a commit that referenced this pull request Nov 9, 2015
Handle Errno::ENOTCONN when testing for sshd access
@btm btm merged commit 1a34881 into chef:master Nov 9, 2015
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

Successfully merging this pull request may close these issues.

3 participants