Closed shabtaisharon closed 4 years ago
This is tracked at https://github.com/square/okhttp/issues/5970. No action on our side until there's an OkHttp 3.14 release to fix it.
If you can use OkHttp 4, please do!
@shabtaisharon Also worth calling out that it needs a fix in Coretto also. This UnsupportedOperationException is basically saying that they no longer support ALPN therefore HTTP/2.
alpn-boot is explicitly not supported from 252 onwards.
So with the "fix" in 3.14.x is that you'll get plain old HTTP/1.1.
I've updated my OkHttp to 4.5.0 and everything seems to work, thanks!
This shipped in Retrofit 2.8.2.
Updating from Amazon Corretto 8u242 to 8u252 I'm getting this error:
I'm using the lastest retrofit version 2.8.1.
Reading online this seems to be a known issue with OkHttp and it looks like the issue is fixed with OkHttps >4.3.0
Please let me know if more info is needed.