logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.2 "An existing connection was forcibly closed&
Author
dbnex14



Joined: 22 Jul 2015
Posts: 17
Location: Canada, Vancouver

PostPosted: Mon 14 Sep '15 17:40    Post subject: Apache 2.2 "An existing connection was forcibly closed& Reply with quote

I am using Apache 2.2 on Windows 7 as a server to process requests comming from several devices. Server used a module to talk to DB. Device send SOAP requests to get, insert, update, delete various data and receive SOAP responses.
Sometimes, data sent from server to devices is smaller (in which case, I have no issue) but sometime, data can be large in which case, I get error:

Code:
"An existing connection was forcibly closed by the remote host."


I am using gzipping, so my apache will gzip SOAP data and send to device. Here is my Apache setting to zip data:

Code:
LoadModule deflate_module modules/mod_deflate.so

<IfModule mod_deflate.c>

        AddOutputFilterByType DEFLATE text/plain
        AddOutputFilterByType DEFLATE text/html
        AddOutputFilterByType DEFLATE text/xml
        AddOutputFilterByType DEFLATE text/css
        AddOutputFilterByType DEFLATE application/xml
        AddOutputFilterByType DEFLATE application/xhtml+xml
        AddOutputFilterByType DEFLATE application/rss+xml
        AddOutputFilterByType DEFLATE application/javascript
        AddOutputFilterByType DEFLATE application/x-javascript

        DeflateCompressionLevel 9

        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

        DeflateFilterNote Input instream
        DeflateFilterNote Output outstream
        DeflateFilterNote Ratio ratio

        LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate

</IfModule>


Can annyone explain what the error means and what to look for? I am new to Apache but the error suggests that it is Apache who is doing this.

Thanks,
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sat 24 Oct '15 13:46    Post subject: Reply with quote

Do you get that error message on the client or the apache log?
Back to top


Reply to topic   Topic: Apache 2.2 "An existing connection was forcibly closed& View previous topic :: View next topic
Post new topic   Forum Index -> Apache