Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-114

Getting PROTOCOL_ERROR exceptions in okhttp library with java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 8.0.GA.Backlog
    • None
    • None

    Description

      From https://bugzilla.redhat.com/show_bug.cgi?id=1835396

      IBM public cloud is seeing failures in authenticating to elasticsearch using kibana. Errors in the elasticsearch container show:
      This is running JDK 
      java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64

      [2020-05-18T03:32:16,379][ERROR][i.f.e.p.OpenshiftAPIService] Error retrieving username from token
      okhttp3.internal.http2.StreamResetException: stream was reset: PROTOCOL_ERROR
      at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.java:158) ~[okhttp-3.12.6.jar:?]
      at okhttp3.internal.http2.Http2Codec.readResponseHeaders(Http2Codec.java:131) ~[okhttp-3.12.6.jar:?]
      at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88) ~[okhttp-3.12.6.jar:?]
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[okhttp-3.12.6.jar:?]
      at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) ~[okhttp-3.12.6.jar:?]
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[okhttp-3.12.6.jar:?]
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[okhttp-3.12.6.jar:?]
      at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) ~[okhttp-3.12.6.jar:?]
      at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[okhttp-3.12.6.jar:?]

      We narrowed the issue down to the JDK running on the elasticsearch container. The same elasticsearch code running in a container with an older JDK: 
      java-1.8.0-openjdk-1.8.0.242.b08-1.el7.x86_64
      does not show the issue. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            cewong@redhat.com Cesar Wong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: