Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request Reduce throwing error in production environment #264

Open
pavansrs4 opened this issue Jul 3, 2014 · 1 comment
Open

Request Reduce throwing error in production environment #264

pavansrs4 opened this issue Jul 3, 2014 · 1 comment

Comments

@pavansrs4
Copy link

Request Reduce is working fine in development but after moving source code to production environment its throwing error.

Key: d42aa840-1b80-16e4-f6df-ccbfcdc64fd0
First errored on: 7/3/2014 6:18:17 AM
Number: 1
Exception #1: There were errors reducing http://206.80.45.80/Lib/js/alljs?v=IjUO7H8M_-CfjJAyTuFidW4EsWWAJ8QU286Q3b3pXZE1::http://206.80.45.80/Lib/js/respond.min.js::
Exception #2: RequestReduce had problems accessing http://206.80.45.80/Lib/js/alljs?v=IjUO7H8M_-CfjJAyTuFidW4EsWWAJ8QU286Q3b3pXZE1. Error Message from WebClient is: Unable to connect to the remote server
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.Reducer.JavaScriptReducer.ProcessJavaScript(String url) in c:\RequestReduce\RequestReduce\Reducer\JavaScriptReducer.cs:line 56 at RequestReduce.Reducer.JavaScriptReducer.ProcessResource(Guid key, IEnumerable1 urls, String host) in c:\RequestReduce\RequestReduce\Reducer\JavaScriptReducer.cs:line 32
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: Unable to connect to the remote server
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

Exception #4: No connection could be made because the target machine actively refused it 206.80.45.80:80
Stack Trace#4:

at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsync

please help me out in this

@mwrock
Copy link
Owner

mwrock commented Jul 5, 2014

RequestReduce downloads javascript and css resources via http. It may be that your dev environment has no security restrictions on the javascript and css resources of your web application but perhaps your production environment has security restrictions preventing the RequestReduce web requests from accessing these endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants