RequestReduce icon indicating copy to clipboard operation
RequestReduce copied to clipboard

RR does not process CSS,JS files in Load Balancer environment

Open sramani opened this issue 12 years ago • 5 comments

Hello,

RequestReduce works fine locally(on my PC with http://) but in DEV environment,our webservers are behind "load balancing". My Portal will have secure communication(Https) with Load Balancer(LB) while LB have none secure communication with WebServers. In DEV RequestReduce could not process any of css ,javascript and background images as RR converted relative urls to fully qualified urls with "http://" where it supposed to be "https://" in DEV.

Pasted Errors stack from RR dashboard follows here...

Key: 24678ca7-0d67-fc8e-58c7-305015b04f1d First errored on: 8/28/2012 12:07:50 PM Last errored on: 8/28/2012 12:07:50 PM Number: 3 Exception #1: There were errors reducing http://computing-dev.exdev.net/Scripts/eyNav.js::http://computing-dev.exdev.net/Scripts/jquery-1.6.2.min.js::http://computing-dev.exdev.net/Scripts/jquery-ui-1.8.14.min.js::http://computing-dev.exdev.net/Scripts/Labels.js::http://computing-dev.exdev.net/Scripts/Dialog.js::http://computing-dev.exdev.net/Scripts/SessionTimeOut.js::http://computing-dev.exdev.net/Scripts/jquery.qtip.js::http://computing-dev.exdev.net/Scripts/json2.js::http://computing-dev.exdev.net/Scripts/jquery.watermark.min.js::http://computing-dev.exdev.net/Scripts/grid.locale-en.js::http://computing-dev.exdev.net/Scripts/jquery.jqGrid.src.js::http://computing-dev.exdev.net/Scripts/jquery.jqGrid.fluid.js::http://computing-dev.exdev.net/Scripts/jquery.validate.min.js::http://computing-dev.exdev.net/Scripts/jquery.validate.unobtrusive.min.js::http://computing-dev.exdev.net/Scripts/EY.FlexibleComputing.js::http://computing-dev.exdev.net/Scripts/Controllers/SystemController.js::http://computing-dev.exdev.net/Scripts/Controllers/ProjectController.js::http://computing-dev.exdev.net/Scripts/Views/SystemView.js::http://computing-dev.exdev.net/Scripts/Views/ProjectView.js::

Exception #2: RequestReduce had problems accessing http://computing-dev.exdev.net/Scripts/eyNav.js. Error Message from WebClient is: The underlying connection was closed: An unexpected error occurred on a receive. Stack Trace#2: at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable1 requiredMimeTypes) at RequestReduce.Utilities.WebClientWrapper.Download[T](String url) at RequestReduce.Reducer.JavaScriptReducer.ProcessJavaScript(String url) at RequestReduce.Reducer.JavaScriptReducer.ProcessResource(Guid key, IEnumerable1 urls, String host) at RequestReduce.Reducer.HeadResourceReducerBase`1.Process(Guid key, String urls, String host) at RequestReduce.Module.ReducingQueue.ProcessQueuedItem()

Exception #3: The underlying connection was closed: An unexpected error occurred on a receive.

Stack Trace#3: at System.Net.HttpWebRequest.GetResponse() at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable`1 requiredMimeTypes)

Exception #4: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. Stack Trace#4: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

Exception #5: An existing connection was forcibly closed by the remote host Stack Trace#5: at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

Wondering what would be the best way to resolve this issue?

Thanks, Ramani

sramani avatar Aug 29 '12 02:08 sramani

Matt,

I have tried fixing above issue by adding below code(s) in Application_Start() of Global.asax and Page_Load() of Master Page but in both the cases it does not appear to have any affect and still see above errors.I am using latest version of Request Reduce(1.8.76)

The problem I am having is the Request Reduce tries to do an http rquest to the server with the url but that url is not accessible from the web server. If the load balancer is http://computing.exdev.net, then it will try to download the css and images by using full path.However from each of our web servers , you can not go to that url.

As soon as I change maually url from http://computing-dev.exdev.net/Content/themes/base/reset.css to https://computing-dev.exdev.net/Content/themes/base/reset.css,it works perfectly fine.

Tried to fix it with following code snipets but none of them appears to be working

  1. RequestReduce.Api.Registry.UrlTransformer = (context, x, y) => ( IsSecureConnection(context.Request) : false) ? y.Replace("http://www.mysite.co", "https://www.mysite.co") : y;
  2. RequestReduce.Api.Registry.UrlTransformer = (context, x, y) => y.Replace("http://", "//").Replace("https://", "//");
  3. RequestReduce.Api.Registry.UrlTransformer = (context, x, y) => y.Replace("[http://domain]", "");

None of them appears to be working and now high time for me to decide whether to go ahead with RR in my project.

I will really appreciate if you get back to me whether RR works with LoadBalancer environment? if yes what is the process to implement it or what I am missing which causing above errors?

sramani avatar Sep 26 '12 14:09 sramani

Mark,

RequestReduce Dashboard report added here just to provide you more information on the issue I am experiencing

Server:USSECAVDFCVIS2 Application:D:\Apps\FlexComputing
RequestReduce Version:1.8.76.0 Flush all content

Configuration Settings BaseAddress
CssProcessingDisabled False JavaScriptProcessingDisabled False ImageOptimizationDisabled True ImageQuantizationDisabled False ImageSpritingDisabled False IgnoreNearFutureJavascriptDisabled True StorePollInterval -1 SpriteColorLimit 5000 AuthorizedUserList anonymous

IpFilterList
ProxyList
SpriteVirtualPath /RequestReduceContent SpritePhysicalPath D:\Apps\FlexComputing\RequestReduceContent ResourceVirtualPath /RequestReduceContent ResourceAbsolutePath /RequestReduceContent ResourcePhysicalPath D:\Apps\FlexComputing\RequestReduceContent ContentHost
ConnectionStringName
ContentStore LocalDiskStore SpriteSizeLimit 50000 ImageOptimizationCompressionLevel 5 IsFullTrust True JavaScriptUrlsToIgnore ajax.googleapis.com/ajax/libs/jquery/ ajax.aspnetcdn.com/ajax/jQuery/

Item Being Processed http://Computing-dev.exdev.net/Scripts/eyNav.js http://Computing-dev.exdev.net/Scripts/jquery-1.6.2.min.js http://Computing-dev.exdev.net/Scripts/jquery-ui-1.8.14.min.js http://Computing-dev.exdev.net/Scripts/Labels.js http://Computing-dev.exdev.net/Scripts/Dialog.js http://Computing-dev.exdev.net/Scripts/SessionTimeOut.js http://Computing-dev.exdev.net/Scripts/jquery.qtip.js http://Computing-dev.exdev.net/Scripts/json2.js http://Computing-dev.exdev.net/Scripts/jquery.watermark.min.js http://Computing-dev.exdev.net/Scripts/grid.locale-en.js http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.src.js http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.fluid.js http://Computing-dev.exdev.net/Scripts/jquery.validate.min.js http://Computing-dev.exdev.net/Scripts/jquery.validate.unobtrusive.min.js http://Computing-dev.exdev.net/Scripts/EY.FlexibleComputing.js http://Computing-dev.exdev.net/Scripts/Controllers/SystemController.js http://Computing-dev.exdev.net/Scripts/Controllers/ProjectController.js http://Computing-dev.exdev.net/Scripts/Views/SystemView.js http://Computing-dev.exdev.net/Scripts/Views/ProjectView.js

Urls queued for processing

Items in Repository

Recorded Failures Key: 136a05aa-d2b0-4052-45bc-c9b51b2f2e6c First errored on: 9/26/2012 11:07:57 AM Number: 1 Exception #1: There were errors reducing http://Computing-dev.exdev.net/Scripts/eyNav.js::http://Computing-dev.exdev.net/Scripts/jquery-1.6.2.min.js::http://Computing-dev.exdev.net/Scripts/jquery-ui-1.8.14.min.js::http://Computing-dev.exdev.net/Scripts/Labels.js::http://Computing-dev.exdev.net/Scripts/Dialog.js::http://Computing-dev.exdev.net/Scripts/SessionTimeOut.js::http://Computing-dev.exdev.net/Scripts/jquery.qtip.js::http://Computing-dev.exdev.net/Scripts/json2.js::http://Computing-dev.exdev.net/Scripts/jquery.watermark.min.js::http://Computing-dev.exdev.net/Scripts/grid.locale-en.js::http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.src.js::http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.fluid.js::http://Computing-dev.exdev.net/Scripts/jquery.validate.min.js::http://Computing-dev.exdev.net/Scripts/jquery.validate.unobtrusive.min.js::http://Computing-dev.exdev.net/Scripts/EY.FlexibleComputing.js:: Exception #2: RequestReduce had problems accessing http://Computing-dev.exdev.net/Scripts/eyNav.js. Error Message from WebClient is: The underlying connection was closed: An unexpected error occurred on a receive. Stack Trace#2: at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable1 requiredMimeTypes) at RequestReduce.Utilities.WebClientWrapper.Download[T](String url) at RequestReduce.Reducer.JavaScriptReducer.ProcessJavaScript(String url) at RequestReduce.Reducer.JavaScriptReducer.ProcessResource(Guid key, IEnumerable1 urls, String host) at RequestReduce.Reducer.HeadResourceReducerBase`1.Process(Guid key, String urls, String host) at RequestReduce.Module.ReducingQueue.ProcessQueuedItem()

Exception #3: The underlying connection was closed: An unexpected error occurred on a receive.
Stack Trace#3: 

at System.Net.HttpWebRequest.GetResponse() at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable`1 requiredMimeTypes)

Exception #4: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Stack Trace#4: 

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

Exception #5: An existing connection was forcibly closed by the remote host
Stack Trace#5: 

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)


Key: a8a56268-0b70-6abe-e6e1-e80865019388 First errored on: 9/26/2012 11:08:07 AM Last errored on: 9/26/2012 11:08:07 AM Number: 2 Exception #1: There were errors reducing http://Computing-dev.exdev.net/Content/themes/base/reset.css::http://Computing-dev.exdev.net/Content/themes/base/Blueprint-Liquid.css::http://Computing-dev.exdev.net/Content/themes/base/jquery-ui-1.8.14.custom.css::http://Computing-dev.exdev.net/Content/themes/base/typography.css::http://Computing-dev.exdev.net/Content/themes/base/eynav.css::http://Computing-dev.exdev.net/Content/themes/base/structure-fluid.css::http://Computing-dev.exdev.net/Content/themes/base/ey.css::http://Computing-dev.exdev.net/Content/themes/base/jquery.qtip.css::http://Computing-dev.exdev.net/Content/themes/base/ui.jqgrid.css^screen::http://Computing-dev.exdev.net/Content/themes/base/Site.css:: Exception #2: RequestReduce had problems accessing http://Computing-dev.exdev.net/Content/themes/base/reset.css. Error Message from WebClient is: The underlying connection was closed: An unexpected error occurred on a receive. Stack Trace#2: at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable1 requiredMimeTypes) at RequestReduce.Utilities.WebClientWrapper.Download[T](String url) at RequestReduce.Utilities.WebClientWrapper.DownloadString[T](String url) at RequestReduce.Reducer.CssReducer.ProcessCss(String url) at RequestReduce.Reducer.CssReducer.ProcessResource(Guid key, IEnumerable1 urls, String host) at RequestReduce.Reducer.HeadResourceReducerBase`1.Process(Guid key, String urls, String host) at RequestReduce.Module.ReducingQueue.ProcessQueuedItem()

Exception #3: The underlying connection was closed: An unexpected error occurred on a receive.
Stack Trace#3: 

at System.Net.HttpWebRequest.GetResponse() at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable`1 requiredMimeTypes)

Exception #4: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Stack Trace#4: 

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

Exception #5: An existing connection was forcibly closed by the remote host
Stack Trace#5: 

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)


Key: c0c632e6-078c-1256-be4e-1cddfbba36c0 First errored on: 9/26/2012 11:08:16 AM Number: 1 Exception #1: There were errors reducing http://Computing-dev.exdev.net/Scripts/eyNav.js::http://Computing-dev.exdev.net/Scripts/jquery-1.6.2.min.js::http://Computing-dev.exdev.net/Scripts/jquery-ui-1.8.14.min.js::http://Computing-dev.exdev.net/Scripts/Labels.js::http://Computing-dev.exdev.net/Scripts/Dialog.js::http://Computing-dev.exdev.net/Scripts/SessionTimeOut.js::http://Computing-dev.exdev.net/Scripts/jquery.qtip.js::http://Computing-dev.exdev.net/Scripts/json2.js::http://Computing-dev.exdev.net/Scripts/jquery.watermark.min.js::http://Computing-dev.exdev.net/Scripts/grid.locale-en.js::http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.src.js::http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.fluid.js::http://Computing-dev.exdev.net/Scripts/jquery.validate.min.js::http://Computing-dev.exdev.net/Scripts/jquery.validate.unobtrusive.min.js::http://Computing-dev.exdev.net/Scripts/EY.FlexibleComputing.js::http://Computing-dev.exdev.net/Scripts/grid.locale-en.js::http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.src.js::http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.fluid.js::http://Computing-dev.exdev.net/Scripts/Controllers/ProjectController.js::http://Computing-dev.exdev.net/Scripts/Views/ProjectView.js:: Exception #2: RequestReduce had problems accessing http://Computing-dev.exdev.net/Scripts/eyNav.js. Error Message from WebClient is: The underlying connection was closed: An unexpected error occurred on a receive. Stack Trace#2: at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable1 requiredMimeTypes) at RequestReduce.Utilities.WebClientWrapper.Download[T](String url) at RequestReduce.Reducer.JavaScriptReducer.ProcessJavaScript(String url) at RequestReduce.Reducer.JavaScriptReducer.ProcessResource(Guid key, IEnumerable1 urls, String host) at RequestReduce.Reducer.HeadResourceReducerBase`1.Process(Guid key, String urls, String host) at RequestReduce.Module.ReducingQueue.ProcessQueuedItem()

Exception #3: The underlying connection was closed: An unexpected error occurred on a receive.
Stack Trace#3: 

at System.Net.HttpWebRequest.GetResponse() at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable`1 requiredMimeTypes)

Exception #4: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Stack Trace#4: 

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

Exception #5: An existing connection was forcibly closed by the remote host
Stack Trace#5: 

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)


Key: 7ba6c4e1-1e84-2b15-1c92-4f490a8f9862 First errored on: 9/26/2012 11:08:25 AM Number: 1 Exception #1: There were errors reducing http://Computing-dev.exdev.net/Content/themes/base/reset.css::http://Computing-dev.exdev.net/Content/themes/base/Blueprint-Liquid.css::http://Computing-dev.exdev.net/Content/themes/base/jquery-ui-1.8.14.custom.css::http://Computing-dev.exdev.net/Content/themes/base/typography.css::http://Computing-dev.exdev.net/Content/themes/base/eynav.css::http://Computing-dev.exdev.net/Content/themes/base/structure-fluid.css::http://Computing-dev.exdev.net/Content/themes/base/ey.css::http://Computing-dev.exdev.net/Content/themes/base/jquery.qtip.css::http://Computing-dev.exdev.net/Content/themes/base/ui.jqgrid.css^screen::http://Computing-dev.exdev.net/Content/themes/base/Site.css::http://Computing-dev.exdev.net/Content/themes/base/ui.jqgrid.css^screen:: Exception #2: RequestReduce had problems accessing http://Computing-dev.exdev.net/Content/themes/base/reset.css. Error Message from WebClient is: The underlying connection was closed: An unexpected error occurred on a receive. Stack Trace#2: at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable1 requiredMimeTypes) at RequestReduce.Utilities.WebClientWrapper.Download[T](String url) at RequestReduce.Utilities.WebClientWrapper.DownloadString[T](String url) at RequestReduce.Reducer.CssReducer.ProcessCss(String url) at RequestReduce.Reducer.CssReducer.ProcessResource(Guid key, IEnumerable1 urls, String host) at RequestReduce.Reducer.HeadResourceReducerBase`1.Process(Guid key, String urls, String host) at RequestReduce.Module.ReducingQueue.ProcessQueuedItem()

Exception #3: The underlying connection was closed: An unexpected error occurred on a receive.
Stack Trace#3: 

at System.Net.HttpWebRequest.GetResponse() at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable`1 requiredMimeTypes)

Exception #4: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Stack Trace#4: 

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

Exception #5: An existing connection was forcibly closed by the remote host
Stack Trace#5: 

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)


Key: 24678ca7-0d67-fc8e-58c7-305015b04f1d First errored on: 9/26/2012 11:08:34 AM Number: 1 Exception #1: There were errors reducing http://Computing-dev.exdev.net/Scripts/eyNav.js::http://Computing-dev.exdev.net/Scripts/jquery-1.6.2.min.js::http://Computing-dev.exdev.net/Scripts/jquery-ui-1.8.14.min.js::http://Computing-dev.exdev.net/Scripts/Labels.js::http://Computing-dev.exdev.net/Scripts/Dialog.js::http://Computing-dev.exdev.net/Scripts/SessionTimeOut.js::http://Computing-dev.exdev.net/Scripts/jquery.qtip.js::http://Computing-dev.exdev.net/Scripts/json2.js::http://Computing-dev.exdev.net/Scripts/jquery.watermark.min.js::http://Computing-dev.exdev.net/Scripts/grid.locale-en.js::http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.src.js::http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.fluid.js::http://Computing-dev.exdev.net/Scripts/jquery.validate.min.js::http://Computing-dev.exdev.net/Scripts/jquery.validate.unobtrusive.min.js::http://Computing-dev.exdev.net/Scripts/EY.FlexibleComputing.js::http://Computing-dev.exdev.net/Scripts/Controllers/SystemController.js::http://Computing-dev.exdev.net/Scripts/Controllers/ProjectController.js::http://Computing-dev.exdev.net/Scripts/Views/SystemView.js::http://Computing-dev.exdev.net/Scripts/Views/ProjectView.js:: Exception #2: RequestReduce had problems accessing http://Computing-dev.exdev.net/Scripts/eyNav.js. Error Message from WebClient is: The underlying connection was closed: An unexpected error occurred on a receive. Stack Trace#2: at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable1 requiredMimeTypes) at RequestReduce.Utilities.WebClientWrapper.Download[T](String url) at RequestReduce.Reducer.JavaScriptReducer.ProcessJavaScript(String url) at RequestReduce.Reducer.JavaScriptReducer.ProcessResource(Guid key, IEnumerable1 urls, String host) at RequestReduce.Reducer.HeadResourceReducerBase`1.Process(Guid key, String urls, String host) at RequestReduce.Module.ReducingQueue.ProcessQueuedItem()

Exception #3: The underlying connection was closed: An unexpected error occurred on a receive.
Stack Trace#3: 

at System.Net.HttpWebRequest.GetResponse() at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable`1 requiredMimeTypes)

Exception #4: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Stack Trace#4: 

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

Exception #5: An existing connection was forcibly closed by the remote host
Stack Trace#5: 

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)


Key: 213a04b5-e70a-177f-50fe-ce8c63076bd6 First errored on: 9/26/2012 11:08:43 AM Number: 1 Exception #1: There were errors reducing http://Computing-dev.exdev.net/Scripts/eyNav.js::http://Computing-dev.exdev.net/Scripts/jquery-1.6.2.min.js::http://Computing-dev.exdev.net/Scripts/jquery-ui-1.8.14.min.js::http://Computing-dev.exdev.net/Scripts/Labels.js::http://Computing-dev.exdev.net/Scripts/Dialog.js::http://Computing-dev.exdev.net/Scripts/SessionTimeOut.js::http://Computing-dev.exdev.net/Scripts/jquery.qtip.js::http://Computing-dev.exdev.net/Scripts/json2.js::http://Computing-dev.exdev.net/Scripts/jquery.watermark.min.js::http://Computing-dev.exdev.net/Scripts/grid.locale-en.js::http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.src.js::http://Computing-dev.exdev.net/Scripts/jquery.jqGrid.fluid.js::http://Computing-dev.exdev.net/Scripts/jquery.validate.min.js::http://Computing-dev.exdev.net/Scripts/jquery.validate.unobtrusive.min.js::http://Computing-dev.exdev.net/Scripts/EY.FlexibleComputing.js::http://Computing-dev.exdev.net/Scripts/Controllers/RequestController.js::http://Computing-dev.exdev.net/Scripts/Views/RequestView.js:: Exception #2: RequestReduce had problems accessing http://Computing-dev.exdev.net/Scripts/eyNav.js. Error Message from WebClient is: The underlying connection was closed: An unexpected error occurred on a receive. Stack Trace#2: at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable1 requiredMimeTypes) at RequestReduce.Utilities.WebClientWrapper.Download[T](String url) at RequestReduce.Reducer.JavaScriptReducer.ProcessJavaScript(String url) at RequestReduce.Reducer.JavaScriptReducer.ProcessResource(Guid key, IEnumerable1 urls, String host) at RequestReduce.Reducer.HeadResourceReducerBase`1.Process(Guid key, String urls, String host) at RequestReduce.Module.ReducingQueue.ProcessQueuedItem()

Exception #3: The underlying connection was closed: An unexpected error occurred on a receive.
Stack Trace#3: 

at System.Net.HttpWebRequest.GetResponse() at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable`1 requiredMimeTypes)

Exception #4: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Stack Trace#4: 

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

Exception #5: An existing connection was forcibly closed by the remote host
Stack Trace#5: 

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

Flush failures and retry

sramani avatar Sep 26 '12 15:09 sramani

Any updates on this issue?

gaevoy avatar Jun 20 '13 10:06 gaevoy

I have a simmilar setup (load balancing done with microsoft NLB) and it's working fine. On the server generating RR errors, are you able to browse to that URL with an anonymous connection?

pedre7 avatar Jun 20 '13 11:06 pedre7

I had similar problem. The problem was the following: from the local host it was not possible to get css/js files by public host name (thanks RR dashboard). So hosts file was updated and added next string: 127.0.0.1 my.publichostname.com

gaevoy avatar Jun 20 '13 15:06 gaevoy