张林 wrote:
Hi,
In the client side, I want to use "wss" to communicate with the server,
when I change the "ws" to "wss", it reported a error:
/java.lang.IllegalArgumentException: XNIO000100: 'https' URL scheme
chosen but no SSL provider given/
So I try to provide a ssl provider XnioSsl, but I found the
io.undertow.websockets.client.WebSocketClient not support.
in the code ,it invokes the method:
HttpUpgrade.performUpgrade(worker, null, newUri, headers, new
ChannelListener(handshake, newUri, bufferPool, ioFuture);
*NOT*
HttpUpgradeState(final XnioWorker worker,*final XnioSsl ssl*, final
InetSocketAddress bindAddress, final URI uri, final Map<String, String>
headers, final ChannelListener<? super T> openListener, final
ChannelListener<? super BoundChannel> bindListener, final OptionMap
optionMap, final HandshakeChecker handshakeChecker)
I think it doesn't support wss yet for undertow now? is it right? or
could you tell me how to do this? Thanks.
Hmm, you are correct. I will fix this up in Undertow upstream.
Stuart
Sincerely yours,
Lynn
_______________________________________________
undertow-dev mailing list
undertow-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev