Open dioptre opened 11 months ago
@dioptre do you have repro code that I can run to repro and debug it?
Mark as P1 until we have a repro.
This generally happens if I run:
PROXY_HEALTH_CHECK_TIMEOUT_S=100 RAY_SERVE_DEBUG_MODE=1 RAY_SERVE_PROXY_READY_CHECK_TIMEOUT_S=100 RAY_ROTATION_MAX_BYTES=52428800 RAY_RUNTIME_ENV_LOG_TO_DRIVER_ENABLED=1 RAY_ENABLE_RECORD_ACTOR_TASK_LOGGING=1 ray start --head --port=6373 --ray-debugger-external --dashboard-host 0.0.0.0
and do any execution in the ray server
Exception in thread ray_print_logs:
Traceback (most recent call last):
File "/Users/andrewgrosser/.pyenv/versions/3.10.12/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/Users/andrewgrosser/.pyenv/versions/3.10.12/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/Users/andrewgrosser/Library/Caches/pypoetry/virtualenvs/ml-Yqfv2jYI-py3.10/lib/python3.10/site-packages/ray/_private/worker.py", line 804, in print_logs
data = subscriber.poll()
File "python/ray/_raylet.pyx", line 2840, in ray._raylet.GcsLogSubscriber.poll
File "python/ray/_raylet.pyx", line 457, in ray._raylet.check_status
ray.exceptions.RaySystemError: System error: Missing :authority header
Seems the startup script doesnt matter even if I write:
ray start --head --port=6373 --dashboard-host 0.0.0.0
Nightly build as of 11/21 also fails
Is there a way just to turn this off?
Maybe related https://github.com/nghttp2/nghttp2/issues/148
https://github.com/ray-project/ray/issues/11285
Looks like its used on mac at least
Seems it effects Linux and x86_64 too.
log_to_driver=False was the workaround
🤯🔫
the fact that the application crashes without a flag set is worrisome to me; we should at least discuss whether this is a usability versus stability issue and prioritize accordingly
I Got the same error and i posted this error on ray discussion forum Link : Error
In FastAPI
ray.init()
ray.get(test.remote()) is ok.
@app.get("/")
async def root():
ray.get(test.remote()) failure: ray.exceptions.RaySystemError: System error: Missing :authority header
return {"message": "Hello World"}
Exception in thread ray_listen_error_messages: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/.venv/lib/python3.11/site-packages/ray/_private/worker.py", line 2136, in listen_errormessages , error_data = worker.gcs_error_subscriber.poll() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "python/ray/_raylet.pyx", line 3131, in ray._raylet.GcsErrorSubscriber.poll File "python/ray/_raylet.pyx", line 590, in ray._raylet.check_status ray.exceptions.RaySystemError: System error: Missing :authority header
What happened + What you expected to happen
[2023-10-23 10:22:44,732: WARNING/MainProcess] Exception in thread [2023-10-23 10:22:44,733: WARNING/MainProcess] ray_print_logs [2023-10-23 10:22:44,733: WARNING/MainProcess] : [2023-10-23 10:22:44,733: WARNING/MainProcess] Traceback (most recent call last): [2023-10-23 10:22:44,733: WARNING/MainProcess] File "/Users/andrewgrosser/.pyenv/versions/3.10.12/lib/python3.10/threading.py", line 1016, in _bootstrap_inner [2023-10-23 10:22:44,735: WARNING/MainProcess]
[2023-10-23 10:22:44,735: WARNING/MainProcess] self.run() [2023-10-23 10:22:44,735: WARNING/MainProcess] File "/Users/andrewgrosser/.pyenv/versions/3.10.12/lib/python3.10/threading.py", line 953, in run [2023-10-23 10:22:44,735: WARNING/MainProcess]
[2023-10-23 10:22:44,735: WARNING/MainProcess] self._target(*self._args, *self._kwargs) [2023-10-23 10:22:44,736: WARNING/MainProcess] File "/Users/andrewgrosser/Library/Caches/pypoetry/virtualenvs/ml-Yqfv2jYI-py3.10/lib/python3.10/site-packages/ray/_private/worker.py", line 804, in print_logs [2023-10-23 10:22:44,736: WARNING/MainProcess]
[2023-10-23 10:22:44,737: WARNING/MainProcess] data = subscriber.poll() [2023-10-23 10:22:44,737: WARNING/MainProcess] File "python/ray/_raylet.pyx", line 2840, in ray._raylet.GcsLogSubscriber.poll [2023-10-23 10:22:44,737: WARNING/MainProcess] File "python/ray/_raylet.pyx", line 457, in ray._raylet.check_status [2023-10-23 10:22:44,737: WARNING/MainProcess] ray.exceptions [2023-10-23 10:22:44,737: WARNING/MainProcess] . [2023-10-23 10:22:44,737: WARNING/MainProcess] RaySystemError [2023-10-23 10:22:44,737: WARNING/MainProcess] : [2023-10-23 10:22:44,737: WARNING/MainProcess] System error: Missing :authority header [2023-10-23 10:31:58,228: WARNING/MainProcess] Exception in thread [2023-10-23 10:31:58,229: WARNING/MainProcess] ray_listen_error_messages [2023-10-23 10:31:58,229: WARNING/MainProcess] : [2023-10-23 10:31:58,229: WARNING/MainProcess] Traceback (most recent call last): [2023-10-23 10:31:58,229: WARNING/MainProcess] File "/Users/andrewgrosser/.pyenv/versions/3.10.12/lib/python3.10/threading.py", line 1016, in _bootstrap_inner [2023-10-23 10:31:58,232: WARNING/MainProcess]
[2023-10-23 10:31:58,232: WARNING/MainProcess] self.run() [2023-10-23 10:31:58,232: WARNING/MainProcess] File "/Users/andrewgrosser/.pyenv/versions/3.10.12/lib/python3.10/threading.py", line 953, in run [2023-10-23 10:31:58,232: WARNING/MainProcess]
[2023-10-23 10:31:58,233: WARNING/MainProcess] self._target(self._args, **self._kwargs) [2023-10-23 10:31:58,233: WARNING/MainProcess] File "/Users/andrewgrosser/Library/Caches/pypoetry/virtualenvs/ml-Yqfv2jYI-py3.10/lib/python3.10/site-packages/ray/_private/worker.py", line 2043, in listen_errormessages [2023-10-23 10:31:58,234: WARNING/MainProcess]
[2023-10-23 10:31:58,234: WARNING/MainProcess] , error_data = worker.gcs_error_subscriber.poll() [2023-10-23 10:31:58,234: WARNING/MainProcess] File "python/ray/_raylet.pyx", line 2795, in ray._raylet.GcsErrorSubscriber.poll [2023-10-23 10:31:58,234: WARNING/MainProcess] File "python/ray/_raylet.pyx", line 457, in ray._raylet.check_status [2023-10-23 10:31:58,235: WARNING/MainProcess] ray.exceptions [2023-10-23 10:31:58,235: WARNING/MainProcess] . [2023-10-23 10:31:58,235: WARNING/MainProcess] RaySystemError [2023-10-23 10:31:58,235: WARNING/MainProcess] : [2023-10-23 10:31:58,235: WARNING/MainProcess] System error: Missing :authority header
Versions / Dependencies
version = "2.7.1"
Reproduction script
Crashes non-deterministically
Issue Severity
High: It blocks me from completing my task.