-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unstable https behaviour on Java 7 while everything is stable on Java 6 #32
Comments
Any progress on this? I am having what appears to be the same issue. I get a socket read time out or connection reset message when making a call to an https endpoint. With http it's fine, and I just switched to JDK6 and it's also fixed like yours. I believe this has to do with some sort of SSL cache. My behavior is mostly the same as yours:
I am using the latest plugin, and tried adding TLS config block, but I am getting complaints from the compiler:
if I add a comma after the secureSocketProtocol line, I get:
I was going to try to set sslCacheTimeout to zero to see if that would fix it. But I'm also wondering if that could cause other problems. It seems that when trying to repopulate the cache when using JDK7, there's an error, but I'm not seeing anything helpful in the debug output. Thanks in advance for any help! |
I have been a bit bogged down on a new contract lately and I haven't had much time to dig into my Open Source projects. I would encourage pulling down the code and seeing if you can fix the issue and submit a pull req. 👍 Otherwise it may be a while until I can check out the issue. |
I understand, and appreciate your effort, but to be honest I don't think I'm qualified to mess with your code. It's a bit beyond my skill level. I'll stick with Java 6 for now. |
Environment:
Steps to reproduce:
I connect to https host, and the connection just drops after some time (broken pipe, connection dropped).
The issue reproduces after couple of normal requests (in most cases one).
The issue will not reproduce after some hours in live application for the next request, and then starts to reproduce again.
Notes:
After some debugging I was able to find that connection always hangs and drops right after SSL handshake sent.
I'm not sure if it's apache-cxf problem itself but if I use groovy HTTPBuilder and emulate same soap request — everything works without any issues.
I also tried to update cxf version to latest, but without any changes in issue behaviour.
I'm really puzzled by that issue already.
Please contact me for more detailed information and test project if needed.
The text was updated successfully, but these errors were encountered: