Home > Software design >  Http 503 for some Rest api call
Http 503 for some Rest api call

Time:06-30

I am running an SpringBoot application and I have a controller which defines Rest Api and accepts a request by a list of ids. Normally it works fine but if number of ids gets bigger, then I receive http 503. Interesting thing is that I cannot see any logs that my request was received by controller as well. Therefore I am not able to understand what is happening. Do you have any idea what can be worth to check ?

CodePudding user response:

503 is a error code, which means service or url or controller, that you are requested is not running/available, make sure your jar file is running and also make sure the url you requested is valid. since service is not available you cant see any logs or error messages. because your controller dint receive any request yet.

CodePudding user response:

The 503 error indicate that the server is not ready to handle the request.

There are some limitations for transferring data through URL , basically the length of the URL In general the limit was 2047 chars and it is different for different browsers

CodePudding user response:

503 means Service Unavailable.

I think something is wrong with your request.

You can try to add a custom OncePerRequestFilter and log your HTTP Request.

  • Related