79373884

Date: 2025-01-21 09:49:03
Score: 2
Natty:
Report link

I found the issue, and I want to share the solution for future visitors to this thread.

The problem was caused by the use of the annotation:

@ResponseStatus(HttpStatus.ACCEPTED)

This annotation was redundant in my case. It likely caused the connection to be closed prematurely, preventing the application from functioning correctly.

Solution:

After removing the @ResponseStatus(HttpStatus.ACCEPTED), the application started working as expected. If you're facing a similar issue, consider whether this annotation is necessary for your use case, as it might interfere with response handling.

Reasons:
  • Whitelisted phrase (-2): Solution:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing a similar issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Yoni Shkolsky