{"data":{"exception":"BackgroundJobClientException","message":"Background job creation failed. See inner exception for details.","helpLink":null,"data":{},"source":"Hangfire.Core","stackTrace":" at Hangfire.BackgroundJobClient.Create(Job job, IState state, IDictionary`2 parameters)\n at Redsand.Site.Api.OrdersEcommerceController.Create(EcommerceOrderBody model, String conversationId) in D:\\Nobi\\NobiV2\\Api\\EcommerceOrder\\OrderController.cs:line 981\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)","inner":{"exception":"RedisTimeoutException","message":"Timeout performing ZSCAN (10000ms), inst: 0, qu: 193, qs: 0, aw: True, bw: CheckingForTimeoutComplete, rs: ReadAsync, ws: Idle, in: 0, in-pipe: 0, out-pipe: 0, last-in: 0, cur-in: 0, sync-ops: 11118075, async-ops: 1573934, serverEndpoint: localhost:6379, conn-sec: 27938,37, aoc: 0, mc: 1/1/0, mgr: 10 of 10 available, clientName: HangfireServer, IOCP: (Busy=0,Free=1000,Min=16,Max=1000), WORKER: (Busy=31,Free=32736,Min=16,Max=32767), POOL: (Threads=31,QueuedItems=45,CompletedItems=7499795), v: 2.6.111.64013 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)","helpLink":"https://stackexchange.github.io/StackExchange.Redis/Timeouts","data":{"redis-Message":"ZSCAN {hangfire}:lunovavn.nobi.pro:tags:c294dda5-d292-446c-ab09-3e3618ec79d9","redis-OpsSinceLastHeartbeat":"0","redis-Queue-Awaiting-Write":"193","redis-Queue-Awaiting-Response":"0","redis-Active-Writer":"True","redis-Backlog-Writer":"CheckingForTimeoutComplete","redis-Read-State":"ReadAsync","redis-Write-State":"Idle","redis-Inbound-Bytes":"0","redis-Inbound-Pipe-Bytes":"0","redis-Outbound-Pipe-Bytes":"0","redis-Last-Result-Bytes":"0","redis-Inbound-Buffer-Bytes":"0","redis-Sync-Ops":"11118075","redis-Async-Ops":"1573934","redis-Server-Endpoint":"localhost:6379","redis-Server-Connected-Seconds":"27938,37","redis-Abort-On-Connect":"0","redis-Multiplexer-Connects":"1/1/0","redis-Manager":"10 of 10 available","redis-Client-Name":"HangfireServer","redis-ThreadPool-IO-Completion":"(Busy=0,Free=1000,Min=16,Max=1000)","redis-ThreadPool-Workers":"(Busy=31,Free=32736,Min=16,Max=32767)","redis-ThreadPool-Items":"(Threads=31,QueuedItems=45,CompletedItems=7499795)","redis-Busy-Workers":"31","redis-Version":"2.6.111.64013","redis-command":"ZSCAN {hangfire}:lunovavn.nobi.pro:tags:c294dda5-d292-446c-ab09-3e3618ec79d9","request-sent-status":2,"redis-server":"localhost:6379","redis-page-size":250,"redis-page-index":-1,"originalStackTrace":" at StackExchange.Redis.CursorEnumerable`1.Enumerator.ThrowTimeout(Message message) in /_/src/StackExchange.Redis/CursorEnumerable.cs:line 247\n at StackExchange.Redis.CursorEnumerable`1.Enumerator.SlowNextSync() in /_/src/StackExchange.Redis/CursorEnumerable.cs:line 193\n at Hangfire.Redis.StackExchange.RedisConnection.GetAllItemsFromSet(String key)\n at Hangfire.Tags.Storage.ObsoleteBaseStorage.GetTags(JobStorage jobStorage, String jobId)\n at Hangfire.Tags.Storage.TagsStorage.GetTags(String jobid)\n at Hangfire.Tags.Storage.TagExpirationTransaction.Persist(String jobid)\n at Hangfire.Tags.States.TagsCleanupStateFilter.OnStateApplied(ApplyStateContext context, IWriteOnlyTransaction transaction)\n at Hangfire.States.StateMachine.InvokeOnStateApplied(Tuple`2 x)"},"source":"StackExchange.Redis","stackTrace":" at StackExchange.Redis.CursorEnumerable`1.Enumerator.ThrowTimeout(Message message) in /_/src/StackExchange.Redis/CursorEnumerable.cs:line 247\n at StackExchange.Redis.CursorEnumerable`1.Enumerator.SlowNextSync() in /_/src/StackExchange.Redis/CursorEnumerable.cs:line 193\n at Hangfire.Redis.StackExchange.RedisConnection.GetAllItemsFromSet(String key)\n at Hangfire.Tags.Storage.ObsoleteBaseStorage.GetTags(JobStorage jobStorage, String jobId)\n at Hangfire.Tags.Storage.TagsStorage.GetTags(String jobid)\n at Hangfire.Tags.Storage.TagExpirationTransaction.Persist(String jobid)\n at Hangfire.Tags.States.TagsCleanupStateFilter.OnStateApplied(ApplyStateContext context, IWriteOnlyTransaction transaction)\n at Hangfire.States.StateMachine.InvokeOnStateApplied(Tuple`2 x)\n at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1 tuple)\n at Hangfire.Profiling.EmptyProfiler.InvokeMeasured[TInstance,TResult](TInstance instance, Func`2 action, String message)\n at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfiler profiler, TInstance instance, Action`1 action, String message)\n at Hangfire.States.StateMachine.ApplyState(ApplyStateContext initialContext)\n at Hangfire.Client.CoreBackgroundJobFactory.<>c__DisplayClass15_0.<CreateBackgroundJobTwoSteps>b__1(Int32 attempt)\n at Hangfire.Client.CoreBackgroundJobFactory.<>c__DisplayClass16_0.<RetryOnException>b__0(Int32 attempt)\n at Hangfire.Client.CoreBackgroundJobFactory.RetryOnException[T](Int32& attemptsLeft, Func`2 action)\n--- End of stack trace from previous location ---\n at Hangfire.Client.CoreBackgroundJobFactory.RetryOnException[T](Int32& attemptsLeft, Func`2 action)\n at Hangfire.Client.CoreBackgroundJobFactory.RetryOnException(Int32& attemptsLeft, Action`1 action)\n at Hangfire.Client.CoreBackgroundJobFactory.CreateBackgroundJobTwoSteps(CreateContext context, Dictionary`2 parameters, DateTime createdAt, TimeSpan expireIn)\n at Hangfire.Client.BackgroundJobFactory.<>c__DisplayClass12_0.<CreateWithFilters>b__0()\n at Hangfire.Client.BackgroundJobFactory.InvokeClientFilter(IClientFilter filter, CreatingContext preContext, Func`1 continuation)\n at Hangfire.Client.BackgroundJobFactory.InvokeClientFilter(IClientFilter filter, CreatingContext preContext, Func`1 continuation)\n at Hangfire.Client.BackgroundJobFactory.InvokeClientFilter(IClientFilter filter, CreatingContext preContext, Func`1 continuation)\n at Hangfire.Client.BackgroundJobFactory.InvokeClientFilter(IClientFilter filter, CreatingContext preContext, Func`1 continuation)\n at Hangfire.Client.BackgroundJobFactory.InvokeClientFilter(IClientFilter filter, CreatingContext preContext, Func`1 continuation)\n at Hangfire.Client.BackgroundJobFactory.InvokeClientFilter(IClientFilter filter, CreatingContext preContext, Func`1 continuation)\n at Hangfire.Client.BackgroundJobFactory.Create(CreateContext context)\n at Hangfire.BackgroundJobClient.Create(Job job, IState state, IDictionary`2 parameters)","inner":null}},"status":400,"statusText":"","headers":{"access-control-allow-origin":"*","cache-control":"no-store","content-type":"application/json; charset=utf-8","date":"Mon, 03 Aug 2026 04:46:13 GMT","expires":"0","pragma":"no-cache","server":"nginx/1.28.0"},"config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json","Content-Type":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjYiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMDc4ODQ4NDA1MCIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiN01KS0pISjNOTEVaSlNYUFZHSkdORFpNV0ZGWkVMSUwiLCJzdWIiOiIwNzg4NDg0MDUwIiwianRpIjoiMzRkYWEwNzQtMGI1Mi00YTA0LTk1N2ItOTJmODkzNjVmNDE1IiwiaWF0IjoxNzg1NzI1MzE3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMy1sZWFkZXItc2FsZSIsIjMtc2FsZS10cnVjLXBhZ2UiLCIzLXRlbGVzYWxlIl0sIm5iZiI6MTc4NTcyNTMxNywiZXhwIjoxNzg1ODExNzE3LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.jr4PLxp2zOMdBXTJ1rFR1pvDjt6vc86LF1un2jNFIrw","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://lunovavn.nobi.pro","paramsSerializer":{},"method":"post","url":"/api/orders","data":"{\"invoice\":{\"type\":1,\"customerId\":2051,\"isDiscountPrice\":true,\"discount\":0,\"relatedCustomerId\":null,\"details\":null,\"warehouseId\":1,\"notes\":null,\"vat\":0,\"total\":116000,\"shippingFee\":30000,\"shippingFeeX\":13000,\"ecommerceDetails\":[{\"productId\":40,\"key\":40,\"isCombo\":false,\"product\":{\"id\":40,\"name\":\"T335 - THẮT LƯNG NAM CHỮ H(VÀNG)\",\"weight\":50,\"length\":41,\"width\":15,\"height\":9,\"isCombo\":false,\"url\":null,\"sku\":\"T335-VANG\",\"code\":\"T335-VANG\",\"price\":99000,\"unit\":\"Combo\",\"inventoryBefore\":0,\"inventory\":-77,\"productId\":46,\"priceAvg\":0,\"ecommerceFloorVariationId\":null},\"quantity\":1,\"weight\":50,\"length\":41,\"width\":15,\"height\":9,\"price\":99000,\"discount\":0,\"isDiscountPrice\":true,\"totalAmount\":99000,\"quantityX\":1}],\"insuranceValue\":\"99000.000\"},\"customer\":null,\"transporter\":\"JNT\",\"transporterId\":1,\"trackingCode\":null,\"weight\":990,\"salerId\":6,\"status\":1,\"checkingPolicy\":1,\"customerName\":\"Thầy Dũng\",\"customerNotes\":\"Khách được ĐỒNG KIỂM VỚI SHIP. Lưu ý THỬ SP NƠI SẠCH SẼ TRÁNH LÀM BẨN. Trường hợp KHÔNG NHẬN HÀNG thu của khách 30k\",\"customerPhoneNumber\":\"0985075553\",\"orderAddress\":{\"provinceId\":\"38\",\"districtId\":\"38386\",\"wardId\":\"3838614950\",\"shippingAddress\":\"Ql217 phố điền lư , Xã Điền Lư,Huyện Bá Thước,Thanh Hóa\",\"provinceName\":\"Thanh Hóa\",\"districtName\":\"Huyện Bá Thước\",\"wardName\":\"Xã Điền Lư\"},\"orderExtra\":{\"weight\":990,\"flagsStr\":\"{}\",\"flags\":{}},\"orderFee\":{},\"transporterServiceId\":\"EXPRESS\",\"isReturnPart\":true,\"transportType\":0,\"sendToTransporterAfterSave\":false,\"isFreeShipping\":false,\"isCustomFee\":true,\"couponIds\":[],\"totalAmount\":116000,\"createdFrom\":\"telesale\"}"},"request":{}}
"{\"invoice\":{\"type\":1,\"customerId\":2051,\"isDiscountPrice\":true,\"discount\":0,\"relatedCustomerId\":null,\"details\":null,\"warehouseId\":1,\"notes\":null,\"vat\":0,\"total\":116000,\"shippingFee\":30000,\"shippingFeeX\":13000,\"ecommerceDetails\":[{\"productId\":40,\"key\":40,\"isCombo\":false,\"product\":{\"id\":40,\"name\":\"T335 - THẮT LƯNG NAM CHỮ H(VÀNG)\",\"weight\":50,\"length\":41,\"width\":15,\"height\":9,\"isCombo\":false,\"url\":null,\"sku\":\"T335-VANG\",\"code\":\"T335-VANG\",\"price\":99000,\"unit\":\"Combo\",\"inventoryBefore\":0,\"inventory\":-77,\"productId\":46,\"priceAvg\":0,\"ecommerceFloorVariationId\":null},\"quantity\":1,\"weight\":50,\"length\":41,\"width\":15,\"height\":9,\"price\":99000,\"discount\":0,\"isDiscountPrice\":true,\"totalAmount\":99000,\"quantityX\":1}],\"insuranceValue\":\"99000.000\"},\"customer\":null,\"transporter\":\"JNT\",\"transporterId\":1,\"trackingCode\":null,\"weight\":990,\"salerId\":6,\"status\":1,\"checkingPolicy\":1,\"customerName\":\"Thầy Dũng\",\"customerNotes\":\"Khách được ĐỒNG KIỂM VỚI SHIP. Lưu ý THỬ SP NƠI SẠCH SẼ TRÁNH LÀM BẨN. Trường hợp KHÔNG NHẬN HÀNG thu của khách 30k\",\"customerPhoneNumber\":\"0985075553\",\"orderAddress\":{\"provinceId\":\"38\",\"districtId\":\"38386\",\"wardId\":\"3838614950\",\"shippingAddress\":\"Ql217 phố điền lư , Xã Điền Lư,Huyện Bá Thước,Thanh Hóa\",\"provinceName\":\"Thanh Hóa\",\"districtName\":\"Huyện Bá Thước\",\"wardName\":\"Xã Điền Lư\"},\"orderExtra\":{\"weight\":990,\"flagsStr\":\"{}\",\"flags\":{}},\"orderFee\":{},\"transporterServiceId\":\"EXPRESS\",\"isReturnPart\":true,\"transportType\":0,\"sendToTransporterAfterSave\":false,\"isFreeShipping\":false,\"isCustomFee\":true,\"couponIds\":[],\"totalAmount\":116000,\"createdFrom\":\"telesale\"}"