# Knife - Error connecting to https://api.opscode.com/organizations

**URL:** <https://discourse.chef.io/t/knife-error-connecting-to-https-api-opscode-com-organizations/4885>\
**Category:** Chef Infra (archive)\
**Created:** [January 13, 2014, 11:58pm UTC](https://discourse.chef.io/t/knife-error-connecting-to-https-api-opscode-com-organizations/4885 "2014-01-13T23:58:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yenthao\_Pham](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@Yenthao\_Pham](https://discourse.chef.io/u/Yenthao_Pham)\
**Post date:** [January 13, 2014, 11:58pm UTC](https://discourse.chef.io/t/knife-error-connecting-to-https-api-opscode-com-organizations/4885/1 "2014-01-13T23:58:57Z")

</div>

I’m trying to follow the training material, lesson #2, on  
[https://learnchef.opscode.com/](https://learnchef.opscode.com/) -

So far, I managed to install chef client on a desktop (virtual desktop). I  
also created an organization in the hosted chef.

The issue now is that when I tried to perform “fnife client list”, I get  
"ERROR: Network Error: Error connecting to  
[https://api.opscode.com/organizations/chefytp/clients](https://api.opscode.com/organizations/chefytp/clients) - getaddrinfo: This  
is usually a temporary error during hostname resolution and means that the  
local server did not receive a response from an authoritative  
server…" (see below).

So perhaps my local DNS cannot resolve this address, is there an IP address  
that I can try? Or any other suggestion? Thanks!

Yenthao Pham  
Global Business Services  
Enterprise Service - IT  
Software Engineering Solutions  
Raytheon Company

---

<div class="post-metadata">

**Author:** ![Cassiano\_Leal](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/cassiano_leal/32/86_2.png) [@Cassiano\_Leal](https://discourse.chef.io/u/Cassiano_Leal)\
**Post date:** [January 14, 2014, 12:04am UTC](https://discourse.chef.io/t/knife-error-connecting-to-https-api-opscode-com-organizations/4885/2 "2014-01-14T00:04:24Z")

</div>

Did you try to ping the host?

$ ping [api.opscode.com](http://api.opscode.com)  
PING [api.opscode.com](http://api.opscode.com) (184.106.28.84): 56 data bytes  
64 bytes from 184.106.28.84: icmp\_seq=0 ttl=44 time=593.566 ms  
64 bytes from 184.106.28.84: icmp\_seq=1 ttl=44 time=704.453 ms  
^C  
--- [api.opscode.com](http://api.opscode.com) ping statistics ---  
2 packets transmitted, 2 packets received, 0.0% packet loss  
round-trip min/avg/max/stddev = 593.566/649.010/704.453/55.444 ms

There’s one IP, but you should really try to fix the network/DNS problem. 🙂

--  
Cassiano Leal  
Sent with Sparrow ([http://www.sparrowmailapp.com/?sig](http://www.sparrowmailapp.com/?sig))

On Monday, January 13, 2014 at 23:58, Yenthao Pham wrote:

> I'm trying to follow the training material, lesson #2, on [https://learnchef.opscode.com/](https://learnchef.opscode.com/) -
> 
> So far, I managed to install chef client on a desktop (virtual desktop). I also created an organization in the hosted chef.
> 
> The issue now is that when I tried to perform "fnife client list", I get "ERROR: Network Error: Error connecting to [Sign In - Chef Manage](https://api.opscode.com/organizations/chefytp/clients) - getaddrinfo: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server..." (see below).
> 
> So perhaps my local DNS cannot resolve this address, is there an IP address that I can try? Or any other suggestion? Thanks!
> 
> Yenthao Pham  
> Global Business Services  
> Enterprise Service - IT  
> Software Engineering Solutions  
> Raytheon Company
