Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
An exception occurred during performance of the job. Fewer details...
System.AggregateException
One or more errors occurred.
System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: {document}.UpdateImageUserId is not supported.
at MongoDB.Driver.Linq.Translators.PredicateTranslator.GetFieldExpression(Expressionexpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateIsNullOrEmpty(MethodCallExpressionmethodCallExpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateMethodCall(MethodCallExpressionmethodCallExpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateAndAlso(BinaryExpressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate[TDocument](Expression`1predicate, IBsonSerializer`1parameterSerializer, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.ExpressionFilterDefinition`1.Render(IBsonSerializer`1documentSerializer, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.MongoCollectionImpl`1.CreateFindOperation[TProjection](FilterDefinition`1filter, FindOptions`2options)
at MongoDB.Driver.MongoCollectionImpl`1.FindAsync[TProjection](IClientSessionHandlesession, FilterDefinition`1filter, FindOptions`2options, CancellationTokencancellationToken)
at MongoDB.Driver.MongoCollectionImpl`1.<>c__DisplayClass43_0`1.<FindAsync>b__0(IClientSessionHandlesession)
at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(BooleanincludeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(BooleanwaitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at OI.Service.HangfireTask.DrugImport.DrugImageImportTask.<UpdateDrugImage>d__10.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImageImportTask.cs:line 122
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImport.DrugImageImportTask.<ImportDrugImage>d__9.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImageImportTask.cs:line 110
---> (Inner Exception #0) System.InvalidOperationException: {document}.UpdateImageUserId is not supported.
at MongoDB.Driver.Linq.Translators.PredicateTranslator.GetFieldExpression(Expressionexpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateIsNullOrEmpty(MethodCallExpressionmethodCallExpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateMethodCall(MethodCallExpressionmethodCallExpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateAndAlso(BinaryExpressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate[TDocument](Expression`1predicate, IBsonSerializer`1parameterSerializer, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.ExpressionFilterDefinition`1.Render(IBsonSerializer`1documentSerializer, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.MongoCollectionImpl`1.CreateFindOperation[TProjection](FilterDefinition`1filter, FindOptions`2options)
at MongoDB.Driver.MongoCollectionImpl`1.FindAsync[TProjection](IClientSessionHandlesession, FilterDefinition`1filter, FindOptions`2options, CancellationTokencancellationToken)
at MongoDB.Driver.MongoCollectionImpl`1.<>c__DisplayClass43_0`1.<FindAsync>b__0(IClientSessionHandlesession)
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
An exception occurred during performance of the job. More details...
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/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017. Timeout was 00:00:30.
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/mypaklivecluster1-shard-00-00.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-00.x4umu.mongodb.net:27017", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ workloadType : OPERATIONAL, diskState : READY, nodeType : ELECTABLE, availabilityZone : apse2-az3, region : AP_SOUTHEAST_2, provider : AWS }", WireVersionRange: "[0, 17]" }, { ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017", State: "Disconnected", Type: "Unknown" }, { ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/mypaklivecluster1-shard-00-02.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-02.x4umu.mongodb.net:27017", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ region : AP_SOUTHEAST_2, workloadType : OPERATIONAL, nodeType : ELECTABLE, diskState : READY, availabilityZone : apse2-az2, provider : AWS }", WireVersionRange: "[0, 17]" }] }.
at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelectorselector, ClusterDescriptiondescription)
at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(TaskcompletedTask)
at MongoDB.Driver.Core.Clusters.Cluster.<WaitForDescriptionChangedAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Clusters.Cluster.<SelectServerAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Bindings.ReadPreferenceBinding.<GetReadChannelSourceAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/mypaklivecluster1-shard-00-00.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-00.x4umu.mongodb.net:27017", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ workloadType : OPERATIONAL, diskState : READY, nodeType : ELECTABLE, availabilityZone : apse2-az3, region : AP_SOUTHEAST_2, provider : AWS }", WireVersionRange: "[0, 17]" }, { ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017", State: "Disconnected", Type: "Unknown" }, { ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/mypaklivecluster1-shard-00-02.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-02.x4umu.mongodb.net:27017", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ region : AP_SOUTHEAST_2, workloadType : OPERATIONAL, nodeType : ELECTABLE, diskState : READY, availabilityZone : apse2-az2, provider : AWS }", WireVersionRange: "[0, 17]" }] }.
at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelectorselector, ClusterDescriptiondescription)
at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(TaskcompletedTask)
at MongoDB.Driver.Core.Clusters.Cluster.<WaitForDescriptionChangedAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Clusters.Cluster.<SelectServerAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Bindings.ReadPreferenceBinding.<GetReadChannelSourceAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at MongoDB.Bson.ObjectId.ToString()
at OI.Core.BaseMongoDBEntity..ctor() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\BaseEntity.cs:line 98
at OI.Core.MasterMongoDBEntity..ctor()
at OI.Domain.MappingModel.DrugAPN..ctor()
at lambda_method(Closure )
at MongoDB.Bson.Serialization.BsonClassMap.CreateInstance()
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Driver.Core.Operations.CursorBatchDeserializationHelper.DeserializeBatch[TDocument](RawBsonArraybatch, IBsonSerializer`1documentSerializer, MessageEncoderSettingsmessageEncoderSettings)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.CreateCursorBatch(BsonDocumentresult)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.ExecuteGetMoreCommand(IChannelHandlechannel, CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.GetNextBatch(CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.MoveNext(CancellationTokencancellationToken)
at MongoDB.Driver.IAsyncCursorExtensions.ToList[TDocument](IAsyncCursor`1source, CancellationTokencancellationToken)
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 371
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
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/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017. Timeout was 00:00:30.
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Driver.Core.Operations.CursorBatchDeserializationHelper.DeserializeBatch[TDocument](RawBsonArraybatch, IBsonSerializer`1documentSerializer, MessageEncoderSettingsmessageEncoderSettings)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.CreateCursorBatch(BsonDocumentresult)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.ExecuteGetMoreCommand(IChannelHandlechannel, CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.GetNextBatch(CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.MoveNext(CancellationTokencancellationToken)
at MongoDB.Driver.IAsyncCursorExtensions.ToList[TDocument](IAsyncCursor`1source, CancellationTokencancellationToken)
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 371
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
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/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017. Timeout was 00:00:30.
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Operations.RetryableWriteContext.<InitializeAsync>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Operations.RetryableWriteContext.<CreateAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Operations.BulkMixedWriteOperation.<ExecuteAsync>d__44.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.OperationExecutor.<ExecuteWriteOperationAsync>d__5`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.MongoCollectionImpl`1.<ExecuteWriteOperationAsync>d__95`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 400
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
An exception occurred during performance of the job. More details...
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/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017. Timeout was 00:00:30.
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
MongoDB.Driver.MongoConnectionException
An exception occurred while sending a message to the server.
MongoDB.Driver.MongoConnectionException: An exception occurred while sending a message to the server. ---> System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.BeginSend(Byte[]buffer, Int32offset, Int32size, SocketFlagssocketFlags, AsyncCallbackcallback, Objectstate)
at System.Net.Sockets.NetworkStream.BeginWrite(Byte[]buffer, Int32offset, Int32size, AsyncCallbackcallback, Objectstate)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.BeginWrite(Byte[]buffer, Int32offset, Int32size, AsyncCallbackcallback, Objectstate)
at System.Net.Security._SslStream.StartWriting(Byte[]buffer, Int32offset, Int32count, AsyncProtocolRequestasyncRequest)
at System.Net.Security._SslStream.ProcessWrite(Byte[]buffer, Int32offset, Int32count, AsyncProtocolRequestasyncRequest)
at System.Net.Security._SslStream.BeginWrite(Byte[]buffer, Int32offset, Int32count, AsyncCallbackasyncCallback, ObjectasyncState)
at System.Net.Security.SslStream.BeginWrite(Byte[]buffer, Int32offset, Int32count, AsyncCallbackasyncCallback, ObjectasyncState)
at System.IO.Stream.<>c.<BeginEndWriteAsync>b__53_0(Streamstream, ReadWriteParametersargs, AsyncCallbackcallback, Objectstate)
at System.Threading.Tasks.TaskFactory`1.FromAsyncTrim[TInstance,TArgs](TInstancethisRef, TArgsargs, Func`5beginMethod, Func`3endMethod)
at System.IO.Stream.BeginEndWriteAsync(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.WriteAsync(Byte[]buffer, Int32offset, Int32count, CancellationTokencancellationToken)
at MongoDB.Driver.Core.Misc.StreamExtensionMethods.<WriteBytesAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Connections.BinaryConnection.<SendBufferAsync>d__56.MoveNext()
--- End of inner exception stack trace ---
at MongoDB.Driver.Core.Connections.BinaryConnection.<SendBufferAsync>d__56.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Connections.BinaryConnection.<SendMessagesAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol`1.<ExecuteAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Servers.Server.ServerChannel.<ExecuteProtocolAsync>d__29`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Operations.CommandOperationBase`1.<ExecuteProtocolAsync>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Operations.ReadCommandOperation`1.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Operations.FindCommandOperation`1.<ExecuteAsync>d__111.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/mypaklivecluster1-shard-00-00.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-00.x4umu.mongodb.net:27017", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ workloadType : OPERATIONAL, diskState : READY, nodeType : ELECTABLE, availabilityZone : apse2-az3, region : AP_SOUTHEAST_2, provider : AWS }", WireVersionRange: "[0, 17]" }, { ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017", State: "Disconnected", Type: "Unknown" }, { ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/mypaklivecluster1-shard-00-02.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-02.x4umu.mongodb.net:27017", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ region : AP_SOUTHEAST_2, workloadType : OPERATIONAL, nodeType : ELECTABLE, diskState : READY, availabilityZone : apse2-az2, provider : AWS }", WireVersionRange: "[0, 17]" }] }.
at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelectorselector, ClusterDescriptiondescription)
at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(TaskcompletedTask)
at MongoDB.Driver.Core.Clusters.Cluster.<WaitForDescriptionChangedAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Clusters.Cluster.<SelectServerAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Bindings.ReadPreferenceBinding.<GetReadChannelSourceAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
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/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017. Timeout was 00:00:30.
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
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/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017. Timeout was 00:00:30.
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
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/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017. Timeout was 00:00:30.
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : "3", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 3, EndPoint : "Unspecified/mypaklivecluster1-shard-00-00.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-00.x4umu.mongodb.net:27017", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ provider : AWS, diskState : READY, region : AP_SOUTHEAST_2, nodeType : ELECTABLE, availabilityZone : apse2-az3, workloadType : OPERATIONAL }", WireVersionRange: "[0, 17]" }, { ServerId: "{ ClusterId : 3, EndPoint : "Unspecified/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017", State: "Disconnected", Type: "Unknown" }, { ServerId: "{ ClusterId : 3, EndPoint : "Unspecified/mypaklivecluster1-shard-00-02.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-02.x4umu.mongodb.net:27017", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ region : AP_SOUTHEAST_2, workloadType : OPERATIONAL, nodeType : ELECTABLE, diskState : READY, availabilityZone : apse2-az2, provider : AWS }", WireVersionRange: "[0, 17]" }] }.
at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelectorselector, ClusterDescriptiondescription)
at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(TaskcompletedTask)
at MongoDB.Driver.Core.Clusters.Cluster.<WaitForDescriptionChangedAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Clusters.Cluster.<SelectServerAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Bindings.ReadPreferenceBinding.<GetReadChannelSourceAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : "3", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 3, EndPoint : "Unspecified/mypaklivecluster1-shard-00-00.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-00.x4umu.mongodb.net:27017", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ provider : AWS, diskState : READY, region : AP_SOUTHEAST_2, nodeType : ELECTABLE, availabilityZone : apse2-az3, workloadType : OPERATIONAL }", WireVersionRange: "[0, 17]" }, { ServerId: "{ ClusterId : 3, EndPoint : "Unspecified/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-01.x4umu.mongodb.net:27017", State: "Disconnected", Type: "Unknown" }, { ServerId: "{ ClusterId : 3, EndPoint : "Unspecified/mypaklivecluster1-shard-00-02.x4umu.mongodb.net:27017" }", EndPoint: "Unspecified/mypaklivecluster1-shard-00-02.x4umu.mongodb.net:27017", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ nodeType : ELECTABLE, availabilityZone : apse2-az2, diskState : READY, provider : AWS, region : AP_SOUTHEAST_2, workloadType : OPERATIONAL }", WireVersionRange: "[0, 17]" }] }.
at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelectorselector, ClusterDescriptiondescription)
at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(TaskcompletedTask)
at MongoDB.Driver.Core.Clusters.Cluster.<WaitForDescriptionChangedAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Clusters.Cluster.<SelectServerAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Bindings.ReadPreferenceBinding.<GetReadChannelSourceAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120