You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affects: 6.0.9
Call the interface of ResourceService, and the interface response status is 500,
webclient execute this method org.springframework.web.reactive.function.client.DefaultWebClient.DefaultResponseSpec#applyStatusHandlers
in DefaultResponseSpec the uri is : http://127.0.0.1:8012/fileUpload?storageType=permanent,
applyStatusHandlers method will call
private static URI getUriToLog(URI uri) {
if (StringUtils.hasText(uri.getQuery())) {
try {
uri = new URI(uri.getScheme(), uri.getHost(), uri.getPath(), null);
}
catch (URISyntaxException ex) {
// ignore
}
}
return uri;
}
this method return uri is http://127.0.0.1/fileUpload, the code (uri = new URI(uri.getScheme(), uri.getHost(), uri.getPath(), null); )returned uri is missing the port number.
error log is :
Error has been observed at the following site(s):
*__checkpoint ⇢ 500 INTERNAL_SERVER_ERROR from POST http://127.0.0.1/fileUpload [DefaultWebClient]
Affects: 6.0.9
Call the interface of ResourceService, and the interface response status is 500,
webclient execute this method
org.springframework.web.reactive.function.client.DefaultWebClient.DefaultResponseSpec#applyStatusHandlers
in
DefaultResponseSpec
the uri is :http://127.0.0.1:8012/fileUpload?storageType=permanent
,applyStatusHandlers method will call
this method return uri is
http://127.0.0.1/fileUpload
, the code (uri = new URI(uri.getScheme(), uri.getHost(), uri.getPath(), null);
)returned uri is missing the port number.error log is :
the config of webClient:
The text was updated successfully, but these errors were encountered: