# Error while connecting using discourse\_theme cli

**URL:** <https://meta.discourse.org/t/error-while-connecting-using-discourse-theme-cli/249881>\
**Category:** Product Support\
**Created:** [December 26, 2022, 9:41am UTC](https://meta.discourse.org/t/error-while-connecting-using-discourse-theme-cli/249881 "2022-12-26T09:41:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![misham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/misham/32/282796_2.png) [@misham](https://meta.discourse.org/u/misham)\
**Post date:** [December 26, 2022, 9:41am UTC](https://meta.discourse.org/t/error-while-connecting-using-discourse-theme-cli/249881/1 "2022-12-26T09:41:08Z")

</div>

Hi! When using discourse\_theme I often have problems with connection, it shows these error after 30s

```plaintext
/root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/net/protocol.rb:46:in `connect_nonblock': SSL_connect returned=1 errno=0 peeraddr=192.203.230.10:443 state=error: sslv3 alert handshake failure (OpenSSL::SSL::SSLError)
        from /root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/net/protocol.rb:46:in `ssl_socket_connect'
        from /root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/net/http.rb:1048:in `connect'
        from /root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
        from /root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/net/http.rb:965:in `start'
        from /root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/net/http.rb:1530:in `request'
        from /root/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/discourse_theme-0.7.3/lib/discourse_theme/client.rb:135:in `request'
        from /root/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/discourse_theme-0.7.3/lib/discourse_theme/client.rb:104:in `discourse_version'
        from /root/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/discourse_theme-0.7.3/lib/discourse_theme/client.rb:18:in `initialize'
        from /root/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/discourse_theme-0.7.3/lib/discourse_theme/cli.rb:41:in `new'
        from /root/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/discourse_theme-0.7.3/lib/discourse_theme/cli.rb:41:in `run'
        from /root/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/discourse_theme-0.7.3/bin/discourse_theme:6:in `<top (required)>'
        from /root/.rbenv/versions/3.1.2/bin/discourse_theme:25:in `load'
        from /root/.rbenv/versions/3.1.2/bin/discourse_theme:25:in `<main>'

```

it’s not always but often and sometimes some time after everything worked and files were uploading successfully. Is it a bug of discourse\_theme cli?

---

_[View the full topic](https://meta.discourse.org/t/error-while-connecting-using-discourse-theme-cli/249881)._
