-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[Serve] Port 8000 GET root endpoint should not be exposed #47317
Comments
cc @kevin85421 |
cc @edoakes is this an expected behavior? If so, should we expose a better error message? |
I don't understand the issue, it looks like the example code is just not gracefully handling the case where |
@edoakes Is the |
There seem to be some examples (https://docs.ray.io/en/latest/serve/key-concepts.html) using GET in the Ray Serve examples. It’s unclear to me when to use GET and when to use POST and which API endpoints will be created. |
This is up to the application's REST API design |
@edoakes Thank you for your clarification. I closed this and opened a new one in ray-project/serve_config_examples#10 |
What happened + What you expected to happen
Sends a GET request to
localhost:8000
shows the following error.This REST endpoint should not be exposed to users.
Note: I would like to work on this issue if this behavior is not expected.
Versions / Dependencies
2.34.0
Reproduction script
Follow this doc https://docs.ray.io/en/releases-2.34.0/cluster/kubernetes/examples/mobilenet-rayservice.html
Issue Severity
None
The text was updated successfully, but these errors were encountered: