Ngrok: Compile the client error : unknown tls.Config field 'GetCertificate' in struct literal

Created on 29 Apr 2016  Â·  7Comments  Â·  Source: inconshreveable/ngrok

Hi,when i compile myself ngrok , i got an error like this
unknown tls config field
than i go to https://github.com/gorilla/websocket/blob/master/client.go check out these three filelds like this
client go
is i am alone? how can i fix this ? thanks a lot

All 7 comments

Please make sure to Compile with the latest version of Go (1.6). You can check with go version

problem solved? same error

@backylee

yes, like @inconshreveable said ,you should make sure to Compile with Go version (1.6) or the latest version , maybe the old version does not include the above variables

same error,but i have the latest version(1.6.2)

same issue for me and im on 1.6

I have the same error on go version 1.7

1.7 ok ( uninstall old firstly make sure root is new

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gauravrc picture gauravrc  Â·  4Comments

wujunze picture wujunze  Â·  9Comments

Conansoloman picture Conansoloman  Â·  7Comments

megapctr picture megapctr  Â·  4Comments

silverrajat88 picture silverrajat88  Â·  4Comments