restTemplate.exchange have exception "insufficient data written" with springboot 3.3 #41088
Labels
for: external-project
For an external project and not something we can fix
status: duplicate
A duplicate of another issue
The example use springboot 3.0 is normal, but use springboot 3.3 have exception.
Maybe it is different from #31902
detail error:
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://someurl/api/": insufficient data written
at org.springframework.web.client.RestTemplate.createResourceAccessException(RestTemplate.java:915)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:895)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:830)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:691)
example code:
try {
URI uri = getUri(request, method);
The text was updated successfully, but these errors were encountered: