2016. november 18., péntek 12:25:15 UTC+1 időpontban Diep Pham a következőt 
írta:
>
> Tamás Gulácsi wrote: 
> > Either allow accessing google.com through the VPN, or configure the 
> > network to only "use the resources" on the VPN, do not forward all 
> > traffic through it. 
>
> Maybe I didn't describe the problem clearly. VPN configuration is OK, I 
> can connect to Google normally. Only the HTTP request happens right 
> after VPN connection (or maybe during VPN connection) fails. If I use 
> default HTTP client, it will freeze forever. If I set timeout to 10s, it 
> will hang for 10s and returns the "net/http: request canceled 
> (Client.Timeout exceeded while awaiting headers" error. 
>

In this casee you should just retry: the VPN transition may mean that the 
previously resolved DNS address of google.com has changed, or the whole 
routing has changed, and you have to start over. 

-- 
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 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to