Grizzly with TLS - Handshaking issue

旧街凉风 提交于 2019-12-01 10:52:08

I've had this exact same problem, when using -Djavax.net.debug=all command line parameter I found this log line:

Grizzly(2) SelectorRunner, fatal error: 80: problem unwrapping net record

Based on the comments by alexey I changed the code to:

engineConfigurator.setClientMode(false);
engineConfigurator.setNeedClientAuth(false);

After this change, the fatal error dissapears and I am able to access the application.wadl over https with a browser.

I've lost quite a bit of time searching for a solution, it would be nice if Grizzly reported this problem in a more readable, understandable way.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!