Community
cancel
Showing results for 
Search instead for 
Did you mean: 
shefmarkh
Beginner
370 Views

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

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
349 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


shefmarkh
Beginner
331 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

318 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.

 

shefmarkh
Beginner
311 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

GouthamK_Intel
Moderator
302 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


shefmarkh
Beginner
297 Views

Yes its fine to close it.

Cheers,

Mark

GouthamK_Intel
Moderator
282 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


Reply