java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: java.lang.IllegalArgumentException: SSL

jaspersoft.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SSL connection with specific protocol version

    Stack Overflow | 3 years ago | user3202597
    java.lang.IllegalArgumentException: SSLv2Hello cannot be enabled unless at least one other supported version is also enabled.

  1. kid 1 times, last 11 months ago
1 unregistered visitors

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    SSL

    at sun.security.ssl.ProtocolVersion.valueOf()
  2. Java JSSE
    SSLSocketImpl.setEnabledProtocols
    1. sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:187)
    2. sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
    3. sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52)
    4. sun.security.ssl.SSLSocketImpl.setEnabledProtocols(SSLSocketImpl.java:2504)
    4 frames
  3. com.jaspersoft.studio
    RestV2ConnectionJersey$1.prepareSocket
    1. com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey$1.prepareSocket(RestV2ConnectionJersey.java:160)
    1 frame
  4. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:289)
    2. org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:259)
    3. org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125)
    4. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
    5. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
    6. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
    7. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
    8. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
    9. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
    10. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    11. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
    11 frames
  5. jersey-connectors-apache
    ApacheConnector$1.run
    1. org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:469)
    2. org.glassfish.jersey.apache.connector.ApacheConnector$1.run(ApacheConnector.java:527)
    2 frames
  6. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2 frames
  7. jersey-repackaged-guava
    AbstractListeningExecutorService.submit
    1. jersey.repackaged.com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293)
    2. jersey.repackaged.com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:49)
    2 frames
  8. jersey-connectors-apache
    ApacheConnector.apply
    1. org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:523)
    1 frame
  9. jersey-core-client
    ClientRuntime$1.run
    1. org.glassfish.jersey.client.ClientRuntime$1.run(ClientRuntime.java:169)
    1 frame
  10. Jersey Core
    RequestScope.runInScope
    1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
    2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
    3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)
    6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:320)
    6 frames
  11. jersey-core-client
    ClientRuntime$2.run
    1. org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:201)
    1 frame
  12. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames