swagger-api / swagger-api/swagger-codegen

SSL Handshake failure with old version of OkHttp on Latest IBM Liberty Build Pack

Open
#6,413 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Client: Java Enhancement: Compatibility help wanted
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

With Existing OkHttp Version (2.7.5) , SSL is failing in the IBM Latest Liberty Build Pack .

Swagger-codegen version

2.2.2

Related issues/PRs

https://github.com/watson-developer-cloud/java-sdk/issues/610

Suggest a fix/enhancement

Upgrading to latest version of OkHttp it OkHttp3 (3.7.1) will fix the issue . The changes should be done in the Java Client -> pom.mustache artifact

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Java Client pom.mustache artifact and compare its current OkHttp dependency with the reported versions. Update the template to use OkHttp 3.7.1, then verify that generated Java clients use the upgraded dependency and that the IBM Liberty SSL handshake failure is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.