mwrock / RequestReduce

Instantly makes your .net website faster by reducing the number and size of requests with almost no effort.
www.requestreduce.org
Apache License 2.0
228 stars 49 forks source link

RequestReduce throws (400) Bad Request Error #266

Open smartabbas opened 9 years ago

smartabbas commented 9 years ago

We have implemented RequestReduce on one of our website (www.guitarplayer.com) and it's working awesome, client is very happy with the upgrade in site speed.

However we tried implementing the same on one of our other website (www.techlearning.com), when i went to dashboard, there were some items in the repository, and below there were some Recorded Faiures, which were like below:

Key: 5d1e6a15-2295-bb32-c3dd-274a781032e0 First errored on: 3/25/2015 5:47:43 PM Last errored on: 3/25/2015 5:47:43 PM Number: 2 Exception #1: There were errors reducing http://www.techlearning.com/Portals/_default/default.css?cdv=35::http://www.techlearning.com/DesktopModules/Admin/Authentication/module.css?cdv=35::http://www.techlearning.com/Portals/_default/Containers/DarkKnight/container.css?cdv=35::http://www.techlearning.com/Portals/0/portal.css?cdv=35::http://www.techlearning.com/css/jPages.css::http://fonts.googleapis.com/css?family=Oswald:400,300^screen::http://www.techlearning.com/css/style.css^screen::http://www.techlearning.com/css/responsive.css^screen::http://www.techlearning.com/css/1140.css^screen::http://www.techlearning.com/css/footer.css^screen::http://www.techlearning.com/css/jquery.datetimepicker.css::http://www.techlearning.com/css/bootstrap.css^screen::http://www.techlearning.com/Telerik.Web.UI.WebResource.axd?compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2012.2.724.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a3fe22950-1961-4f26-b9d4-df0df7356bf6%3a45085116%3a27c5704c:: Exception #2: RequestReduce had problems accessing http://fonts.googleapis.com/css?family=Roboto+Condensed). Error Message from WebClient is: The remote server returned an error: (400) Bad Request. Stack Trace#2:

at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable1 requiredMimeTypes) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 89 at RequestReduce.Utilities.WebClientWrapper.Download[T](String url) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 35 at RequestReduce.Utilities.WebClientWrapper.DownloadString[T](String url) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 114 at RequestReduce.Reducer.CssReducer.ExpandImports(String cssContent, String parentUrl) in c:\RequestReduce\RequestReduce\Reducer\CssReducer.cs:line 97 at RequestReduce.Reducer.CssReducer.ProcessCss(String url) in c:\RequestReduce\RequestReduce\Reducer\CssReducer.cs:line 64 at RequestReduce.Reducer.CssReducer.ProcessResource(Guid key, IEnumerable1 urls, String host) in c:\RequestReduce\RequestReduce\Reducer\CssReducer.cs:line 38 at RequestReduce.Reducer.HeadResourceReducerBase`1.Process(Guid key, String urls, String host) in c:\RequestReduce\RequestReduce\Reducer\HeadResourceReducerBase.cs:line 37 at RequestReduce.Module.ReducingQueue.ProcessQueuedItem() in c:\RequestReduce\RequestReduce\Module\ReducingQueue.cs:line 162

Exception #3: The remote server returned an error: (400) Bad Request.
Stack Trace#3:

at System.Net.HttpWebRequest.GetResponse() at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable`1 requiredMimeTypes) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 62

I checked the configuration, and it's exactly same as been prescribed on requestreduce.org and also the one we implemented for (www.guitarplayer.com). I have also confirmed the User Account has read and write access to my root folder.

Can you please let me know what could be causing this.