# SSL error: wrong version number

**URL:** <https://meta.discourse.org/t/ssl-error-wrong-version-number/141681>\
**Category:** Product Support\
**Created:** [February 15, 2020, 12:22pm UTC](https://meta.discourse.org/t/ssl-error-wrong-version-number/141681 "2020-02-15T12:22:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![samtuke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samtuke/32/64543_2.png) [@samtuke](https://meta.discourse.org/u/samtuke)\
**Post date:** [February 15, 2020, 12:22pm UTC](https://meta.discourse.org/t/ssl-error-wrong-version-number/141681/1 "2020-02-15T12:22:14Z")

</div>

Hello hello, when trying to enable POP3 polling a generic error appears in the UI: “sorry an error has occurred”. On checking the logs we see this:

```
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: wrong version number) /usr/local/lib/ruby/2.6.0/net/protocol.rb:44:in `connect_non

```

What does this mean? Any pointers to the meaning or possible resolution of this issue would be much appreciated!

Full log and screenshot below.

 ![IMG_20200215_132010](https://global.discourse-cdn.com/meta/original/3X/e/8/e8358bef84d19e807aaae7aad8a6aa49803e0f94.png)

```plaintext
Message (4 copies reported)

OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: wrong version number)
/usr/local/lib/ruby/2.6.0/net/protocol.rb:44:in `connect_nonblock'

Backtrace

/usr/local/lib/ruby/2.6.0/net/protocol.rb:44:in `connect_nonblock'
/usr/local/lib/ruby/2.6.0/net/protocol.rb:44:in `ssl_socket_connect'
/usr/local/lib/ruby/2.6.0/net/pop.rb:553:in `do_start'
/usr/local/lib/ruby/2.6.0/net/pop.rb:531:in `start'
/usr/local/lib/ruby/2.6.0/net/pop.rb:317:in `auth_only'
/var/www/discourse/lib/validators/pop3_polling_enabled_setting_validator.rb:39:in `authentication_works?'
/var/www/discourse/lib/validators/pop3_polling_enabled_setting_validator.rb:18:in `valid_value?'
/var/www/discourse/lib/site_settings/type_supervisor.rb:215:in `validate_value'
/var/www/discourse/lib/site_settings/type_supervisor.rb:140:in `to_db_value'
/var/www/discourse/lib/site_setting_extension.rb:349:in `add_override!'

Env

HTTP HOSTS: discuss.lightmeter.io

```

---

_[View the full topic](https://meta.discourse.org/t/ssl-error-wrong-version-number/141681)._
