• Bewerte uns auf OMR Reviews: Klick

  • Achtet bitte in den Beiträgen darauf, dass ihr keine Informationen teilt, die der DSGVO unterliegen können. Verpixelt bitte die entsprechenden Stellen in Screenshots, postet hier auf keinen Fall Messagatracks ohne Rücksprache und auch in den Log Files können persönliche oder sensible Daten enthalten sein.

    Macht uns auch bitte per PN darauf aufmerksam wenn ihr etwas seht. Schreibt mich (@sören) einfach direkt an. 

HTTP Request Timeout Rules / Regeln

matzew

Member
Registriert
22 Juli 2020
Beiträge
5
Reaktionspunkte
0
Hallo zusammen,

wir haben aktuell das Problem wenn wir in Configuration -> Rules wollen das erstmal für 1 Minute Contracting Server erscheint. Dann nach Timeout erscheint oben als Info Bar "One or more errors have occurred. To view detailed error messages click here...."


Code:
Error message:
	The HTTP request to 'http://localhost:6060/NoSpamProxy/ConfigurationController/Windows/' has exceeded the allotted timeout of 00:00:59.9980000. The time allotted to this operation may have been a portion of a longer timeout.
Program location:
Server stack trace: 
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(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 Netatwork.NoSpamProxy.IntranetServices.IConfigurationControllerAsync.EndGetGroupsFromAutomaticUserImport(IAsyncResult ar)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Netatwork.ServiceModel.Client.Channel.<UseServiceAsync>d__53`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Netatwork.NoSpamProxy.ManagementConsole.Rules.MailFlow.GroupsViewModel.<<GetDataAsync>b__1_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Netatwork.NoSpamProxy.UI.ViewModels.MailGatewayViewModelBase.<ExecuteOperationAsync>d__59.MoveNext()
Formatted exception:
	Message:
The HTTP request to 'http://localhost:6060/NoSpamProxy/ConfigurationController/Windows/' has exceeded the allotted timeout of 00:00:59.9980000. The time allotted to this operation may have been a portion of a longer timeout.
Error type:
System.TimeoutException

Error code: 2148734213
Program location:

Server stack trace: 
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(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 Netatwork.NoSpamProxy.IntranetServices.IConfigurationControllerAsync.EndGetGroupsFromAutomaticUserImport(IAsyncResult ar)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Netatwork.ServiceModel.Client.Channel.<UseServiceAsync>d__53`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Netatwork.NoSpamProxy.ManagementConsole.Rules.MailFlow.GroupsViewModel.<<GetDataAsync>b__1_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Netatwork.NoSpamProxy.UI.ViewModels.MailGatewayViewModelBase.<ExecuteOperationAsync>d__59.MoveNext()


The request was aborted: The request was canceled.

Message:
The request was aborted: The request was canceled.
Error type:
System.Net.WebException

Error code: 2148734217
Program location:
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)





Error message:
	The request was aborted: The request was canceled.
Program location:
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
Additional data:
	Status:	RequestCanceled
	Response:	(Null)
Formatted exception:
	Message:
The request was aborted: The request was canceled.
Error type:
System.Net.WebException

Error code: 2148734217
Program location:
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)

Wartet man den Timeout ab kann man in den Rules wieder alles machen.

Hat jemand eine Idee woran es liegen kann?

CPU ist bei 1-5% und der RAM bei 55% Auslastung
 
Hallo,
nur eine Vermutung ...

=> .EndGetGroupsFromAutomaticUserImport

Funktioniert der Import der User korrekt?
Auch die Gruppen etc?

Nicht das der hier solange wartet.

Grüße
 
ffischer schrieb:
Hallo,
nur eine Vermutung ...

=> .EndGetGroupsFromAutomaticUserImport

Funktioniert der Import der User korrekt?
Auch die Gruppen etc?

Nicht das der hier solange wartet.

Grüße

Wie kann ich das testen ?

Den Timeout bekommen wir nur im Rules Bereich. People and identities -> Domains and users geht ohne Probleme und sofort auf
 
Schau mal bei "Domänen und Benutzern"
Arbeitest du hier mit Gruppen AD?
Automatischer benutzerimport...

Vermute wie gesagt das die Gruppen nicht korrekt aufgelöst werden vielleicht und es deshalb ewig dauert
 
ffischer schrieb:
Schau mal bei "Domänen und Benutzern"
Arbeitest du hier mit Gruppen AD?
Automatischer benutzerimport...

Vermute wie gesagt das die Gruppen nicht korrekt aufgelöst werden vielleicht und es deshalb ewig dauert

Ja hier kommt auch der Timeout wenn ich den import anstoße.  Wie bekomme ich nun raus an welcher Stelle er jetzt ein Problem hat ?
 
Hallo,
prüf mal die AD Anbindung.
Greif mal per LdapAdmin (freies Tool) auf den AD Server zu.
Reagiert er hier auch langsam?

Wenn per AD ist das per SSL abgesichert?
Zertifikat abgelaufen?
Alles nur Möglichkeiten, kenn die Struktur nicht bei dir. ;)

Grüsse
 
ffischer schrieb:
Hallo,
prüf mal die AD Anbindung.
Greif mal per LdapAdmin (freies Tool) auf den AD Server zu.
Reagiert er hier auch langsam?

Wenn per AD ist das per SSL abgesichert?
Zertifikat abgelaufen?
Alles nur Möglichkeiten, kenn die Struktur nicht bei dir. ;)

Grüsse

Passt schon der Hinweis von dir war schon hilfreich und konnte den Fehler finden. Letztendlich lag es an einer Anpassung in der Firewall das Port/Service 3268 nicht erlaubt war.

Danke dir!
 
Ich bin begeistert. :-) Das war ausgezeichnet! 

Gruß Stefan
 
Zurück
Oben