Skip to content

Revert old SSL/TLS logic change #19

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

Merged
merged 1 commit into from
Mar 18, 2019
Merged

Revert old SSL/TLS logic change #19

merged 1 commit into from
Mar 18, 2019

Conversation

lpatino10
Copy link
Contributor

A while ago, a change was made to the Java SDK core to try and fix some SSLHandshakeExceptions showing up in Visual Recognition on Oracle JDK 7. The PR to try and make that fix is here: watson-developer-cloud/java-sdk#890

However, there was an issue reported later that this "fix" introduced some other potential problems. Here is that issue: watson-developer-cloud/java-sdk#1020

I went back to investigate by using the old logic and Oracle JDK 7 with Visual Recognition and I didn't run into any problems. Based on the timing of the original occurrence, my guess is it had something to do with the transition to IAM authentication and the new endpoint and was just temporary. Either way, if the original logic works and avoids the potential problems that were reported, I think that's preferred.

@lpatino10 lpatino10 requested a review from padamstx March 18, 2019 13:56
@germanattanasio
Copy link
Contributor

My only concern is if this will work with the IBM JDK rather than the Oracle JDK.

You could pull a docker image with the IBM JDK and try to execute this there.

@germanattanasio
Copy link
Contributor

@lpatino10 lpatino10 merged commit 459626e into master Mar 18, 2019
@lpatino10 lpatino10 deleted the ssl-change-revert branch March 18, 2019 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants