# How to fix SSL wrong version number?

**URL:** https://meta.discourse.org/t/how-to-fix-ssl-wrong-version-number/385239
**Category:** Support
**Tags:** unsupported-install, onebox
**Created:** [October 10, 2025, 2:15pm UTC](https://meta.discourse.org/t/how-to-fix-ssl-wrong-version-number/385239 "2025-10-10T14:15:36Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![pangbo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pangbo/32/538562_2.png) [@pangbo](https://meta.discourse.org/u/pangbo)
#### Post date: [October 11, 2025, 5:21pm UTC](https://meta.discourse.org/t/how-to-fix-ssl-wrong-version-number/385239/3 "2025-10-11T17:21:52Z")

</div>

Try replacing [https://github.com/discourse/discourse/blob/main/config%2Finitializers%2F013-excon\_defaults.rb](https://github.com/discourse/discourse/blob/main/config%2Finitializers%2F013-excon_defaults.rb) with:

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

```

Due to a misconfiguration of Excon, the port number was not being passed when using an HTTP proxy. Consequently, the proxy server was connecting to the remote server using port 80, while Excon was still attempting to decrypt the HTTP content using TLS.

---

_[View the full topic](https://meta.discourse.org/t/how-to-fix-ssl-wrong-version-number/385239)._
