Author James Crowther
Recipients James Crowther
Date 2017-03-02.23:36:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Currently I can't use socket to resolve host names to IP addresses. This is something critical to mine as well as other applications that run over networks. 
When I attempt to do the following:

import socket
socket.getaddrinfo(hostname, None)



I get 

socket.gaierror: [Errno 8] nodename nor servename provided, or not known.

This works perfectly on both linux kubuntu 16.0. and windows 7,10. 

Seems that the introduction of Yosemite might be the point at which this broke by doing a simple google search for "macos socket.gethostbyname gaierror".
Date User Action Args
2017-03-02 23:36:55James Crowthersetrecipients: + James Crowther
2017-03-02 23:36:55James Crowthersetmessageid: <>
2017-03-02 23:36:55James Crowtherlinkissue29705 messages
2017-03-02 23:36:55James Crowthercreate