Getting dail tcp error while calling httpClient.Get or httpClient.Post

http client settings:
httpClient = &http.Client{
Timeout: 30 * time.Second,


dial tcp: lookup on dial udp i/o timeout

CentOS version: CentOS Linux release 7.2.1511 (Core) 

can you provide the resolution for this?

You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to