Skip to content

SSLEngine and NPE failures under high load #908

@tareksha

Description

@tareksha

Hi,

I am experiencing TLS-related inconsistencies if a given ConnectionContext is used by a high number of CF operations frequently. This is what I do:

  1. Create a singleton ConnectionContext with default configuration
  2. Create a singleton CloudFoundryClient with default configuration
  3. list organizations: client.organizations.list(...).block() 1000 times
  4. wait 30 seconds and repeat (3)

After two-three iterations, I start getting exceptions:

  • javax.net.ssl.SSLException: SSLEngine closed already
  • java.lang.NullPointerException: while trying to invoke the method io.netty.handler.codec.http.HttpMethod.name() of a null object loaded from local variable 'method'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions