August 6th, 2025
0 reactions

“HTTP header exceeding 8,192 bytes” error when using the Azure SDK for Java

A recent issue was identified in the azure-resourcemanager libraries for Java regarding HTTP headers exceeding 8,192 bytes. Following analysis, this was addressed within the Azure SDK for Java by increasing the maximum response header size limit of “reactor-netty-http” to 256 KB, accommodating larger headers. To benefit from this mitigation, it is necessary to upgrade azure-core-http-netty to version 1.15.12 or later. Alternatively, if you are utilizing the BOM, please use version 1.2.36 or above.

This issue originated from a recent update in Azure Resource Manager, which affected the azure-resourcemanager libraries for Java due to the HTTP header size limit. Details could be found: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/README.md#http-header-is-larger-than-8192-bytes.

It is recommended to upgrade “azure-core-http-netty” promptly, even if you haven’t experienced this error.

Author

0 comments