HttpSelfHostServer timeout problmehttp://forums.asp.net/t/1805996.aspx/1?HttpSelfHostServer+timeout+problmeMon, 21 May 2012 17:48:20 -040018059964990663http://forums.asp.net/p/1805996/4990663.aspx/1?HttpSelfHostServer+timeout+problmeHttpSelfHostServer timeout problme <p>Hi,</p> <p>I am getting the follwoing error when sending 10MB&nbsp;file&nbsp;to the HTTPSelfhostserver.</p> <p>502 Bad Gateway</p> <p>The proxy server received an invalid response from an upstream server.</p> <p>I have a web api mvc4 selfhost server and it uses apache a a proxy. When i post data more than 10MB i am getting above error.</p> <p>Do we have any option to set time out to selfhost server? or the error is not related to time out.</p> <p>settings <span size="2" face="Consolas" style="font-family:Consolas; font-size:small"> <span size="2" face="Consolas" style="font-family:Consolas; font-size:small"><span size="2" face="Consolas" style="font-family:Consolas; font-size:small"></span></span></span></p> <p>MaxBufferSize=xxxxxxxxxx&nbsp;( 11MB)</p> <p>MaxReceivedMessageSize=xxxxxxxxxx&nbsp;( 11MB)</p> <p><span size="2" face="Consolas" style="font-family:Consolas; font-size:small"><span size="2" face="Consolas" style="font-family:Consolas; font-size:small"></span></span></p> <p><span size="2" face="Consolas" style="font-family:Consolas; font-size:small"><span size="2" face="Consolas" style="font-family:Consolas; font-size:small"></span></span></p> <p>Please note that i could able to send small amout of data.</p> <p>Can any one help on this problem.</p> <p>Thanks</p> <p>NaaG</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> 2012-05-21T16:53:53-04:004990752http://forums.asp.net/p/1805996/4990752.aspx/1?Re+HttpSelfHostServer+timeout+problmeRe: HttpSelfHostServer timeout problme I have faced connection failure issues when client is timing out. Could you check if client is not timing out ? 2012-05-21T17:48:20-04:00