-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Closed
Labels
bugSomething that is supposed to be working; but isn'tSomething that is supposed to be working; but isn'ttriageNeeds triage (eg: priority, bug/not-bug, and owning component)Needs triage (eg: priority, bug/not-bug, and owning component)
Description
Search before asking
- I searched the issues and found no similar issues.
Ray Component
Ray Serve
What happened + What you expected to happen
When I run through the tutorial https://docs.ray.io/en/latest/serve/tutorial.html, at the part where it says
curl -X GET localhost:8000/Counter/
I'm getting this in the backend:
pid=2676) ERROR: Exception in ASGI application
pid=2676) Traceback (most recent call last):
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 384, in run_asgi
pid=2676) result = await app(self.scope, self.receive, self.send)
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
pid=2676) return await self.app(scope, receive, send)
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\ray\serve\http_proxy.py", line 262, in __call__
pid=2676) await _send_request_to_handle(handle, scope, receive, send)
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\ray\serve\http_proxy.py", line 85, in _send_request_to_handle
pid=2676) await result(scope, receive, send)
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\starlette\responses.py", line 153, in __call__
pid=2676) "headers": self.raw_headers,
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 459, in send
pid=2676) status_code=status_code, headers=headers, reason=reason
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\h11\_events.py", line 56, in __init__
pid=2676) self.headers, _parsed=_parsed
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\h11\_headers.py", line 81, in normalize_and_validate
pid=2676) raise LocalProtocolError("multiple Content-Length headers")
pid=2676) h11._util.LocalProtocolError: multiple Content-Length headers
pid=2676) ERROR: Exception in ASGI application
pid=2676) Traceback (most recent call last):
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 384, in run_asgi
pid=2676) result = await app(self.scope, self.receive, self.send)
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
pid=2676) return await self.app(scope, receive, send)
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\ray\serve\http_proxy.py", line 262, in __call__
pid=2676) await _send_request_to_handle(handle, scope, receive, send)
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\ray\serve\http_proxy.py", line 85, in _send_request_to_handle
pid=2676) await result(scope, receive, send)
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\starlette\responses.py", line 153, in __call__
pid=2676) "headers": self.raw_headers,
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 459, in send
pid=2676) status_code=status_code, headers=headers, reason=reason
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\h11\_events.py", line 56, in __init__
pid=2676) self.headers, _parsed=_parsed
pid=2676) File "C:\ProgramData\Anaconda3\lib\site-packages\h11\_headers.py", line 81, in normalize_and_validate
pid=2676) raise LocalProtocolError("multiple Content-Length headers")
pid=2676) h11._util.LocalProtocolError: multiple Content-Length headers
and curl returns
curl: (52) Empty reply from server
Versions / Dependencies
Ray 1.9.0
Reproduction script
See instructions above
Anything else
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Metadata
Metadata
Assignees
Labels
bugSomething that is supposed to be working; but isn'tSomething that is supposed to be working; but isn'ttriageNeeds triage (eg: priority, bug/not-bug, and owning component)Needs triage (eg: priority, bug/not-bug, and owning component)