IBMDataScience / DSx-Desktop

IBM Data Science Experience Desktop was built for those who want to download and play locally. Analyze, learn, and build with the tools you love, right on your desktop.
33 stars 18 forks source link

Internet connection needed during downloading notebook #39

Closed yccheung closed 6 years ago

yccheung commented 7 years ago

I am using a proxy to access the internet and during the installation, no internet connection can be detected. How to set the proxy for the installation?

Thanks for the attention~

sahilshah2211 commented 6 years ago

@yccheung Please can you verify that the problem still persists in the latest DSX Desktop version. Also if it does it will be really helpful if you can send us the logs. You can find it at Help -> Open Log Folder

anougo commented 6 years ago

I have the same problem. I installed Docker for Windows in advance. And could not download notebooks. dsx-desktop.log

jerry1100 commented 6 years ago

Hi @yccheung, when you say "during the installation, no internet connection can be detected", does the installation fail and that error message is displayed? Or does the download hang forever?

@anougo, this line from your logs:

[2018-04-03 19:35:18:0298] [error] Error while pulling hybridcloudibm/dsx-desktop:ana35:
Error: (HTTP code 500) server error - {"message":"Get https://registry-1.docker.io/v2/:
net/http: request canceled while waiting for connection (Client.Timeout exceeded while
awaiting headers)"}

indicates that docker could not connect to the public registry. This means the issue is with docker and your proxy, not with DSX Desktop. To verify, open a terminal and enter docker pull hello-world. This should fail as well.

I'm not too familiar with configuring docker to use proxies, but I found this article by Microsoft which has some steps on configuring your proxy.

Let me know if that works.

anougo commented 6 years ago

@jerry1100, Thank you for your reply. As you pointed out, docker pull hello-world was failed. After configuring the proxy to Docker for Windows, installer no longer outputs error messages.

jerry1100 commented 6 years ago

@yccheung, please let me know if this is still an issue for you.