Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/go/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Go 比戈和Https_Go_Https_Beego - Fatal编程技术网

Go 比戈和Https

Go 比戈和Https,go,https,beego,Go,Https,Beego,尝试设置https,如下所述:并在日志中获得: 2016/09/28 14:05:34 [I] [asm_amd64.s:2086] https server Running on https://127.0.0.1:10443 2016/09/28 14:05:37 [server.go:2315] [HTTP] http: TLS handshake error from 127.0.0.1:65365: tls: first record does not look like a TLS

尝试设置https,如下所述:并在日志中获得:

2016/09/28 14:05:34 [I] [asm_amd64.s:2086] https server Running on https://127.0.0.1:10443
2016/09/28 14:05:37 [server.go:2315] [HTTP] http: TLS handshake error from 127.0.0.1:65365: tls: first record does not look like a TLS handshake

我正在Windows10上运行它。有人用https工作过吗?我使用了自签名证书,该证书适用于通用的golang https简单程序。

正在Chrome和一个名为Postman的Chrome扩展中进行测试。通过设置chrome://flags/#allow-不安全的本地主机标志

另一个解决方案是使用MicrosoftEdge