如何修复 SSL 版本号错误?

尝试将 discourse/config/initializers/013-excon_defaults.rb at main · discourse/discourse · GitHub
替换为

require "excon"
Excon::DEFAULTS[:include_default_port] = true

由于 Excon 配置错误,在使用 HTTP 代理时未传递端口号。因此,代理服务器使用端口 80 连接到远程服务器,而 Excon 仍在尝试使用 TLS 解密 HTTP 内容。

1 个赞