-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Does tritonserver
Support IPv6 --http-address
bind?
#5305
Comments
tritonserver
Support IPv6 --http-addresstritonserver
Support IPv6 --http-address bind?
tritonserver
Support IPv6 --http-address bind?tritonserver
Support IPv6 --http-address
bind?
This may or may not help, but this is what
It seems odd to me that the HTTP & metrics server ports (8000 and 8002, respectively) are not reported as |
This is what the server log reports on startup:
I am only showing it when I tried it with |
Hi @mc-nv , @tanmayv25, @Tabrizian, @dyastremsky -- if you have some time, I would greatly appreciate if any of you could take a look into this issue. 🙏 Thank you for your work on Triton! |
@malcolmgreaves Triton does support ipv6. |
Thank you for posting a workaround @tanmayv25. I will look into using this! |
I think others will be able to find this comment thread to learn. And I know that this is probably one of the lowest priorities. However, it might be useful to have If I were going to submit a PR for this behavior, do you have any pointers as to where I should start looking? |
@malcolmgreaves I got curious and started looking through the code and play around a little bit. It seems like tritonserver can support ipv6. So this is what I did. I updated docker config to enable ipv6 connection and launched tritonserver container with
I see the following:
The netstat output is :
And the curl command runs as expected:
These steps might not be too refined as I am not to familiar with ipv6. Let me know if you learn anything new or have any questions. But I was able to run inference on the server using perf_analyzer as well which touches various different HTTP APIs.
|
Wow! Thank you so much for digging into this! ❤️ This looks like it will work well for my use case! I am using Triton in a k8s deployment. The cluster I'm using requires IPv6 networking. I will try this out and let you know how it goes! |
Closing due to inactivity. Please let us know if you would like to reopen the issue for follow-up. |
@tanmayv25 's solution of |
Description
tritonserver
does not appear to support an IPv6 value for--http-address
. Cannot connect to server when started with an IPv6 address.Triton Information
2.21.0
(Also reproduced on 2.30.0)
Are you using the Triton container or did you build it yourself?
Using image tagged
22.04-py3
(Also reproduced on image tagged
23.01-py3
)To Reproduce
tritonserver
with option--http-address ::
.a. I have also tried
--http-address
values[::]
and[::1]
curl -w "%{http_code}" -X GET "http://[::1]:8000/v2/health/ready"
200
but instead get:curl: (7) Failed to connect to ::1 port 8000: Connection refused
a. in version
2.30.0
, I getcurl: (7) Couldn't connect to server
Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).
Agnostic to model. Reproduced using image classifier example.
Expected behavior
Return an HTTP 200 OK status code.
The text was updated successfully, but these errors were encountered: