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

[core] Data client operations block forever if server fails. #13353

Closed
ericl opened this issue Jan 12, 2021 · 0 comments · Fixed by #13386
Closed

[core] Data client operations block forever if server fails. #13353

ericl opened this issue Jan 12, 2021 · 0 comments · Fixed by #13386
Assignees
Labels
bug Something that is supposed to be working; but isn't P1 Issue that should be fixed within a few weeks
Milestone

Comments

@ericl
Copy link
Contributor

ericl commented Jan 12, 2021

It seems that data client operations hang in the blocking_send function if the server fails with error. This causes the client to hang.

Got Error from data channel -- shutting down: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "Received http2 header with status: 502"
	debug_error_string = "{"created":"@1610421939.184399675","description":"Received http2 :status header with non-200 OK status","file":"src/core/ext/filters/http/client/http_client_filter.cc","file_line":129,"grpc_message":"Received http2 header with status: 502","grpc_status":14,"value":"502"}"
>
Got Error from logger channel -- shutting down: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "Received http2 header with status: 502"
	debug_error_string = "{"created":"@1610421939.184408826","description":"Received http2 :status header with non-200 OK status","file":"src/core/ext/filters/http/client/http_client_filter.cc","file_line":129,"grpc_message":"Received http2 header with status: 502","grpc_status":14,"value":"502"}"
>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/eric/Desktop/ray/python/ray/util/client/dataclient.py", line 76, in _data_main
    raise e
  File "/home/eric/Desktop/ray/python/ray/util/client/dataclient.py", line 61, in _data_main
    for response in resp_stream:
  File "/home/eric/.local/lib/python3.6/site-packages/grpc/_channel.py", line 416, in __next__
    return self._next()
  File "/home/eric/.local/lib/python3.6/site-packages/grpc/_channel.py", line 706, in _next
    raise self
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "Received http2 header with status: 502"
	debug_error_string = "{"created":"@1610421939.184399675","description":"Received http2 :status header with non-200 OK status","file":"src/core/ext/filters/http/client/http_client_filter.cc","file_line":129,"grpc_message":"Received http2 header with status: 502","grpc_status":14,"value":"502"}"
>

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/eric/Desktop/ray/python/ray/util/client/logsclient.py", line 51, in _log_main
    raise e
  File "/home/eric/Desktop/ray/python/ray/util/client/logsclient.py", line 42, in _log_main
    for record in log_stream:
  File "/home/eric/.local/lib/python3.6/site-packages/grpc/_channel.py", line 416, in __next__
    return self._next()
  File "/home/eric/.local/lib/python3.6/site-packages/grpc/_channel.py", line 706, in _next
    raise self
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "Received http2 header with status: 502"
	debug_error_string = "{"created":"@1610421939.184408826","description":"Received http2 :status header with non-200 OK status","file":"src/core/ext/filters/http/client/http_client_filter.cc","file_line":129,"grpc_message":"Received http2 header with status: 502","grpc_status":14,"value":"502"}"
>
@ericl ericl added the P1 Issue that should be fixed within a few weeks label Jan 12, 2021
@ericl ericl added this to the Ray Client milestone Jan 12, 2021
@krfricke krfricke changed the title Data client operations block forever if server fails. [core] Data client operations block forever if server fails. Jan 13, 2021
@krfricke krfricke added the core label Jan 13, 2021
@richardliaw richardliaw removed this from the Ray Client milestone Jan 14, 2021
@ericl ericl added this to the Core Bugs milestone Jan 20, 2021
@ericl ericl added bug Something that is supposed to be working; but isn't and removed core labels Jan 20, 2021
@ericl ericl modified the milestones: Core Bugs, Ray Client Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to be working; but isn't P1 Issue that should be fixed within a few weeks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants