Wednesday, April 7, 2010

HttpClient SocketException

12:57:05,812 ERROR [STDERR] Software caused connection abort: socket write error
12:57:05,812 ERROR [STDERR] at Method)
12:57:05,812 ERROR [STDERR] at Source)

If you are getting above exception when submitting data using HttpClient, Please check following things.

- If HttpClient is posting data to PHP site(Apache Web Server), check LimitRequestBody setting in PHP website(Apache Web Server).

Please refer

- If HttpClient is posting data to IIS (ASP site), check maxRequestLength attribute of httpRuntime Element in web.config file of ASP website in IIS.

Please refer

0 Java Junction comments: