Hi,
I'm trying to install HTTPS on my web app using this
http://www.playframework.org/documentation/1.1.1/releasenotes-1.1#https
I'm not using keystore, and I generated my certificate with openssl.
When I browse to my apps, everything is Ok in the client side, but the
server log an erro for each request.
Here is the stacktrace :
14:56:58,837 ERROR ~
java.io.IOException: Connexion ré-initialisée par le correspondant //
connection reset by peer
at sun.nio.ch.FileDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:202)
at sun.nio.ch.IOUtil.read(IOUtil.java:169)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:
243)
at
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:321)
at
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:
280)
at
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:200)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
14:56:58,838 ERROR ~
java.io.IOException: Relais brisé (pipe) //broken pipe
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:72)
at sun.nio.ch.IOUtil.write(IOUtil.java:28)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:
334)
at org.jboss.netty.channel.socket.nio.SocketSendBufferPool
$PooledSendBuffer.transferTo(SocketSendBufferPool.java:239)
at
org.jboss.netty.channel.socket.nio.NioWorker.write0(NioWorker.java:
469)
at
org.jboss.netty.channel.socket.nio.NioWorker.writeFromUserCode(NioWorker.java:
387)
at
org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:
137)
at
org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:
76)
at org.jboss.netty.channel.Channels.write(Channels.java:632)
at org.jboss.netty.channel.Channels.write(Channels.java:593)
at
org.jboss.netty.handler.ssl.SslHandler.wrapNonAppData(SslHandler.java:
803)
at
org.jboss.netty.handler.ssl.SslHandler.closeOutboundAndChannel(SslHandler.java:
1045)
at
org.jboss.netty.handler.ssl.SslHandler.handleDownstream(SslHandler.java:
409)
at
org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:
60)
at
org.jboss.netty.handler.stream.ChunkedWriteHandler.handleDownstream(ChunkedWriteHandler.java:
114)
at org.jboss.netty.channel.Channels.close(Channels.java:720)
at
org.jboss.netty.channel.AbstractChannel.close(AbstractChannel.java:
208)
at
play.server.ssl.SslPlayHandler.exceptionCaught(SslPlayHandler.java:60)
at
org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:
148)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.exceptionCaught(ReplayingDecoder.java:
461)
at
org.jboss.netty.handler.ssl.SslHandler.exceptionCaught(SslHandler.java:
510)
at
org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:
432)
at
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:331)
at
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:
280)
at
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:200)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Those errors don't alter the program, but I don't really like it ^^
And why the hell are they in French !!??