Universal print jobs take an unusually long amount of time & user gets error message

Copper Contributor

Hi,

 

We've got Universal Print set up for 2 users and roughly 8-9 printers.

 

All of our print connections are facilitated via the connector (no firmware-based connections) sitting on a Windows 2019 Azure VM, which connects to the printers via an S2S tunnel using Azure VPN gateway.

 

What we're seeing is that user prints are taking an unusually long time (up to 3 minutes) even for a simple test print, and users are receiving error messages that their print job failed, even when the job still comes out.

 

When I perform a test print to one of the test printers, I can see the jobs failing in the test system print queue:

printpic1.png

 

In this case, I didn't even see the print jobs hit the print queue on the print connector server.

 

This had been working pretty much flawlessly for 2-3 weeks.  No network changes have been made, in Azure or on-prem.

 

From looking at the PrintConnector event log, we're seeing even ID 1 category LogError:

Retry 1 Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at ProxyLibrary.NotificationHandler.<SubscribeAsync>d__10.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 ProxyLibrary.NotificationHandler.<>c__DisplayClass8_0.<<CreateSubscriptionAsync>b__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 ProxyLibrary.RetryHandler.<RetryAsync>d__0`1.MoveNext()

 

and EventID 21, category IPPError:

IPP Request operation: CreatePrinterSubscriptions
Uri: https://notification.print.microsoft.com/printers/INSERTGUIDHERE/
response:StatusCode: 503, ReasonPhrase: 'Service Unavailable', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  X-Content-Type-Options: nosniff
  X-MSEdge-Ref: Ref A: <REF> Ref B: CH1EDGE1006 Ref C: 2021-02-23T20:59:33Z
  Cache-Control: no-store
  Date: Tue, 23 Feb 2021 21:00:02 GMT
  Set-Cookie: UserRegion=usa; path=/; samesite=lax; httponly
  Content-Length: 0
}
Http client failed with statusCode: ServiceUnavailable

EventID 19, IPPError:

Notification response for printer INSERTGUIDHERE 
 System.AggregateException: One or more errors occurred. ---> Microsoft.Falcon.MPS_IPPLibrary.ZeroByteReadException: Initial read returned 0 bytes
   at Microsoft.Falcon.MPS_IPPLibrary.IppResponse.<DeserializeAsync>d__24.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 Microsoft.Falcon.MPS_IPPLibrary.IppResponse.<CreateAsync>d__23.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at ProxyLibrary.NotificationHandler.<GetNotificationsAsync>d__12.MoveNext()
---> (Inner Exception #0) Microsoft.Falcon.MPS_IPPLibrary.ZeroByteReadException: Initial read returned 0 bytes
   at Microsoft.Falcon.MPS_IPPLibrary.IppResponse.<DeserializeAsync>d__24.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 Microsoft.Falcon.MPS_IPPLibrary.IppResponse.<CreateAsync>d__23.MoveNext()<---

 

and finally EventID 2, also category LogError:

Failed to get Active Subscription for printer INSERTGUIDHERE, Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at ProxyLibrary.NotificationHandler.<GetActiveSubcriptionsAsync>d__6.MoveNext()

 

Anyone else seeing/seen anything similar?

4 Replies

@ersjohnson If you are already using the latest version of the Connector (https://aka.ms/upconnector), then I recommend opening a support case with Microsoft.

Thanks Jimmy! Things seem to be better now, but we're still noticing these error messages in the Connector event log. Should we still open a support ticket?
I had a follow up with the team and found out that the notification service have been receiving excessive calls by some older connectors which are causing a backup of events to process. The notification service should be starting to return back to normal health and the team is continuing to monitor.