{"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 E:\\redsand\\inven-check\\Api\\EcommerceOrder\\OrderController.cs:line 1003\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 (30000ms), next: UNWATCH, inst: 0, qu: 119, qs: 261, aw: True, bw: WritingMessage, rs: ReadAsync, ws: Flushed, in: 2121, in-pipe: 0, out-pipe: 0, last-in: 0, cur-in: 0, sync-ops: 12032150, async-ops: 1488305, serverEndpoint: localhost:6379, conn-sec: 74475,92, aoc: 0, mc: 1/1/0, mgr: 10 of 10 available, clientName: HangfireServer, IOCP: (Busy=0,Free=1000,Min=16,Max=1000), WORKER: (Busy=91,Free=32676,Min=16,Max=32767), POOL: (Threads=91,QueuedItems=141,CompletedItems=26139669), 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}:onete.nobi.pro:tags:57c62bb5-63d1-4184-a3cd-7a1d704a37de","redis-Message-Next":"UNWATCH","redis-OpsSinceLastHeartbeat":"0","redis-Queue-Awaiting-Write":"119","redis-Queue-Awaiting-Response":"261","redis-Active-Writer":"True","redis-Backlog-Writer":"WritingMessage","redis-Read-State":"ReadAsync","redis-Write-State":"Flushed","redis-Inbound-Bytes":"2121","redis-Inbound-Pipe-Bytes":"0","redis-Outbound-Pipe-Bytes":"0","redis-Last-Result-Bytes":"0","redis-Inbound-Buffer-Bytes":"0","redis-Sync-Ops":"12032150","redis-Async-Ops":"1488305","redis-Server-Endpoint":"localhost:6379","redis-Server-Connected-Seconds":"74475,92","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=91,Free=32676,Min=16,Max=32767)","redis-ThreadPool-Items":"(Threads=91,QueuedItems=141,CompletedItems=26139669)","redis-Busy-Workers":"91","redis-Version":"2.6.111.64013","redis-command":"ZSCAN {hangfire}:onete.nobi.pro:tags:57c62bb5-63d1-4184-a3cd-7a1d704a37de","request-sent-status":3,"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 252\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 252\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.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":"Fri, 09 Jan 2026 09:02:54 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjU1IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6IjAzMzkyMDYwODYiLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6IlBGMjNFNFNONVczM1NOVzRTVlZKVEM2TzU0NkRQQzVUIiwic3ViIjoiMDMzOTIwNjA4NiIsImp0aSI6ImE1OTU0OTM1LWE4ZGQtNDc4MS1iMTZkLWNhOGMyNmE5YWI2MyIsImlhdCI6MTc2NzkyNDYwMCwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiOS1uaGFuLXZpZW4tYmFuLWhhbmciLCJuYmYiOjE3Njc5MjQ2MDAsImV4cCI6MTc2ODAxMTAwMCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.6uN5pIIdDsJv_P5w-3OXfQydYjFm8QTwbvEZ9ovjdm8","ContentType":"application/json","x-hour-offset":"7","BranchId":"5","Locale":"vi"},"baseURL":"https://onete.nobi.pro","paramsSerializer":{},"method":"post","url":"/api/orders","data":"{\"invoice\":{\"type\":1,\"customerId\":null,\"isDiscountPrice\":true,\"discount\":0,\"relatedCustomerId\":null,\"details\":null,\"warehouseId\":3,\"notes\":null,\"vat\":0,\"total\":592000,\"shippingFee\":15000,\"shippingFeeX\":23000,\"ecommerceDetails\":[{\"productId\":166,\"key\":166,\"isCombo\":false,\"product\":{\"id\":166,\"name\":\"Serum thanh Lọc PRE AMI - Mini\",\"weight\":50,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":\"/uploads/onete.nobi.pro/product/z5969295099682_676cb6b24c95f531c327583bbae2135d.jpg\",\"sku\":\"DEMO - SRTL03\",\"code\":\"DEMO - SRTL03\",\"price\":300000,\"unit\":\"hộp\",\"inventoryBefore\":0,\"inventory\":661,\"productId\":59,\"priceAvg\":300000,\"ecommerceFloorVariationId\":null},\"quantity\":1,\"weight\":50,\"length\":1,\"width\":1,\"height\":1,\"price\":300000,\"discount\":0,\"isDiscountPrice\":true,\"totalAmount\":300000,\"quantityX\":1},{\"productId\":141,\"key\":141,\"isCombo\":false,\"product\":{\"id\":141,\"name\":\"Serum Phục hồi - Mini\",\"weight\":50,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":\"/uploads/onete.nobi.pro/product/z4938250084478_8c980801b13b162ef0c5fc5cdac8db5e_2.jpg\",\"sku\":\"DEMO - SRPH02\",\"code\":\"DEMO - SRPH02\",\"price\":300000,\"unit\":\"hộp\",\"inventoryBefore\":0,\"inventory\":1379,\"productId\":34,\"priceAvg\":202039,\"ecommerceFloorVariationId\":null},\"quantity\":1,\"weight\":50,\"length\":1,\"width\":1,\"height\":1,\"price\":300000,\"discount\":0,\"isDiscountPrice\":true,\"totalAmount\":300000,\"quantityX\":1}],\"insuranceValue\":\"600000.000\"},\"customer\":null,\"transporter\":\"GiaoHangTietKiem\",\"transporterId\":8,\"trackingCode\":null,\"weight\":100,\"salerId\":55,\"status\":1,\"checkingPolicy\":1,\"customerName\":\"Nguyễn Duy\",\"customerNotes\":\"Khách không nhận hàng thu 70k. Cho xem hàng bên ngoài, không mở hư hàng. Shipper không giao được, có vấn đề gọi cho shop.\",\"customerPhoneNumber\":\"0918073304\",\"orderAddress\":{\"provinceId\":\"82\",\"districtId\":\"82824\",\"wardId\":\"8282428711\",\"addressLevel4\":\"Ấp 2\",\"shippingAddress\":\"ấp 2\",\"provinceName\":\"Tiền Giang\",\"districtName\":\"Huyện Gò Công Đông\",\"wardName\":\"Xã Tân Phước\"},\"orderExtra\":{\"weight\":100,\"flagsStr\":\"{}\",\"flags\":{}},\"orderFee\":{},\"transporterServiceId\":\"6701\",\"transportType\":0,\"sendToTransporterAfterSave\":false,\"isFreeShipping\":false,\"isCustomFee\":true,\"couponIds\":[],\"totalAmount\":592000}"},"request":{}}
"{\"invoice\":{\"type\":1,\"customerId\":null,\"isDiscountPrice\":true,\"discount\":0,\"relatedCustomerId\":null,\"details\":null,\"warehouseId\":3,\"notes\":null,\"vat\":0,\"total\":592000,\"shippingFee\":15000,\"shippingFeeX\":23000,\"ecommerceDetails\":[{\"productId\":166,\"key\":166,\"isCombo\":false,\"product\":{\"id\":166,\"name\":\"Serum thanh Lọc PRE AMI - Mini\",\"weight\":50,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":\"/uploads/onete.nobi.pro/product/z5969295099682_676cb6b24c95f531c327583bbae2135d.jpg\",\"sku\":\"DEMO - SRTL03\",\"code\":\"DEMO - SRTL03\",\"price\":300000,\"unit\":\"hộp\",\"inventoryBefore\":0,\"inventory\":661,\"productId\":59,\"priceAvg\":300000,\"ecommerceFloorVariationId\":null},\"quantity\":1,\"weight\":50,\"length\":1,\"width\":1,\"height\":1,\"price\":300000,\"discount\":0,\"isDiscountPrice\":true,\"totalAmount\":300000,\"quantityX\":1},{\"productId\":141,\"key\":141,\"isCombo\":false,\"product\":{\"id\":141,\"name\":\"Serum Phục hồi - Mini\",\"weight\":50,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":\"/uploads/onete.nobi.pro/product/z4938250084478_8c980801b13b162ef0c5fc5cdac8db5e_2.jpg\",\"sku\":\"DEMO - SRPH02\",\"code\":\"DEMO - SRPH02\",\"price\":300000,\"unit\":\"hộp\",\"inventoryBefore\":0,\"inventory\":1379,\"productId\":34,\"priceAvg\":202039,\"ecommerceFloorVariationId\":null},\"quantity\":1,\"weight\":50,\"length\":1,\"width\":1,\"height\":1,\"price\":300000,\"discount\":0,\"isDiscountPrice\":true,\"totalAmount\":300000,\"quantityX\":1}],\"insuranceValue\":\"600000.000\"},\"customer\":null,\"transporter\":\"GiaoHangTietKiem\",\"transporterId\":8,\"trackingCode\":null,\"weight\":100,\"salerId\":55,\"status\":1,\"checkingPolicy\":1,\"customerName\":\"Nguyễn Duy\",\"customerNotes\":\"Khách không nhận hàng thu 70k. Cho xem hàng bên ngoài, không mở hư hàng. Shipper không giao được, có vấn đề gọi cho shop.\",\"customerPhoneNumber\":\"0918073304\",\"orderAddress\":{\"provinceId\":\"82\",\"districtId\":\"82824\",\"wardId\":\"8282428711\",\"addressLevel4\":\"Ấp 2\",\"shippingAddress\":\"ấp 2\",\"provinceName\":\"Tiền Giang\",\"districtName\":\"Huyện Gò Công Đông\",\"wardName\":\"Xã Tân Phước\"},\"orderExtra\":{\"weight\":100,\"flagsStr\":\"{}\",\"flags\":{}},\"orderFee\":{},\"transporterServiceId\":\"6701\",\"transportType\":0,\"sendToTransporterAfterSave\":false,\"isFreeShipping\":false,\"isCustomFee\":true,\"couponIds\":[],\"totalAmount\":592000}"