// Job ID: #661b5b12a5ab8f0ab01ab467
using OI.Service.HangfireTask.CreatePackJob;
var printPackJobTask = Activate<PrintPackJobTask>();
await printPackJobTask.PrintAndPack_Jobs(
"649923d0f65a8813a473b052",
"64c767bcf65a88060c1013da",
"Tanya",
"Tanya Curtis",
new { "661b5a655236fa0b549aa384", "661b5a655236fa0b549aa383" });
"en-US""en-US"10An exception occurred during performance of the job.
Must contain at least 1 request. Parameter name: requests
System.ArgumentException: Must contain at least 1 request. Parameter name: requests at MongoDB.Driver.MongoCollectionImpl`1.<BulkWriteAsync>d__26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<BulkWriteAsync>d__15.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at OI.Service.PackJobService.PackJobService.<BulkUpdate>d__8.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PackJobService\PackJobService.cs:line 497 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 155
Retry attempt 10 of 10: Must contain at least 1 request. Parameter name:…
An exception occurred during performance of the job.
Must contain at least 1 request. Parameter name: requests
System.ArgumentException: Must contain at least 1 request. Parameter name: requests at MongoDB.Driver.MongoCollectionImpl`1.<BulkWriteAsync>d__26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<BulkWriteAsync>d__15.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at OI.Service.PackJobService.PackJobService.<BulkUpdate>d__8.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PackJobService\PackJobService.cs:line 497 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 155
Retry attempt 9 of 10: Must contain at least 1 request. Parameter name:…
An exception occurred during performance of the job.
Must contain at least 1 request. Parameter name: requests
System.ArgumentException: Must contain at least 1 request. Parameter name: requests at MongoDB.Driver.MongoCollectionImpl`1.<BulkWriteAsync>d__26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<BulkWriteAsync>d__15.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at OI.Service.PackJobService.PackJobService.<BulkUpdate>d__8.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PackJobService\PackJobService.cs:line 497 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 155
Retry attempt 8 of 10: An exception occurred while opening a connection …
An exception occurred during performance of the job.
An exception occurred while opening a connection to the server.
MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.TimeoutException: Timed out connecting to Unspecified/mypakcluster-shard-00-01.q7jt7.mongodb.net:27017. Timeout was 00:00:10. at MongoDB.Driver.Core.Connections.TcpStreamFactory.<ConnectAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Connections.TcpStreamFactory.<CreateStreamAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Connections.SslStreamFactory.<CreateStreamAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Connections.BinaryConnection.<OpenHelperAsync>d__48.MoveNext() --- End of inner exception stack trace --- at MongoDB.Driver.Core.Connections.BinaryConnection.<OpenHelperAsync>d__48.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Servers.Server.<GetChannelAsync>d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Operations.FindOperation`1.<ExecuteAsync>d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.OperationExecutor.<ExecuteReadOperationAsync>d__3`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<ExecuteReadOperationAsync>d__93`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<>c__DisplayClass24_0.<<GetOneAsync>b__0>d.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<GetOneAsync>d__24.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.PharmacyService.PharmacyService.<GetById>d__4.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PharmacyService\PharmacyService.cs:line 73 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 139
Retry attempt 7 of 10: Must contain at least 1 request. Parameter name:…
An exception occurred during performance of the job.
Must contain at least 1 request. Parameter name: requests
System.ArgumentException: Must contain at least 1 request. Parameter name: requests at MongoDB.Driver.MongoCollectionImpl`1.<BulkWriteAsync>d__26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<BulkWriteAsync>d__15.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at OI.Service.PackJobService.PackJobService.<BulkUpdate>d__8.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PackJobService\PackJobService.cs:line 497 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 155
Retry attempt 6 of 10: Must contain at least 1 request. Parameter name:…
An exception occurred during performance of the job.
Must contain at least 1 request. Parameter name: requests
System.ArgumentException: Must contain at least 1 request. Parameter name: requests at MongoDB.Driver.MongoCollectionImpl`1.<BulkWriteAsync>d__26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<BulkWriteAsync>d__15.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at OI.Service.PackJobService.PackJobService.<BulkUpdate>d__8.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PackJobService\PackJobService.cs:line 497 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 155
Retry attempt 5 of 10: An exception occurred while opening a connection …
An exception occurred during performance of the job.
An exception occurred while opening a connection to the server.
MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.TimeoutException: Timed out connecting to Unspecified/mypakcluster-shard-00-01.q7jt7.mongodb.net:27017. Timeout was 00:00:10. at MongoDB.Driver.Core.Connections.TcpStreamFactory.<ConnectAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Connections.TcpStreamFactory.<CreateStreamAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Connections.SslStreamFactory.<CreateStreamAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Connections.BinaryConnection.<OpenHelperAsync>d__48.MoveNext() --- End of inner exception stack trace --- at MongoDB.Driver.Core.Connections.BinaryConnection.<OpenHelperAsync>d__48.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Servers.Server.<GetChannelAsync>d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Operations.FindOperation`1.<ExecuteAsync>d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.OperationExecutor.<ExecuteReadOperationAsync>d__3`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<ExecuteReadOperationAsync>d__93`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<>c__DisplayClass24_0.<<GetOneAsync>b__0>d.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<GetOneAsync>d__24.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.PharmacyService.PharmacyService.<GetById>d__4.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PharmacyService\PharmacyService.cs:line 73 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 139
Retry attempt 4 of 10: Must contain at least 1 request. Parameter name:…
An exception occurred during performance of the job.
Must contain at least 1 request. Parameter name: requests
System.ArgumentException: Must contain at least 1 request. Parameter name: requests at MongoDB.Driver.MongoCollectionImpl`1.<BulkWriteAsync>d__26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<BulkWriteAsync>d__15.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at OI.Service.PackJobService.PackJobService.<BulkUpdate>d__8.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PackJobService\PackJobService.cs:line 497 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 155
Retry attempt 3 of 10: An exception occurred while opening a connection …
An exception occurred during performance of the job.
An exception occurred while opening a connection to the server.
MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.TimeoutException: Timed out connecting to Unspecified/mypakcluster-shard-00-01.q7jt7.mongodb.net:27017. Timeout was 00:00:10. at MongoDB.Driver.Core.Connections.TcpStreamFactory.<ConnectAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Connections.TcpStreamFactory.<CreateStreamAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Connections.SslStreamFactory.<CreateStreamAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Connections.BinaryConnection.<OpenHelperAsync>d__48.MoveNext() --- End of inner exception stack trace --- at MongoDB.Driver.Core.Connections.BinaryConnection.<OpenHelperAsync>d__48.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Servers.Server.<GetChannelAsync>d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Operations.FindOperation`1.<ExecuteAsync>d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.OperationExecutor.<ExecuteReadOperationAsync>d__3`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<ExecuteReadOperationAsync>d__93`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<>c__DisplayClass24_0.<<GetOneAsync>b__0>d.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<GetOneAsync>d__24.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.PharmacyService.PharmacyService.<GetById>d__4.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PharmacyService\PharmacyService.cs:line 73 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 139
Retry attempt 2 of 10: Must contain at least 1 request. Parameter name:…
An exception occurred during performance of the job.
Must contain at least 1 request. Parameter name: requests
System.ArgumentException: Must contain at least 1 request. Parameter name: requests at MongoDB.Driver.MongoCollectionImpl`1.<BulkWriteAsync>d__26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<BulkWriteAsync>d__15.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at OI.Service.PackJobService.PackJobService.<BulkUpdate>d__8.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PackJobService\PackJobService.cs:line 497 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 155
Retry attempt 1 of 10: Must contain at least 1 request. Parameter name:…
An exception occurred during performance of the job.
Must contain at least 1 request. Parameter name: requests
System.ArgumentException: Must contain at least 1 request. Parameter name: requests at MongoDB.Driver.MongoCollectionImpl`1.<BulkWriteAsync>d__26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Data.MongoDBRepository`1.<BulkWriteAsync>d__15.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Data\MongoDBRepository.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at OI.Service.PackJobService.PackJobService.<BulkUpdate>d__8.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\PackJobService\PackJobService.cs:line 497 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<PrintAndPack_Jobs>d__51.MoveNext() in D:\source\repos\mypak-webapi\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 155