[go-nuts] http client GET with err : dial tcp:look up xxxxx: Temporary failure in name resolution

2018-08-28 Thread 'Rick Timmis' via golang-nuts
Hi, try running your code in a debugger, it smells like a DNS resolution failing, leaving your code awaiting a response. In a debugger you would be able to see this happening HTH -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fr

[go-nuts] http client GET with err : dial tcp:look up xxxxx: Temporary failure in name resolution

2018-08-26 Thread Youqi yu
Hi : as the topic, did anyone met this problem before? I set http client timeout for 2 second, generally It works fine. But sometimes It blocked for more than 4 minutes ,even 14minutes. The goroutines keeps inc as many requests come in. After that block time all request return this error. I