yinqiwen / gsnova

Private proxy solution & network troubleshooting tool.
BSD 3-Clause "New" or "Revised" License
560 stars 189 forks source link

用arm版报错? #42

Open jlzsss opened 7 years ago

jlzsss commented 7 years ago

报错信息如下: dial websocket error:x509: failed to load system roots and no roots provided 2016/12/26 11:03:02 Channel[0] connect wss://*.herokuapp.com failed:x509: failed to load system roots and no roots provided. 2016/12/26 11:03:03 Channel[0] auth failed since remote server disconnect. 2016/12/26 11:03:03 [ERROR]Failed to connect [0]wss://**.herokuapp.com for reason:Server:wss://**.herokuapp.com auth failed. 2016/12/26 11:03:03 Proxy channel(PAAS):heroku init failed with reason:Failed to auth wss://**.herokuapp.com

jlzsss commented 7 years ago

自己编译时也报错。 错误信息如下: ..\gsnova\gsnova_unix.go:23: cannot use protector.Dial (type func(string, string , time.Duration) (net.Conn, error)) as type func(context.Context, string, string ) (net.Conn, error) in argument to netx.OverrideDial

yinqiwen commented 7 years ago
  1. 连接失败问题看起来和TLS证书验证有关,这个和os有关
  2. 编译问题需要看下netx这个库的接口和gsnova_unix.go:23 调用的地方是否一致,这个库可能有更新或者你用的是一个更早版本导致接口不兼容