• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLHandshakeException

    User help
    3
    9
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cbyrneC
      cbyrne
      last edited by cbyrne

      My email reports have stopped working. What's odd is that they worked before. Only change has been a restart to Mango.

      Mail server connection failed; nested exception is javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]
      

      Note the same issue raised by @MattFox a few months ago
      https://forum.mango-os.com/topic/5050/javax-mail-messagingexception-could-not-convert-socket-to-tls?_=1632124368011

      Software Developer for GLAS Energy Technology, Ireland

      MattFoxM 1 Reply Last reply Reply Quote 0
      • MattFoxM
        MattFox @cbyrne
        last edited by

        @cbyrne Saw you called my name...
        Been a while!
        Get yourself a gsuite account if you don't already have one, set up an application only password and use that to send your emails out.

        Fox

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        cbyrneC 1 Reply Last reply Reply Quote 0
        • cbyrneC
          cbyrne @MattFox
          last edited by

          @mattfox Hey, good to see you too!

          Mailserver isn't google unfortunately. The quick and dirty solution was just to disable TLS in the email settings. Fine for now as we needed to get clients their reports but not exactly ideal going forward.

          Software Developer for GLAS Energy Technology, Ireland

          MattFoxM 1 Reply Last reply Reply Quote 0
          • MattFoxM
            MattFox @cbyrne
            last edited by

            @cbyrne if you can increase your security to TLS 1.2+ you'll be golden.

            That's what the error is about, and for it to work I needed port 587.

            Best of luck man

            Fox

            Do not follow where the path may lead; go instead where there is no path.
            And leave a trail - Muriel Strode

            cbyrneC 1 Reply Last reply Reply Quote 0
            • cbyrneC
              cbyrne @MattFox
              last edited by

              @mattfox I wish I could, mail server needs 1.0. Thanks!

              Software Developer for GLAS Energy Technology, Ireland

              1 Reply Last reply Reply Quote 0
              • Jared WiltshireJ
                Jared Wiltshire
                last edited by

                TLS 1.0 is disabled in newer JDKs, there are ways to re-enable it but I am not going to encourage it.

                Developer at Radix IoT

                cbyrneC 1 Reply Last reply Reply Quote 0
                • cbyrneC
                  cbyrne @Jared Wiltshire
                  last edited by

                  @jared-wiltshire The mailserver isn't mine so I don't exactly have any other option. I'd rather use outdated TLS rather than no TLS. Thanks for the info.

                  Software Developer for GLAS Energy Technology, Ireland

                  Jared WiltshireJ 1 Reply Last reply Reply Quote 0
                  • Jared WiltshireJ
                    Jared Wiltshire @cbyrne
                    last edited by

                    @cbyrne said in Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLHandshakeException:

                    @jared-wiltshire The mailserver isn't mine so I don't exactly have any other option. I'd rather use outdated TLS rather than no TLS. Thanks for the info.

                    Yep I understand, I would bring it up with whoever runs your mail server though :)

                    Developer at Radix IoT

                    cbyrneC 1 Reply Last reply Reply Quote 0
                    • cbyrneC
                      cbyrne @Jared Wiltshire
                      last edited by

                      @jared-wiltshire Oh I know... that's a whole other issue. I'm painfully aware how silly this is!

                      Software Developer for GLAS Energy Technology, Ireland

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post