@ RequestBody causes SocketTimeOutException

topic description

recently run a company project on macos. The front end is ant design , and the back end Spring Boot . When the front end calls the background, the message is sent that the json, back end uses @ RequestBody , but the request can"t be passed all the time. Report the SocketTimeOutException exception and remove the comment. I don"t know what"s going on.

sources of topics and their own ideas

it was all right before, but the sudden emergence of such a situation has not been solved all the time. If the front end is compiled and accessed through the back-end port, there will be no problem with the request

related codes

/ / Please paste the code text below (do not replace the code with pictures)

clipboard.png

clipboard.png

Menu