Home
%3CLINGO-SUB%20id%3D%22lingo-sub-621189%22%20slang%3D%22en-US%22%3EEVENT%20ID%2056416%20-%20Failed%20to%20post%20QoE%20report%20to%20External%20Consumer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-621189%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3E%20First%20published%20on%20TECHNET%20on%20Sep%2027%2C%202017%26nbsp%3B%20(Updated%2011-JUN-2019)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20Starting%20in%20Lync%20Server%202010%2C%20we%20added%20functionality%20to%20enable%20our%20partners%20to%20provide%20insights%20into%20Call%20Quality%20by%20means%20of%20a%20sending%20a%20copy%20of%20the%20Voice%20Quality%20Report%20(VQReport)%20directly%20from%20the%20server.%20At%20that%20time%2C%20I%20knew%20of%20a%20handful%20of%20companies%20that%20would%20allow%20you%20to%20configure%20QoEConfiguration%2C%20so%20they%20could%20generate%20some%20reports%20and%20provide%20insights%20about%20your%20network%20and%20configuration.%20Over%20time%2C%20with%20%3C%2FFONT%3E%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdn593600(v%3Docs.15).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20Call%20Quality%20Methodology%20%3C%2FFONT%3E%20%3C%2FA%3E%20%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20and%20later%20with%20%3C%2FFONT%3E%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fmt126252.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20Call%20Quality%20Dashboard%20%3C%2FFONT%3E%20%3C%2FA%3E%20%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20%2C%20and%20also%20integrating%20%3C%2FFONT%3E%20%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%3CA%20href%3D%22http%3A%2F%2Fcqd.lync.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20CQD%20Online%3C%2FA%3E%26nbsp%3Bsome%20of%20the%20same%20functionality%20was%20available%20for%20free.%20With%20Skype%20for%20Business%20Server%202019%2C%20Microsoft%20introduced%20%22%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FSkypeForBusiness%2Fhybrid%2Fplan-call-data-connector%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ECall%20Data%20Connector%3C%2FA%3E%22%20to%20allow%20for%20data%20in%20Hybrid%20Environments%20to%20be%20analyzed%20and%20for%20insights%20to%20be%20gained%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20To%20send%20your%20QoE%20Reports%20to%20a%20third%20party%2C%20all%20you%20had%20to%20do%20within%20Lync%20was%20to%20Run%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3ESet-CsQoEConfiguration%20-EnableExternalConsumer%20%24true%20%E2%80%93ExternalConsumerName%20%3CFRIENDLY%20name%3D%22%22%20of%3D%22%22%20the%3D%22%22%20third%3D%22%22%20party%3D%22%22%20consumer%3D%22%22%3E%20-ExternalConsumerURL%20%22HTTPS%20URL%20Provided%20by%20the%20third%20party%20%3CEM%3E%20%22%3C%2FEM%3E%3C%2FFRIENDLY%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20As%20soon%20as%20replication%20was%20complete%2C%20and%20presuming%20DNS%2C%20Certificates%2C%20Firewall%20was%20in%20order%2C%20all%20new%20QoE%20Reports%20would%20%3CEM%3E%3CU%3E%3CSTRONG%3Ealso%3C%2FSTRONG%3E%3C%2FU%3E%3C%2FEM%3E%20be%20sent%20to%20the%20third-party.%20If%20the%20third-party%20was%20busy%20or%20unavailable%2C%20the%20messages%20would%20be%20queued-up%20and%20then%20be%20retried.%20The%20queues%20would%20be%20MSMQ%20in%20Lync%20Server%202010%20and%20in%20LySS%20Database%20on%20the%20SQL%20Instance%20LyncLocal%20on%20each%20Front-End%20Server%2C%20in%20versions%20Lync%20Server%202013%20and%20above%20.%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20If%20say%2C%20for%20some%20reason%2C%20the%20organization%20decided%20to%20change%20its%20course%20and%20use%20either%20%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdn593600(v%3Docs.15).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Call%20Quality%20Methodology%20%3C%2FA%3E%3C%2FFONT%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3Eor%20%3C%2FFONT%3E%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fmt126252.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20Call%20Quality%20Dashboard%20%3C%2FFONT%3E%20%3C%2FA%3E%20%2C%20you%20could%20use%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fgg398245.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Set-csQoEConfiguration%20%3C%2FA%3E%20to%20set%26nbsp%3BEnableExternalConsumer%20%24False%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20It%20could%20be%20possible%20that%20over%20time%2C%20with%20all%20the%20changes%2C%20the%20strategy%20may%20have%20changed%2C%20but%20the%20configuration%20has%20existed%2C%20and%20the%203rd%20party%20provider%20has%20chosen%20to%20block%20connection%20from%20your%20organization%2C%20or%20a%20new%20pool%20is%20deployed%2C%20and%20outbound%20connections%20to%20port%20443%20to%20the%20external%20consumer%20is%20no%20longer%20accessible%2C%20in%20such%20cases%2C%20you%20could%20see%20EVENT%20ID%2056416%20occur%20in%20your%20organization.%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3ETime%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%205%2F2%2F2017%202%3A49%3A54%20PM%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EID%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2056416%3C%2FP%3E%0A%3CP%3ELevel%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Error%3C%2FP%3E%0A%3CP%3ESource%3A%20LS%20Data%20Collection%3C%2FP%3E%0A%3CP%3EMachine%3A%26nbsp%3B%20SKYPESTD01.contoso.com%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%20Message%3A%26nbsp%3B%20Failed%20to%20post%20QoE%20report%20to%20External%20Consumer.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%20%3CBR%20%2F%3E%3C%2FFONT%3E%3CFONT%20size%3D%222%22%3E%20Error%3A%20System.Net.WebException%3A%20Unable%20to%20connect%20to%20the%20remote%20server%20---%26gt%3B%20System.Net.Sockets.SocketException%3A%20A%20connection%20attempt%20failed%20because%20the%20connected%20party%20did%20not%20properly%20respond%20after%20a%20period%20of%20time%2C%20or%20established%20connection%20failed%20because%20connected%20host%20has%20failed%20to%20respond%20%3CIP%20address%3D%22%22%20of%3D%22%22%20the%3D%22%22%20provider%3D%22%22%3E%3A443%20%3C%2FIP%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3Eat%20System.Net.Sockets.Socket.DoConnect(EndPoint%20endPointSnapshot%2C%20SocketAddress%20socketAddress)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3Eat%20System.Net.ServicePoint.ConnectSocketInternal(Boolean%20connectFailure%2C%20Socket%20s4%2C%20Socket%20s6%2C%20Socket%26amp%3B%20socket%2C%20IPAddress%26amp%3B%20address%2C%20ConnectSocketState%20state%2C%20IAsyncResult%20asyncResult%2C%20Exception%26amp%3B%20exception)%3C%2FFONT%3E%3C%2FP%3E%3CFONT%20size%3D%222%22%3E%3CBR%20%2F%3E%3C%2FFONT%3E%3CP%3E%3CFONT%20size%3D%222%22%3E---%20End%20of%20inner%20exception%20stack%20trace%20---%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3Eat%20System.Net.HttpWebRequest.GetRequestStream(TransportContext%26amp%3B%20context)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3Eat%20System.Net.HttpWebRequest.GetRequestStream()%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3Eat%20Microsoft.Rtc.Server.UdcAdapters.QoE.HttpSender.SendReports(LyncMessageDetails%20msgDetails)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3Eat%20Microsoft.Rtc.Server.UdcAdapters.QoE.QoEProcessor.ProcessQueueItems(LyssQueueItem%20queueItem)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3ECause%3A%20Configurations%20for%20the%20external%20reports%20consumer%20are%20not%20set%20correctly.%3C%2FFONT%3E%3C%2FP%3E%3CFONT%20size%3D%222%22%3E%3CFONT%20size%3D%222%22%3E%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CP%3EResolution%3A%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%20Check%20the%20External%20Consumer%20configurations.%20If%20the%20problem%20persists%2C%20notify%20your%20organization's%20support%20team%20with%20the%20relevant%20details.%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20Depending%20on%20the%20cause%2C%20and%20if%20the%20intent%20is%20to%20send%20the%20data%20to%20third-party%20then%20updating%20it%20would%20be%20a%20matter%20of%20checking%20why%20a%20connection%20to%20port%20443%20is%20failing%20and%20correcting%20the%20same.%20Once%20the%20connection%20issue%20has%20been%20resolved%2C%20it%E2%80%99s%20just%20a%20matter%20of%20waiting%20for%20all%20the%20VQReports%20to%20be%20delivered%20to%20the%20third-party.%20It%20may%20take%20a%20couple%20of%20hours%2C%20depending%20on%20the%20robustness%20of%20the%20third-party%20system%2C%20and%20the%20time%20for%20which%20you%20have%20been%20experiencing%20the%20failure.%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%20If%20the%20intent%20is%20no%20longer%20to%20send%20the%20data%20to%20the%20third-party%2C%20then%2C%20you%20may%20want%20to%20run%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fjj619175.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Invoke-csStorageServiceFlush%20%3C%2FA%3E%20to%20move%20all%20the%20data%20from%20the%20existing%20queues%20to%20the%20Network%20file%20share%2C%20so%20resources%20like%20CPU%2C%20RAM%20and%20SQL%20Storage%20are%20not%20wasted%20in%20retrying%20and%20failing%20and%20then%20move%20the%20XML%20files%20that%20were%20generated.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3EIf%20the%20issue%20is%20only%20for%20a%20period%20of%20time%2C%20and%20your%20contract%2Fconnection%20with%20the%20External%20QOE%20Provider%20is%20expected%20to%20be%20reinstated%2C%20then%20you%20could%20use%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fskype%2Fset-csstorageserviceconfiguration%3Fview%3Dskype-ps%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ESet-CsStorageServiceConfiguration%3C%2FA%3E%20to%20configure%26nbsp%3BEnableAutoImportFlushedData%26nbsp%3B%20to%20%24False%2C%20so%20data%20isn't%20imported%20automatically%20and%20then%20run%26nbsp%3B%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fjj619175.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Invoke-csStorageServiceFlush%20%3C%2FA%3E%20to%20move%20all%20the%20data%20from%20the%20existing%20queues%20to%20the%20Network%20file%20share%2C%20so%20resources%20like%20CPU%2C%20RAM%2C%20and%20SQL%20Storage%20are%20not%20wasted%20in%20retrying.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3ETo%20understand%20the%20robustness%20of%20LYSS%20See%3A%26nbsp%3B%3C%2FFONT%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fnexthop%2F2017%2F04%2F01%2Ftesting-im-and-web-conferencing-archiving-set-to-critical%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3ETesting%20IM%20and%20Web-Conferencing%20Archiving%20set%20to%20Critical%3C%2FA%3E%3C%2FFONT%3E%3CFONT%20face%3D%22Calibri%22%20size%3D%223%22%3E%26nbsp%3B%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-621189%22%20slang%3D%22en-US%22%3E%3CP%3EFirst%20published%20on%20TECHNET%20on%20Sep%2027%2C%202017%20Starting%20in%20Lync%20Server%202010%2C%20we%20added%20a%20functionality%20to%20enable%20our%20partners%20to%20provide%20insights%20into%20Call%20Quality%20by%20means%20of%20a%20sending%20a%20copy%20of%20the%20Voice%20Quality%20Report%20(VQReport)%20directly%20from%20the%20server.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-621189%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eevent%20id%2056416%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENextHop%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

First published on TECHNET on Sep 27, 2017  (Updated 11-JUN-2019)

Starting in Lync Server 2010, we added functionality to enable our partners to provide insights into Call Quality by means of a sending a copy of the Voice Quality Report (VQReport) directly from the server. At that time, I knew of a handful of companies that would allow you to configure QoEConfiguration, so they could generate some reports and provide insights about your network and configuration. Over time, with Call Quality Methodology and later with Call Quality Dashboard , and also integrating CQD Online some of the same functionality was available for free. With Skype for Business Server 2019, Microsoft introduced "Call Data Connector" to allow for data in Hybrid Environments to be analyzed and for insights to be gained

 

To send your QoE Reports to a third party, all you had to do within Lync was to Run

 

Set-CsQoEConfiguration -EnableExternalConsumer $true –ExternalConsumerName <Friendly Name of the Third Party Consumer> -ExternalConsumerURL "HTTPS URL Provided by the third party "

As soon as replication was complete, and presuming DNS, Certificates, Firewall was in order, all new QoE Reports would also be sent to the third-party. If the third-party was busy or unavailable, the messages would be queued-up and then be retried. The queues would be MSMQ in Lync Server 2010 and in LySS Database on the SQL Instance LyncLocal on each Front-End Server, in versions Lync Server 2013 and above .

 

If say, for some reason, the organization decided to change its course and use either Call Quality Methodology or Call Quality Dashboard , you could use Set-csQoEConfiguration to set EnableExternalConsumer $False


It could be possible that over time, with all the changes, the strategy may have changed, but the configuration has existed, and the 3rd party provider has chosen to block connection from your organization, or a new pool is deployed, and outbound connections to port 443 to the external consumer is no longer accessible, in such cases, you could see EVENT ID 56416 occur in your organization.

 

Time:     5/2/2017 2:49:54 PM

ID:       56416

Level:    Error

Source: LS Data Collection

Machine:  SKYPESTD01.contoso.com

Message:  Failed to post QoE report to External Consumer.


Error: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <IP Address of the Provider >:443

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, IAsyncResult asyncResult, Exception& exception)


--- End of inner exception stack trace ---

at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)

at System.Net.HttpWebRequest.GetRequestStream()

at Microsoft.Rtc.Server.UdcAdapters.QoE.HttpSender.SendReports(LyncMessageDetails msgDetails)

at Microsoft.Rtc.Server.UdcAdapters.QoE.QoEProcessor.ProcessQueueItems(LyssQueueItem queueItem)

 

Cause: Configurations for the external reports consumer are not set correctly.


Resolution:

Check the External Consumer configurations. If the problem persists, notify your organization's support team with the relevant details.

Depending on the cause, and if the intent is to send the data to third-party then updating it would be a matter of checking why a connection to port 443 is failing and correcting the same. Once the connection issue has been resolved, it’s just a matter of waiting for all the VQReports to be delivered to the third-party. It may take a couple of hours, depending on the robustness of the third-party system, and the time for which you have been experiencing the failure.

 

If the intent is no longer to send the data to the third-party, then, you may want to run Invoke-csStorageServiceFlush to move all the data from the existing queues to the Network file share, so resources like CPU, RAM and SQL Storage are not wasted in retrying and failing and then move the XML files that were generated.

If the issue is only for a period of time, and your contract/connection with the External QOE Provider is expected to be reinstated, then you could use Set-CsStorageServiceConfiguration to configure EnableAutoImportFlushedData  to $False, so data isn't imported automatically and then run   Invoke-csStorageServiceFlush to move all the data from the existing queues to the Network file share, so resources like CPU, RAM, and SQL Storage are not wasted in retrying.

 

To understand the robustness of LYSS See: Testing IM and Web-Conferencing Archiving set to Critical