Dear @diazandr3s ,
I was able to start the server:
[2024-04-03 13:44:13,200] [657] [MainThread] [INFO] (timeloop:63) - Timeloop now started. Jobs will run based on the interval set
[2024-04-03 13:44:13,200] [657] [MainThread] [INFO] (uvicorn.error:62) - Application startup complete.
[2024-04-03 13:44:13,200] [657] [MainThread] [INFO] (uvicorn.error:217) - Uvicorn running on http://0.0.0.0:8000
I then tried the tutorial here, I downloaded the models and tried to connect to the server in Slicer but am getting the following error:
Failed to fetch models from remote server. Make sure server address is correct and <server_uri>/info/ is accessible in browser.
I tried using hosts:
http://0.0.0.0:8000 or
http://127.0.0.1:8000 or
http://localhost:8000 or leaving it blank
details:
Traceback (most recent call last):
File "C:/Users/Eva/AppData/Local/slicer.org/Slicer 5.6.1/slicer.org/Extensions-32438/MONAILabel/lib/Slicer-5.6/qt-scripted-modules/MONAILabel.py", line 1085, in fetchInfo
info = self.logic.info()
File "C:/Users/Eva/AppData/Local/slicer.org/Slicer 5.6.1/slicer.org/Extensions-32438/MONAILabel/lib/Slicer-5.6/qt-scripted-modules/MONAILabel.py", line 2288, in info
return self._client().info()
File "C:/Users/Eva/AppData/Local/slicer.org/Slicer 5.6.1/slicer.org/Extensions-32438/MONAILabel/lib/Slicer-5.6/qt-scripted-modules/MONAILabel.py", line 2264, in _client
if mc.auth_enabled():
File "C:\Users\Eva\AppData\Local\slicer.org\Slicer 5.6.1\slicer.org\Extensions-32438\MONAILabel\lib\Slicer-5.6\qt-scripted-modules\MONAILabelLib\client.py", line 83, in auth_enabled
status, response, _, _ = MONAILabelUtils.http_method("GET", self._server_url, selector)
File "C:\Users\Eva\AppData\Local\slicer.org\Slicer 5.6.1\slicer.org\Extensions-32438\MONAILabel\lib\Slicer-5.6\qt-scripted-modules\MONAILabelLib\client.py", line 521, in http_method
conn.request(method, selector, body=body, headers=headers)
File "C:\Users\Eva\AppData\Local\slicer.org\Slicer 5.6.1\lib\Python\Lib\http\client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\Eva\AppData\Local\slicer.org\Slicer 5.6.1\lib\Python\Lib\http\client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\Eva\AppData\Local\slicer.org\Slicer 5.6.1\lib\Python\Lib\http\client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\Eva\AppData\Local\slicer.org\Slicer 5.6.1\lib\Python\Lib\http\client.py", line 1040, in _send_output
self.send(msg)
File "C:\Users\Eva\AppData\Local\slicer.org\Slicer 5.6.1\lib\Python\Lib\http\client.py", line 980, in send
self.connect()
File "C:\Users\Eva\AppData\Local\slicer.org\Slicer 5.6.1\lib\Python\Lib\http\client.py", line 946, in connect
self.sock = self._create_connection(
File "C:\Users\Eva\AppData\Local\slicer.org\Slicer 5.6.1\lib\Python\Lib\socket.py", line 844, in create_connection
raise err
File "C:\Users\Eva\AppData\Local\slicer.org\Slicer 5.6.1\lib\Python\Lib\socket.py", line 832, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
I am using Slicer 5.6 - I tried installing 5.7 but it does not open, similar to the behaviour I had a while back
Please let me know if this should be posted on the Monai Forum instead