Using DM on a server which requires a proxy for internet
rickjr82
Posts: 21
I installed DM on a server- I was able to access the website, but a short time later it gave a 404 error.
In the windows logs it shows an error about being unable to connect to the update site (I can hit the update site through IE).
Are these problems related? I can't even hit the website locally when logged into the server.
In the windows logs it shows an error about being unable to connect to the update site (I can hit the update site through IE).
Are these problems related? I can't even hit the website locally when logged into the server.
Comments
2013-10-18 08:27:19,287 [18] ERROR RedGate.Deploy.Server.Tasks.TaskRunner [(null)] - System.AggregateException: One or more errors occurred. ---> RedGate.Deploy.Server.Tasks.ActivityFailedException: An error occurred while retrieving updates from the web service ---> RedGate.Deploy.Server.CheckForUpdates.UpdateServiceException: An error occurred while retrieving updates from the web service ---> System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://update.red-gate.com/UpdateServer/check.asmx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote name could not be resolved: 'update.red-gate.com'
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStreamAsyncResult.CompleteGetRequestStream(IAsyncResult result)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStreamAsyncResult.CompleteGetRequestStream(IAsyncResult result)
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStreamAsyncResult..ctor(HttpWebRequest httpWebRequest, HttpOutput httpOutput, AsyncCallback callback, Object state)
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.BeginGetOutputStream(AsyncCallback callback, Object state)
at System.ServiceModel.Channels.HttpOutput.SendAsyncResult.SendWithoutChannelBindingToken()
at System.ServiceModel.Channels.HttpOutput.BeginSend(TimeSpan timeout, AsyncCallback callback, Object state)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.SendWebRequest()
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.BeginSendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, Object state)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartSend(Boolean completedSynchronously)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishEnsureOpen(IAsyncResult result, Boolean completedSynchronously)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartEnsureOpen(Boolean completedSynchronously)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishEnsureInteractiveInit(IAsyncResult result, Boolean completedSynchronously)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartEnsureInteractiveInit()
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.Begin()
at System.ServiceModel.Channels.ServiceChannel.BeginCall(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, TimeSpan timeout, AsyncCallback callback, Object asyncState)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeBeginService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at RedGate.Deploy.Server.CheckForUpdates.Service.CheckSoap.BeginCheckForUpdates(CheckForUpdatesRequest request, AsyncCallback callback, Object asyncState)
at RedGate.Deploy.Server.CheckForUpdates.Service.CheckSoapClient.RedGate.Deploy.Server.CheckForUpdates.Service.CheckSoap.BeginCheckForUpdates(CheckForUpdatesRequest request, AsyncCallback callback, Object asyncState)
at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1](Func`4 beginMethod, Func`2 endMethod, TArg1 arg1, Object state, TaskCreationOptions creationOptions)
at RedGate.Deploy.Server.CheckForUpdates.Api.Client.<CheckForUpdatesAsync>d__0.MoveNext()
Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at RedGate.Deploy.Server.CheckForUpdates.UpdateService.<GetUpdatesAsync>d__0.MoveNext()
--- End of inner exception stack trace ---
Server stack trace:
at RedGate.Deploy.Server.CheckForUpdates.UpdateService.<GetUpdatesAsync>d__0.MoveNext()
Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at RedGate.Deploy.Server.CheckForUpdates.UpdateControllerActivity.<Execute>d__7.MoveNext()
--- End of inner exception stack trace ---
at RedGate.Deploy.Server.CheckForUpdates.UpdateControllerActivity.<Execute>d__7.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RedGate.Deploy.Server.Tasks.TaskRunner.<>c__DisplayClass1.<Execute>b__0()
---> (Inner Exception #0) RedGate.Deploy.Server.Tasks.ActivityFailedException: An error occurred while retrieving updates from the web service ---> RedGate.Deploy.Server.CheckForUpdates.UpdateServiceException: An error occurred while retrieving updates from the web service ---> System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://update.red-gate.com/UpdateServer/check.asmx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote name could not be resolved: 'update.red-gate.com'
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStreamAsyncResult.CompleteGetRequestStream(IAsyncResult result)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStreamAsyncResult.CompleteGetRequestStream(IAsyncResult result)
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStreamAsyncResult..ctor(HttpWebRequest httpWebRequest, HttpOutput httpOutput, AsyncCallback callback, Object state)
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.BeginGetOutputStream(AsyncCallback callback, Object state)
at System.ServiceModel.Channels.HttpOutput.SendAsyncResult.SendWithoutChannelBindingToken()
at System.ServiceModel.Channels.HttpOutput.BeginSend(TimeSpan timeout, AsyncCallback callback, Object state)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.SendWebRequest()
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.BeginSendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, Object state)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartSend(Boolean completedSynchronously)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishEnsureOpen(IAsyncResult result, Boolean completedSynchronously)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartEnsureOpen(Boolean completedSynchronously)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishEnsureInteractiveInit(IAsyncResult result, Boolean completedSynchronously)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartEnsureInteractiveInit()
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.Begin()
at System.ServiceModel.Channels.ServiceChannel.BeginCall(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, TimeSpan timeout, AsyncCallback callback, Object asyncState)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeBeginService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at RedGate.Deploy.Server.CheckForUpdates.Service.CheckSoap.BeginCheckForUpdates(CheckForUpdatesRequest request, AsyncCallback callback, Object asyncState)
at RedGate.Deploy.Server.CheckForUpdates.Service.CheckSoapClient.RedGate.Deploy.Server.CheckForUpdates.Service.CheckSoap.BeginCheckForUpdates(CheckForUpdatesRequest request, AsyncCallback callback, Object asyncState)
at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1](Func`4 beginMethod, Func`2 endMethod, TArg1 arg1, Object state, TaskCreationOptions creationOptions)
at RedGate.Deploy.Server.CheckForUpdates.Api.Client.<CheckForUpdatesAsync>d__0.MoveNext()
Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at RedGate.Deploy.Server.CheckForUpdates.UpdateService.<GetUpdatesAsync>d__0.MoveNext()
--- End of inner exception stack trace ---
Server stack trace:
at RedGate.Deploy.Server.CheckForUpdates.UpdateService.<GetUpdatesAsync>d__0.MoveNext()
Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at RedGate.Deploy.Server.CheckForUpdates.UpdateControllerActivity.<Execute>d__7.MoveNext()
--- End of inner exception stack trace ---
at RedGate.Deploy.Server.CheckForUpdates.UpdateControllerActivity.<Execute>d__7.MoveNext()<---
The timeout error was still there- I was able to resolve that by using my ip instead of dns name- that is still an outstanding issue. I am currently running a Jenkins instance on the same server w/o issue.
Can you clarify the name/IP timeout problem? I'd guess some sort of name resolution problem but if you can clarify exactly what's happening that would be great
Redgate Software