Lab Notes

Things I want to remember how to do.

Frame Size Issue with Java HTTP Client

April 19, 2021

If you hit this error when using the HTTP client built into Java:

Caused by: protocol error: Frame type(80) length(4740180) exceeds MAX_FRAME_SIZE(16384)
at ~[]
at ~[]
at ~[]

Try using a client configured for HTTP 1.1:

        client = HttpClient.newBuilder()