PrintPackJobTask.PrintAndPack_Jobs

// Job ID: #661b5b12a5ab8f0ab01ab467
using OI.Service.HangfireTask.CreatePackJob;

var printPackJobTask = Activate<PrintPackJobTask>();
await printPackJobTask.PrintAndPack_Jobs(
    "649923d0f65a8813a473b052",
    "64c767bcf65a88060c1013da",
    "Tanya",
    "Tanya Curtis",
    new { "661b5a655236fa0b549aa384", "661b5a655236fa0b549aa383" });
CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RetryCount
10

State

4/14/2024 9:25:37 AM (+78ms) Failed

An exception occurred during performance of the job.

System.ArgumentException

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

+3.815s Processing

Server:
ip-0a00067f:692
Worker:
ff2916fc

+1h 50m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 10 of 10: Must contain at least 1 request. Parameter name:…

Enqueue at:
4/14/2024 9:25:33 AM

+62ms Failed

An exception occurred during performance of the job.

System.ArgumentException

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

+29ms Processing

Server:
ip-0a0008b4:2900
Worker:
b7f54ce2

+1h 11m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+12ms Scheduled

Retry attempt 9 of 10: Must contain at least 1 request. Parameter name:…

Enqueue at:
4/14/2024 7:35:04 AM

+160ms Failed

An exception occurred during performance of the job.

System.ArgumentException

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

+148ms Processing

Server:
ip-0a0008b4:2900
Worker:
ec9de344

+43m 28.854s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+15ms Scheduled

Retry attempt 8 of 10: An exception occurred while opening a connection …

Enqueue at:
4/14/2024 6:23:59 AM

+1m 40.731s Failed

An exception occurred during performance of the job.

MongoDB.Driver.MongoConnectionException

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

+794ms Processing

Server:
ip-0a0006fb:3048
Worker:
ec720534

+25m 9.383s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 7 of 10: Must contain at least 1 request. Parameter name:…

Enqueue at:
4/14/2024 5:38:47 AM

+2m 45.651s Failed

An exception occurred during performance of the job.

System.ArgumentException

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

+968ms Processing

Server:
ip-0a00067f:692
Worker:
6e1f5198

+13m 40.902s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 6 of 10: Must contain at least 1 request. Parameter name:…

Enqueue at:
4/14/2024 5:10:46 AM

+78ms Failed

An exception occurred during performance of the job.

System.ArgumentException

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

+909ms Processing

Server:
ip-0a0008b4:2900
Worker:
3c9d687b

+6m 57.113s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+16ms Scheduled

Retry attempt 5 of 10: An exception occurred while opening a connection …

Enqueue at:
4/14/2024 4:57:00 AM

+3m 51.677s Failed

An exception occurred during performance of the job.

MongoDB.Driver.MongoConnectionException

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

+234ms Processing

Server:
ip-0a0006fb:3048
Worker:
a11309a7

+2m 59.657s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+10ms Scheduled

Retry attempt 4 of 10: Must contain at least 1 request. Parameter name:…

Enqueue at:
4/14/2024 4:46:19 AM

+6m 22.161s Failed

An exception occurred during performance of the job.

System.ArgumentException

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

+2.865s Processing

Server:
ip-0a0006fb:3048
Worker:
4e53f61d

+1m 23.608s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 3 of 10: An exception occurred while opening a connection …

Enqueue at:
4/14/2024 4:36:53 AM

+18.812s Failed

An exception occurred during performance of the job.

MongoDB.Driver.MongoConnectionException

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

+3.379s Processing

Server:
ip-0a00067f:692
Worker:
0e8d5e03

+49.043s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+47ms Scheduled

Retry attempt 2 of 10: Must contain at least 1 request. Parameter name:…

Enqueue at:
4/14/2024 4:35:11 AM

+172ms Failed

An exception occurred during performance of the job.

System.ArgumentException

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

+1.430s Processing

Server:
ip-0a0008b4:2900
Worker:
447fe3cd

+20.418s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+15ms Scheduled

Retry attempt 1 of 10: Must contain at least 1 request. Parameter name:…

Enqueue at:
4/14/2024 4:34:19 AM

+7m 885ms Failed

An exception occurred during performance of the job.

System.ArgumentException

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

+1.848s Processing

Server:
ip-0a00067f:692
Worker:
6e1f5198

+ <1ms Enqueued

Queue:
default

4/14/2024 4:26:58 AM Created