Good job! Thanks!
Nothing really serious, but this change breaks an application.
This application is configured to accept any certificate
(ws.acceptAnyCertificate=true)
Nevertheless the certificate is now check:
10:49:30.003 [warn] o.j.n.channel.DefaultChannelFuture - An exception
was thrown by ChannelFutureListener.
java.net.ConnectException: HostnameVerifier exception.
at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:81)
~[async-http-client-1.7.18.jar:na]
at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427)
~[netty-3.7.1.Final.jar:na]
at org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:413)
~[netty-3.7.1.Final.jar:na]
at org.jboss.netty.channel.DefaultChannelFuture.setSuccess(DefaultChannelFuture.java:362)
~[netty-3.7.1.Final.jar:na]
The WS request never completes.
Is that the expected behavior? Or should an exception be thrown to the callee?
As quick workaround, it is possible to configure an non existing
hostname verifier:
ws.ssl.hostnameVerifierClassName=blabla
Maybe the hostname should not be verified when the WS is configured to
accept any certificate?
Thanks about this detailed info, Will.
What about the request that never complete with that verification? Is it the expected behavior?
Thanks about this detailed info, Will.
What about the request that never complete with that verification? Is it the expected behavior?
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.