question

angq fasq avatar image
angq fasq asked angq fasq answered

SSL Handshake fails

Hello,

We seem to have a problem while authenticating. When we try to call https://platform.devtest.ringcentral.com/restapi/oauth/token from out Java Backend to get the access token we get the following error:

I/O error on POST request for "https://platform.devtest.ringcentral.com/restapi/oauth/token":Remote host closed connection during handshake; nested exception is javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake


This was working until 21/12 when we last checked before holidays. Has something changed during that time period?

Thank you

authentication
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

angq fasq avatar image
angq fasq answered

Hello Phong,
We are using our own code and utilizing the rest api. The problem was that the requests were sent TLSv1 (which worked until 21/12). We now use TLSv1.2 for our requests and everything works fine again.
Thank you.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered

I just try with the RingCentral Java SDK to authenticate and it works well.

Do you use the RingCentral SDK or your own code? Can you try again and print out more log.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys