rest - Apache is giving 500 instead of 408 if tomcat dosen't respond within timeout period of apache -
we have set apache , tomcat third party data storage server. support api call through 1 can upload file , in turn tomcat stores file on third party data storage server.
timeout api request 10 hours , apache request timeout 2 minutes. tomcat takes more 2 minutes upload file. , in mean time apache sends 500 internal server error instead of 408 request timeout error. in whole process tomcat uploads file client has made api call 500 error understanding file not uploaded again try upload making duplicate entry.
we using apache proxy ajp. please me resolve issue. in advance.
Comments
Post a Comment