My Oracle Support Banner

"java.net.ProtocolException: Can't reset method: already connected" Occurred At URLConnection.getOutputStream() After connect(). (Doc ID 2847075.1)

Last updated on FEBRUARY 14, 2024

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

"java.net.ProtocolException: Can't reset method: already connected" occurred at URLConnection.getOutputStream() after connect().

You can reproduce this issue by using following sample code:

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
 Workaround
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.