Open Eng-AliKazemi opened 6 months ago
what's your version of dify?
It seems that the actual IP of the host should be used instead of 127.0.0.1
Same problem. Dify version = 0.5.4, and both Dify and xinference are installed with dockers on an Ubuntu 18.04. The Ubuntu 18.04 is installed in WSL2 of Windows 10.
I have tried the following IPs but none of them work:
http://192.168.103.0:6006(the actual IP) --wait for a long time and get a timeout
http://127.0.0.1:6006 --immediately report the same error
http://localhost:6006 --immediately report the same error
Besides, I also tried connecting that Dify with LMStudio(Windows). It works fine with IP = http://192.168.103.0:1234/v1, but it does not work with IP = http://localhost:1234/v1
I use ifconfig in Ubuntu terminal and tried all the IP addresses listed. Finally I found one capable of usage.
Xinference credentials validate failed: get xinference model extra parameter failed, url: http://127.0.0.1:9997/v1/models/mistral-instruct-v0.2, error: HTTPConnectionPool(host='127.0.0.1', port=9997): Max retries exceeded with url: /v1/models/mistral-instruct-v0.2 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb76ddeeb90>: Failed to establish a new connection: [Errno 111] Connection refused'))
Any help will be appreciated.