Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] jetty 9.2.7 - SSLException when POST/GET methods are invoked

Hello,
   We are using jetty 9.2.7. When we call HTTP GET/POST methods, we get the following exception:

[ERROR]:Thread[HttpListener-17,5,main][delayed:false,suspends:0]:15-09-03T14:34:27.381-0600: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?

at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)

at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666)

at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634)

at sun.security.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:1561)

at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.closeInbound(SslConnection.java:690)

at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:532)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:227)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

:

:


I have the following code for setting up ThreadPool

BlockingQueue blockingQueue = new BlockingArrayQueue(maxThreads);

QueuedThreadPool threadPool = new HttpQueuedThreadPool(maxThreads, minThreads, idleTimeout, blockingQueue);

_server = new Server(_threadPool);


What am I doing incorrect?


Thank you,

Sesha


Back to the top