Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2171 Discussions

Get "https://iotdk.intel.com/samples-iss/2021.1-beta08//cpp.json": context deadline exceeded (Client

shefmarkh
Beginner
2,426 Views

Hello,

I installed ones by creating:

more /etc/yum.repos.d/oneAPI.repo
[oneAPI]
name=Intel(R) oneAPI repository
enabled=1
gpgcheck=1
repo_gpgcheck=1
 
yum install intel-hpckit
 
This was done inside a linux docker container running on a linux VM in OpenStack. When I try to run oneapi-cli it fails:

oneapi-cli

Connecting to online Sample Aggregator, this may take some time based on network conditions

2020/08/13 13:45:02 failed to connect to sample aggregator, attempting to use local cache

2020/08/13 13:45:02 operating offline and local cache does not exist

Failed to fetch sample index, this *may* be your network/proxy environment.

You might try setting http_proxy in your environment, for example:

Linux: export http_proxy=http://your.proxy:8080

Windows: set http_proxy=http://your.proxy:8080

Get "https://iotdk.intel.com/samples-iss/2021.1-beta08//cpp.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

I seem to be able to access other external web addresses via e.g. wget, so I am unsure what the problem might be with the above command. Does someone have a suggestion of how to debug further or even fix the issue?

Thanks,

Mark
Labels (1)
0 Kudos
7 Replies
GouthamK_Intel
Moderator
2,405 Views

Hi,

We think your proxy is blocking the web address oneapi-cli is trying to reach, to verify it could please try doing wget to below address and let us know if you are able to get it or not.


https://iotdk.intel.com/samples-iss/2021.1-beta08//cpp.json


For time being, you can use the below GitHub repo where you can find all the oneAPI samples.


https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/DPC%2B%2B


Thanks & Regards

Goutham


0 Kudos
shefmarkh
Beginner
2,387 Views

Hi,

Thanks for the reply. wget seems to just hang without completing. It works fine for other URL though.

In the end I got the examples via GitHub instead.

Thanks,

Mark

0 Kudos
Tom_Ingleby_Intel
2,374 Views

Curious.

  • Are you able to ping/resolve `iotdk.intel.com` ?
  • I'm guessing `curl -v https://iotdk.intel.com/samples-iss/2021.1-beta08/cpp.json` will also just timeout?
  • Is there any proxy/filtering on the internet connection from the environment?
  • Are you using IPv4 or IPv6 primary? Try use wget -4 on the URL above.

 

0 Kudos
shefmarkh
Beginner
2,367 Views

Hello,

Well today I apparently do not see the problem! I am running on a VM machine running on a cluster run by an organisation, so I wonder if someone has changed some setting.

Cheers,

Mark

0 Kudos
GouthamK_Intel
Moderator
2,358 Views

Hi Mark,

Glad to know that your issue is resolved!

Feel free to raise a new thread in case of any further queries.

Could you please confirm if we can close this thread from our side?


Thanks & Regards

Goutham


0 Kudos
shefmarkh
Beginner
2,353 Views

Yes its fine to close it.

Cheers,

Mark

0 Kudos
GouthamK_Intel
Moderator
2,338 Views

Hi,

Thanks for the confirmation!

As this issue has been resolved, we will no longer respond to this thread. If you require any additional assistance from Intel, please start a new thread. 

Any further interaction in this thread will be considered community only.

Have a Good day!


Thanks & Regards

Goutham


0 Kudos
Reply