quarkus: SSL handshake error when using dev mode

Describe the bug

I have created a service that connects to an external https service (https://api.punkapi.com/v2/beers). To make this connection I have used the MP Rest Client. Then I start the service using dev mode. The first request I do works perfectly but if I do a change in the code and then I do again the request I get an exception: Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

So first time works, but not the second time. I have packed into a JAR the application and then it works all the time, so it seems that with live reloading + https is not working correctly.

Expected behavior

Be able to do multiple requests.

Actual behavior

Only first request works.

To Reproduce Steps to reproduce the behavior:

  1. Create a MP Rest client that connects to https
  2. Deploy in dev mode
  3. Do two requests

Environment (please complete the following information):

  • Quarkus 0.21.2
  • Java 11.0.1
  • MacOS

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 20 (19 by maintainers)

Most upvoted comments