Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PERL API error 500 server closed connection without sending any data back

Tags:

perl

I am running a Perl API that uses LWP::UserAgent to post form data to a file.

Occasionally I receive this error on large files:

"500 server closed connection without sending any data back"

The timeout doesn't seem to be the issue as its set to an astronomical number.

like image 615
Josh Avatar asked May 16 '13 18:05

Josh


People also ask

What triggers a 500 error?

The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request. This error response is a generic "catch-all" response.

How do I fix 500 Internal server error in Linux?

Start clearing your browser cache. Unless the page that displays an error of 500 is cached, the browser should request a version of the page after clearing the cache. Then, come back. Until then, the web developer could fix the server problem.

What does a 500 HTTP response indicate?

HTTP Status Code 500: "Internal Server Error" The 500 status code "internal server error" is just that - it's an error on the server-side. This means that the server encountered something unexpected that prevented it from fulfilling the request.


1 Answers

If the response that you get has Client-Warning header, as seen in response below, then it is a tcp level error and response is produced by LWP client and not the server:

500 Server closed connection without sending any data back
Content-Type: text/plain
Client-Date: Thu, 19 Sep 2013 08:04:28 GMT
Client-Warning: Internal response
like image 64
user2370109 Avatar answered Nov 09 '22 05:11

user2370109