# Slicer error when using  Nvidia AIAA

**URL:** <https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519>\
**Category:** Support\
**Created:** [March 3, 2020, 2:03pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519 "2020-03-03T14:03:48Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Memo\_son](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/memo_son/32/6200_2.png) [@Memo\_son](https://discourse.slicer.org/u/Memo_son)\
**Post date:** [March 3, 2020, 2:03pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/1 "2020-03-03T14:03:48Z")

</div>

Operating system: Windows 10  
Slicer version: 4.11.0  
Expected behavior: fetch models from remote server  
Actual behavior: fail

i got error when trying to use Nvidia AIAA,i am using MRBrainTumor1 from Sample Data Module.neiter can i enter the server address, nor can i leave it empty  
Failed to fetch models from remote server. Make sure server address is correct and \<server\_uri\>/v1/models is accessible in browser

details  
Traceback (most recent call last):  
File “C:/Users/mehmetcane/AppData/Roaming/NA-MIC/Extensions-28798/NvidiaAIAssistedAnnotation/lib/Slicer-4.11/qt-scripted-modules/SegmentEditorNvidiaAIAALib/SegmentEditorEffect.py”, line 196, in fetchAIAAModels  
models = self.logic.list\_models()  
File “C:/Users/mehmetcane/AppData/Roaming/NA-MIC/Extensions-28798/NvidiaAIAssistedAnnotation/lib/Slicer-4.11/qt-scripted-modules/SegmentEditorNvidiaAIAALib/SegmentEditorEffect.py”, line 1021, in list\_models  
return aiaaClient.model\_list(label)  
File “C:\Users\mehmetcane\AppData\Roaming\NA-MIC\Extensions-28798\NvidiaAIAssistedAnnotation\lib\Slicer-4.11\qt-scripted-modules\NvidiaAIAAClientAPI\client\_api.py”, line 191, in model\_list  
status, response = AIAAUtils.http\_method(‘GET’, self.\_server\_url, selector)  
File “C:\Users\mehmetcane\AppData\Roaming\NA-MIC\Extensions-28798\NvidiaAIAssistedAnnotation\lib\Slicer-4.11\qt-scripted-modules\NvidiaAIAAClientAPI\client\_api.py”, line 572, in http\_method  
conn.request(method, selector)  
File “C:\Users\mehmetcane\AppData\Local\NA-MIC\Slicer 4.11.0-2020-03-01\lib\Python\Lib\http\client.py”, line 1239, in request  
self.\_send\_request(method, url, body, headers, encode\_chunked)  
File “C:\Users\mehmetcane\AppData\Local\NA-MIC\Slicer 4.11.0-2020-03-01\lib\Python\Lib\http\client.py”, line 1285, in \_send\_request  
self.endheaders(body, encode\_chunked=encode\_chunked)  
File “C:\Users\mehmetcane\AppData\Local\NA-MIC\Slicer 4.11.0-2020-03-01\lib\Python\Lib\http\client.py”, line 1234, in endheaders  
self.\_send\_output(message\_body, encode\_chunked=encode\_chunked)  
File “C:\Users\mehmetcane\AppData\Local\NA-MIC\Slicer 4.11.0-2020-03-01\lib\Python\Lib\http\client.py”, line 1026, in \_send\_output  
self.send(msg)  
File “C:\Users\mehmetcane\AppData\Local\NA-MIC\Slicer 4.11.0-2020-03-01\lib\Python\Lib\http\client.py”, line 964, in send  
self.connect()  
File “C:\Users\mehmetcane\AppData\Local\NA-MIC\Slicer 4.11.0-2020-03-01\lib\Python\Lib\http\client.py”, line 936, in connect  
(self.host,self.port), self.timeout, self.source\_address)  
File “C:\Users\mehmetcane\AppData\Local\NA-MIC\Slicer 4.11.0-2020-03-01\lib\Python\Lib\socket.py”, line 724, in create\_connection  
raise err  
File “C:\Users\mehmetcane\AppData\Local\NA-MIC\Slicer 4.11.0-2020-03-01\lib\Python\Lib\socket.py”, line 713, in create\_connection  
sock.connect(sa)  
TimeoutError: [WinError 10060] The connected is not responding within a certain period of time accordingly or associated  
connection failed

how can i fix this, thank you.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 3, 2020, 2:07pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/2 "2020-03-03T14:07:01Z")

</div>

Are you behind a corporate firewall? Do you need to use network proxy to access the internet? Can you open the [http://skull.cs.queensu.ca:8123/](http://skull.cs.queensu.ca:8123/) link without specifying proxy settings in your web browser?

---

<div class="post-metadata">

**Author:** ![Memo\_son](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/memo_son/32/6200_2.png) [@Memo\_son](https://discourse.slicer.org/u/Memo_son)\
**Post date:** [March 3, 2020, 9:16pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/3 "2020-03-03T21:16:33Z")

</div>

I got the error while connected to the university network.I had no problems when I came home. I will try open the [http://skull.cs.queensu.ca:8123/](http://skull.cs.queensu.ca:8123/) link when i back to school tomorrow.  
Thank you for your interest.

---

<div class="post-metadata">

**Author:** ![Shahin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahin/32/15728_2.png) [@Shahin](https://discourse.slicer.org/u/Shahin)\
**Post date:** [June 21, 2022, 10:52am UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/5 "2022-06-21T10:52:47Z")

</div>

Hi,

What would be the solution if we have to use the university network that does not open this link? Any other way to connect to the server?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 21, 2022, 3:43pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/6 "2022-06-21T15:43:08Z")

</div>

The server address is subject to change. Follow these steps to connect to the current server:

- If you use the Slicer Stable Release (Slicer-5.0.x): uninstall and then install the NvidiaAIAssistedAnnotation extension
- If you use the Slicer Preview Release (Slicer-5.1.x): install the latest Slicer Preview Release and then install the NvidiaAIAssistedAnnotation extension
- In Segment Editor module / Nvidia AIAA effect, clear the “Nvidia AIAA server” field to use the new default server address.

---

<div class="post-metadata">

**Author:** ![Ning\_Li](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ning_li/32/15740_2.png) [@Ning\_Li](https://discourse.slicer.org/u/Ning_Li)\
**Post date:** [June 21, 2022, 7:41pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/7 "2022-06-21T19:41:04Z")

</div>

I met the same problem. Have you solved it, please?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 22, 2022, 1:25am UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/8 "2022-06-22T01:25:53Z")

</div>

The instructions that I provided [above](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/6) should fix the issue for you. The server works using the same protocols as all websites, so it should work even behind proxy servers and firewalls (unless your network administrators explicitly prohibited connecting to servers at Queen’s University in Canada).

---

<div class="post-metadata">

**Author:** ![Ning\_Li](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ning_li/32/15740_2.png) [@Ning\_Li](https://discourse.slicer.org/u/Ning_Li)\
**Post date:** [June 23, 2022, 3:16pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/9 "2022-06-23T15:16:59Z")

</div>

Thank you very much for your reply. Yes, it works at home. But maybe my institute, CRCHUM( Centre de recherche du Centre hospitalier de l’Université de Montréal) blocked the server website. I cant use it there. I also tried using the Proxy and closing virus protection and firewall. It still did not work.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 23, 2022, 3:25pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/10 "2022-06-23T15:25:47Z")

</div>

If your institution uses a proxy server then setting `http_proxy` and `https_proxy` environment variables may help. But if the proxy is very tricky then it may be necessary to set up your own server within your institution.

---

<div class="post-metadata">

**Author:** ![Shahin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahin/32/15728_2.png) [@Shahin](https://discourse.slicer.org/u/Shahin)\
**Post date:** [June 28, 2022, 4:06pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/11 "2022-06-28T16:06:49Z")

</div>

When I remove “Nvidia AIAA server” and put “[http://127.0.0.1:8000/](http://127.0.0.1:8000/)”, I still get the error!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 29, 2022, 2:23am UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/12 "2022-06-29T02:23:23Z")

</div>

`http://127.0.0.1:8000` works if you set up an NVIDIA Clara server on your computer at port 8000.

---

<div class="post-metadata">

**Author:** ![Shahin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahin/32/15728_2.png) [@Shahin](https://discourse.slicer.org/u/Shahin)\
**Post date:** [June 29, 2022, 7:34am UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/13 "2022-06-29T07:34:33Z")

</div>

Nvidia Clara server?! I am not sure if I have that installed on my computer!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 29, 2022, 12:52pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/14 "2022-06-29T12:52:31Z")

</div>

Setting it up is a lengthy process. If you are not sure then it means you haven’t set it up. You either need to connect to the default server or set up your own server. You may also consider using MONAILabel instead, which is easier to set up.

---

<div class="post-metadata">

**Author:** ![Shahin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahin/32/15728_2.png) [@Shahin](https://discourse.slicer.org/u/Shahin)\
**Post date:** [June 30, 2022, 7:31am UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/15 "2022-06-30T07:31:25Z")

</div>

This actually happens when I use MONAI Label. It does not connect to the server.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 13, 2022, 12:26pm UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/16 "2022-07-13T12:26:50Z")

</div>

You need to set up a MONAI Label server on your computer before you can connect to it from Slicer. See the instructions [here](https://github.com/Project-MONAI/MONAILabel#installation).

---

<div class="post-metadata">

**Author:** ![musetee](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/musetee/32/16644_2.png) [@musetee](https://discourse.slicer.org/u/musetee)\
**Post date:** [September 14, 2022, 8:37am UTC](https://discourse.slicer.org/t/slicer-error-when-using-nvidia-aiaa/10519/17 "2022-09-14T08:37:17Z")

</div>

I have solved it. I’m using Conda environment and I think it may due to the virtual environment and host are separate. Using the true IP adress and it will be fine.  
It may help if you’re also using virtual environment
