NVIDIA / ai-assisted-annotation-client

Client side integration example source code and libraries for AI-Assisted Annotation SDK
Other
308 stars 64 forks source link

Connection actively refused by server #35

Closed cpinter closed 5 years ago

cpinter commented 5 years ago

I tried using the extension, and did this:

However I got a python error:

Traceback (most recent call last):
  File "C:/d/_Extensions/NvidiaAIAA/NvidiaAIAA/SegmentEditorNvidiaAIAALib/SegmentEditorEffect.py", line 165, in onClickModels
    models = json.loads(logic.list_models(label if self.filterByLabel.checked else None))
  File "C:/d/_Extensions/NvidiaAIAA/NvidiaAIAA/SegmentEditorNvidiaAIAALib/SegmentEditorEffect.py", line 472, in list_models
    conn.request('GET', selector)
  File "C:\Users\pinter\AppData\Local\NA-MIC\Slicer 4.11.0-2019-09-17\lib\Python\Lib\http\client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "C:\Users\pinter\AppData\Local\NA-MIC\Slicer 4.11.0-2019-09-17\lib\Python\Lib\http\client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "C:\Users\pinter\AppData\Local\NA-MIC\Slicer 4.11.0-2019-09-17\lib\Python\Lib\http\client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "C:\Users\pinter\AppData\Local\NA-MIC\Slicer 4.11.0-2019-09-17\lib\Python\Lib\http\client.py", line 1026, in _send_output
    self.send(msg)
  File "C:\Users\pinter\AppData\Local\NA-MIC\Slicer 4.11.0-2019-09-17\lib\Python\Lib\http\client.py", line 964, in send
    self.connect()
  File "C:\Users\pinter\AppData\Local\NA-MIC\Slicer 4.11.0-2019-09-17\lib\Python\Lib\http\client.py", line 936, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "C:\Users\pinter\AppData\Local\NA-MIC\Slicer 4.11.0-2019-09-17\lib\Python\Lib\socket.py", line 724, in create_connection
    raise err
  File "C:\Users\pinter\AppData\Local\NA-MIC\Slicer 4.11.0-2019-09-17\lib\Python\Lib\socket.py", line 713, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

It says that the target machine actively refused the connection. Does anybody know anything about this? Thanks!

SachidanandAlle commented 5 years ago

Have you setup AIAA server? Is it running.. if so, can you access http://**aiaa_server_ip:port**/v1/models in web-browser... Is it accessible? Can you can see the models.. If yes, then double check the configuration in plugin

cpinter commented 5 years ago

As I said I use the server the address of which I got from your email (on August 12, if you want to check it). If I enter that address in a browser it says it cannot be reached, also I cannot ping it. Maybe there is a different server now that should be used? The default value that the module has does not work either.

SachidanandAlle commented 5 years ago

I think you can check with @bsmarine he did mention earlier that server was down...

lassoan commented 5 years ago

@SachidanandAlle could you check if server of @bsmarine works for you or you get the same error as @cpinter?

SachidanandAlle commented 5 years ago

I cannot access now.. It was working earlier :)

cpinter commented 5 years ago

Thanks! Maybe it's just unlucky timing on my part. I'll wait until it's confirmed that it works again

bsmarine commented 5 years ago

Server should be back up and serving liver, liver tumor, liver vessels, and a few other models now. Thanks for being patient!

On Wed, Sep 18, 2019 at 1:29 PM Csaba Pinter notifications@github.com wrote:

Thanks! Maybe it's just unlucky timing on my part. I'll wait until it's confirmed that it works again

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NVIDIA/ai-assisted-annotation-client/issues/35?email_source=notifications&email_token=AE7X5GPHZL6WKU6OSZCWG7LQKJQQ5A5CNFSM4IYATJFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7A2WCI#issuecomment-532785929, or mute the thread https://github.com/notifications/unsubscribe-auth/AE7X5GOZMUTTTV2DMPXB3JTQKJQQ5ANCNFSM4IYATJFA .

cpinter commented 5 years ago

Thank you, I confirm it works now!