This issue was due to golang 1.7 version and it is resolved after build the
code with golang 1.7.1 version.
For details:
https://github.com/golang/go/issues/16865
On Sunday, October 16, 2016 at 3:54:43 PM UTC-5, subbagu...@gmail.com wrote:
>
>
> Getting dail tcp error while calling httpClient.
Getting dail tcp error while calling httpClient.Get or httpClient.Post
http client settings:
httpClient = &http.Client{
Timeout: 30 * time.Second,
}
Error:
dial tcp: lookup on xx.xx.xx.xxx:53: dial udp xx.xx.xx.xxx:53: i/o timeout
CentOS version: CentOS Linux release 7.2.1511 (Core)
can