### 代码如下:
``` go
request, err := http.NewRequest(method, url, body)
client.Transport = &http.Transport{
Proxy:http.ProxyURL("https://132.232.197.144:8888"),
}
response, err := client.Do(request)
```
### 错误:
``` json
{"level":"error","msg":"请求失败:","error":"Get https://sapi.k780.com/?app=ip.local&appkey=10003&sign=b59bc3ef6191eb9f747dd4e83c99f2a4&format=json: proxyconnect tcp: tls: oversized record received with length 20527"}
```
> 代码很简单,就是使用 `https://132.232.197.144:8888` 这个代理服务器去访问 `https://sapi.k780.com/?app=ip.local&appkey=10003&sign=b59bc3ef6191eb9f747dd4e83c99f2a4&format=json`
然后就出错了
请各位大佬指教。
有疑问加站长微信联系(非本文作者)