Skip to content
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

OK HTTP Client connection pool thread hangs #198

Open
bdemers opened this issue Jun 24, 2021 · 1 comment
Open

OK HTTP Client connection pool thread hangs #198

bdemers opened this issue Jun 24, 2021 · 1 comment
Assignees

Comments

@bdemers
Copy link
Contributor

bdemers commented Jun 24, 2021

I created a simple application:

public class Application {

    public static void main(String[] args) {

            IDXAuthenticationWrapper idxWrapper = new IDXAuthenticationWrapper();
            AuthenticationResponse response = idxWrapper.begin();
    }
}

The main method exits right exits as expected, but the JVM does not consistently stop due to something in OK HTTP. Switching to HTTP client resolves this problem.

Possibly we need to add a listener to the JVM to clean up the thread pool (or whatever thread is active)

@arvindkrishnakumar-okta
Copy link
Contributor

Internal Ref: OKTA-494717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants