"java.net.ProtocolException: Can't reset method: already connected" Occurred At URLConnection.getOutputStream() After connect().
(Doc ID 2847075.1)
Last updated on FEBRUARY 14, 2025
Applies to:
Oracle WebLogic Server - Version 12.1.3.0.0 and laterInformation 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 |