PaymentJobs.PostPayment_RazorPay

// Job ID: #3655506
using OOP.BackgroundJobsManager.Jobs;

var paymentJobs = Activate<PaymentJobs>();
paymentJobs.PostPayment_RazorPay("pay_QLg3f3iuLa0u4D", 9492);

Properties

CurrentCulture
"en-IN"
CurrentUICulture
"en-US"
RecurringJobId
"9492"
Time
1757592033

State

9/11/2025 12:07:21 PM (+14.966s) Failed

An exception occurred during performance of the job.

System.Data.Entity.Core.EntityException

The underlying provider failed on Open.

System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.Open()
   at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
   at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
   at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass1.<Execute>b__0()
   at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   --- End of inner exception stack trace ---
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5()
   at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at OOP.BackgroundTask.Payment.PostPaymentToRazorPay.paymentToRazorPay(String RazorPayPaymentID, Int32 TransactionID) in D:\Projects_2.O\OOP_Git\OOP.BackgroundTask\Payment\PostPaymentToRazorPay.cs:line 43
   at OOP.BackgroundJobsManager.Jobs.PaymentJobs.PostPayment_RazorPay(String RazorPayPaymentID, Int32 TransactionID) in D:\Projects_2.O\OOP_Git\OOP.BackgroundJobsManager\Jobs\PaymentJobs.cs:line 30

+6m 33.297s Processing

Server:
pc15:9108
Worker:
2c32489b

+30ms Processing

Server:
pc15:9108
Worker:
289f0740

+7ms Enqueued

Triggered by recurring job scheduler

9/11/2025 12:00:33 PM Created