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

TCP_NODELAY may not be available. #7646

Closed
nicolasnoble opened this issue Aug 5, 2016 · 5 comments
Closed

TCP_NODELAY may not be available. #7646

nicolasnoble opened this issue Aug 5, 2016 · 5 comments
Assignees
Labels
area/core disposition/help wanted Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated! disposition/stale kind/bug lang/core platform/Windows priority/P2

Comments

@nicolasnoble
Copy link
Member

I've just found a Linux environment that doesn't support TCP_NODELAY. I don't think this should be a fatal error.

Removing return GRPC_ERROR_CREATE("Failed to set TCP_NODELAY"); from src/core/lib/iomgr/socket_utils_common_posix.c makes everything work fine.

Otherwise, we get that kind of error:

D0804 23:53:35.722648900    5923 connectivity_state.c:156]   SET: 0x7f7a0c000de8 subchannel: CONNECTING --> TRANSIENT_FAILURE [connect_failed] error=0x7f7a0c0014d0 {"created":"@1470380015.722622600","description":"Connect Failed","file":"src/core/ext/client_config/subchannel.c","file_line":638,"referenced_errors":[{"created":"@1470380015.722295700","description":"Failed to set TCP_NODELAY","file":"src/core/lib/iomgr/socket_utils_common_posix.c","file_line":206}]}
@hsaliak hsaliak added area/core disposition/help wanted Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated! requires reporter clarification and removed disposition/FOR DISCUSSION labels Nov 16, 2016
@hsaliak
Copy link
Contributor

hsaliak commented Nov 16, 2016

Could you please provide more details on the platform? Is it manylinux

@nicolasnoble
Copy link
Member Author

That was Windows 10 running Ubuntu :)

@atesop
Copy link

atesop commented Jul 20, 2017

@nicolasnoble Has that been solved on Windows 10 running Ubuntu now?

@techscientist
Copy link

@nicolasnoble @hsaliak @atesop Hi there! I actually have the same question, since I am also getting the same error when trying to run gRPC server for tensorflow distributed training on Windows Ubuntu. Any fixes available?

@stale
Copy link

stale bot commented Sep 4, 2019

This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 180 days. It will be closed automatically if no further update occurs in 1 day. Thank you for your contributions!

@stale stale bot closed this as completed Sep 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Dec 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/core disposition/help wanted Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated! disposition/stale kind/bug lang/core platform/Windows priority/P2
Projects
None yet
Development

No branches or pull requests

6 participants