Olivier Lamy wrote:
Hi,
I'm trying to write a custom ssl socket to handle self signed certificates).

I have the following exception :
Caused by: java.lang.IllegalStateException: Unable to establish route.
planned = HttpRoute[{}->https://localhost:443]
current = HttpRoute[{s}->https://localhost:443]
Any ideas ?

Thanks,
--
Olivier


Hi Olivier

Apparently there is a mismatch in the security level of expected and effective routes.

I _assume_ there is something wrong with the custom socket factory you are using. Does the socket factory implement LayeredSocketFactory interface?

A code snippet or a debug / wire log would be quite handy.

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to