خطأ أثناء الاتصال باستخدام discourse_theme cli

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

/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?

إعجاب واحد (1)

That suggests that your certificate is broken somehow. If the site works in your browser, then maybe there is some spurious DNS or networking issue.

إعجابَين (2)

What should I start to debug? My site is working good

Is your os up to date? Maybe your openssl is out of date