Giter Site home page Giter Site logo

Comments (7)

aresnow1 avatar aresnow1 commented on September 25, 2024

You can try to increase the value of environment variable XINFERENCE_HEALTH_CHECK_INTERVAL https://inference.readthedocs.io/en/latest/getting_started/environments.html#xinference-health-check-interval.

from inference.

fffonion avatar fffonion commented on September 25, 2024

Hi @aresnow1 that won't work because it's not because healthecheck starts too soon, but it's trying to connect to 0.0.0.0:port, which isn't supported on windows (WinError 1214).

from inference.

hao203 avatar hao203 commented on September 25, 2024

xinference version 0.8.5, windows 11, python 3.11
同样的问题。

from inference.

jaydyi avatar jaydyi commented on September 25, 2024

@fffonion @hao203
if you use xinference on win, the xinference site's doc : launch on local, use command xinference-local --host 0.0.0.0 --port 9997 will have error like uper's description, you can solve the problem simply just run command xinference-local , then xinference will launch on http://127.0.0.1:9997/ like below:
image

from inference.

qinxuye avatar qinxuye commented on September 25, 2024

Hi @aresnow1 that won't work because it's not because healthecheck starts too soon, but it's trying to connect to 0.0.0.0:port, which isn't supported on windows (WinError 1214).

Indeed, the windows does not support 0.0.0.0, do you have any idea, maybe raise an error or try to get IP for user?

from inference.

qinxuye avatar qinxuye commented on September 25, 2024

Same issue as #1053

from inference.

fffonion avatar fffonion commented on September 25, 2024

@qinxuye yeah we probably need to find an available local IP on any interface, and use that for healthcheck. If we just are
just healthchecking the service but not the port connectivity, we can also do some hack to listen both 0.0.0.0 and 127.0.0.1 at the same time if user specified 0.0.0.0, and healthcheck on 127.0.0.1 only.

from inference.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.