# bug?

**URL:** https://discuss.hangfire.io/c/bug/15.md

[Latest](https://discuss.hangfire.io/latest.md) · [Categories](https://discuss.hangfire.io/categories.md) · [Tags](https://discuss.hangfire.io/tags.md)

---

## [About the bug? category](https://discuss.hangfire.io/t/about-the-bug-category/249)

<div class="topic-metadata">

**Author:** [@odinserj](https://discuss.hangfire.io/u/odinserj)\
**Replies:** 0\
**Last updated:** [September 27, 2014, 12:28pm UTC](https://discuss.hangfire.io/t/about-the-bug-category/249 "2014-09-27T12:28:20Z")

</div>

A bug report means something is broken, preventing normal/typical use of Discourse. Do be sure to search prior to submitting bugs. Include repro steps, and only describe one bug per topic please.

---

## [Hangfire.Common.JobLoadException: Could not load the job](https://discuss.hangfire.io/t/hangfire-common-jobloadexception-could-not-load-the-job/11453)

<div class="topic-metadata">

**Author:** [@lloydk](https://discuss.hangfire.io/u/lloydk)\
**Replies:** 1\
**Last updated:** [August 11, 2026, 9:06am UTC](https://discuss.hangfire.io/t/hangfire-common-jobloadexception-could-not-load-the-job/11453 "2026-08-11T09:06:36Z")

</div>

I am getting an intermittent error in Hangfire around a recurring job: Hangfire.Common.JobLoadException: Could not load the job. See inner exception for the details. ---\> System.TypeLoadException: Could not resolve type…

---

## [Dashboard History Week Graph shows one-day offset in Central Time (UTC midnight bucket issue?)](https://discuss.hangfire.io/t/dashboard-history-week-graph-shows-one-day-offset-in-central-time-utc-midnight-bucket-issue/11441)

<div class="topic-metadata">

**Author:** [@katiew](https://discuss.hangfire.io/u/katiew)\
**Replies:** 0\
**Last updated:** [June 10, 2026, 1:53pm UTC](https://discuss.hangfire.io/t/dashboard-history-week-graph-shows-one-day-offset-in-central-time-utc-midnight-bucket-issue/11441 "2026-06-10T13:53:45Z")

</div>

I am having using the latest version of Hangfire (1.8.23) with SQL Server in Central Time (America/Chicago). The Hangfire Dashboard History Week Graph appears to shift daily job counts back by one day when viewed in Cent…

---

## [Possible problem with Queues an Batches](https://discuss.hangfire.io/t/possible-problem-with-queues-an-batches/11428)

<div class="topic-metadata">

**Author:** [@MauSamba](https://discuss.hangfire.io/u/MauSamba)\
**Replies:** 4\
**Last updated:** [May 29, 2026, 5:24pm UTC](https://discuss.hangfire.io/t/possible-problem-with-queues-an-batches/11428 "2026-05-29T17:24:31Z")

</div>

Hi, we use hangfire with batches and Queues and we faced an “issue”. We have jobs like this \[Hangfire.Queue(“a-altapriorita”)\] public async Task TestJob(string method) { \[…\] return; } differents enqueing method …

---

## [Type Analysis Conflict: "dynamic" type becomes unusable in Dapper/EF after installing v1.21.1 on .NET 8](https://discuss.hangfire.io/t/type-analysis-conflict-dynamic-type-becomes-unusable-in-dapper-ef-after-installing-v1-21-1-on-net-8/11426)

<div class="topic-metadata">

**Author:** [@Hossam.DevOps](https://discuss.hangfire.io/u/Hossam.DevOps)\
**Replies:** 0\
**Last updated:** [May 8, 2026, 8:57am UTC](https://discuss.hangfire.io/t/type-analysis-conflict-dynamic-type-becomes-unusable-in-dapper-ef-after-installing-v1-21-1-on-net-8/11426 "2026-05-08T08:57:37Z")

</div>

Hello, I am the Lead Backend Engineer for a fintech/multi-vendor platform (Maqadhi). We recently encountered a strange behavior when upgrading Hangfire.PostgreSql to version 1.21.1 in a .NET 8.0 environment. The Issue…

---

## [Column "updatecount" of relation "lock" already exists at Npgsql.Internal.NpgsqlConnector in postgres when use IIS server](https://discuss.hangfire.io/t/column-updatecount-of-relation-lock-already-exists-at-npgsql-internal-npgsqlconnector-in-postgres-when-use-iis-server/11420)

<div class="topic-metadata">

**Author:** [@muoidv](https://discuss.hangfire.io/u/muoidv)\
**Replies:** 1\
**Last updated:** [April 7, 2026, 4:23am UTC](https://discuss.hangfire.io/t/column-updatecount-of-relation-lock-already-exists-at-npgsql-internal-npgsqlconnector-in-postgres-when-use-iis-server/11420 "2026-04-07T04:23:50Z")

</div>

Hi all, I’m encountering an issue when using the .NET Framework with IIS Server. Could everyone please help me? Thanks! package i use. package id=“Hangfire.Core” version=“1.8.0” package id=“Hangfire.PostgreSql” versi…

---

## [Any issue with nuget.hangfire.io?](https://discuss.hangfire.io/t/any-issue-with-nuget-hangfire-io/11405)

<div class="topic-metadata">

**Author:** [@sncf-pedro-de-rycker](https://discuss.hangfire.io/u/sncf-pedro-de-rycker)\
**Replies:** 1\
**Last updated:** [January 15, 2026, 2:14pm UTC](https://discuss.hangfire.io/t/any-issue-with-nuget-hangfire-io/11405 "2026-01-15T14:14:31Z")

</div>

Is there any issue with the payed Hangfire nuget repository ? We seem to have an issue when restoring packages from the endpoint. I can see private versions in the IDE when querying the nuget feed, but impossible to ins…

---

## [Error when throttling on dynamic windows](https://discuss.hangfire.io/t/error-when-throttling-on-dynamic-windows/11402)

<div class="topic-metadata">

**Author:** [@sncf-pedro-de-rycker](https://discuss.hangfire.io/u/sncf-pedro-de-rycker)\
**Replies:** 4\
**Last updated:** [December 29, 2025, 7:43am UTC](https://discuss.hangfire.io/t/error-when-throttling-on-dynamic-windows/11402 "2025-12-29T07:43:56Z")

</div>

Hello, I get this error when using throttling (Hangfire.Throttling 1.4.2 on dotnet 10) on a Redis database. System.InvalidOperationException: Dynamic Window 'mobileiron:application' doesn't exist. Use ThrottlingManager…

---

## [Hangfire Crashing IIS](https://discuss.hangfire.io/t/hangfire-crashing-iis/11401)

<div class="topic-metadata">

**Author:** [@mcarlebach](https://discuss.hangfire.io/u/mcarlebach)\
**Replies:** 1\
**Last updated:** [December 13, 2025, 3:55am UTC](https://discuss.hangfire.io/t/hangfire-crashing-iis/11401 "2025-12-13T03:55:43Z")

</div>

Hi, Any ideas why Hangfire is using up a lot of IIS memory and crashing IIS? Can Hangfire not handle bigger jobs? Sometimes the bigger jobs run and sometimes they crash IIS. There are no jobs running at the same time.…

---

## [Hangfire keeps stopping randomly](https://discuss.hangfire.io/t/hangfire-keeps-stopping-randomly/11397)

<div class="topic-metadata">

**Author:** [@Ajisha](https://discuss.hangfire.io/u/Ajisha)\
**Replies:** 4\
**Last updated:** [November 18, 2025, 7:36pm UTC](https://discuss.hangfire.io/t/hangfire-keeps-stopping-randomly/11397 "2025-11-18T19:36:48Z")

</div>

Hangfire api keeps stopping randomly how do I prevent this. I have provided all the app settings with no idle timeout and startmode. Is there a way to resolve this ?

---

## [App Hard Crash (Owin stack overflow) when visiting Dashboard in Production, but not Dev](https://discuss.hangfire.io/t/app-hard-crash-owin-stack-overflow-when-visiting-dashboard-in-production-but-not-dev/11387)

<div class="topic-metadata">

**Author:** [@mpgrady82](https://discuss.hangfire.io/u/mpgrady82)\
**Replies:** 2\
**Last updated:** [October 17, 2025, 1:51pm UTC](https://discuss.hangfire.io/t/app-hard-crash-owin-stack-overflow-when-visiting-dashboard-in-production-but-not-dev/11387 "2025-10-17T13:51:08Z")

</div>

In my two release builds (Stage & Production), the app will hard crash to an azure 502 error whenever I try and hit the hangfire dashbaord. The same code built in debug works (dev) has no issue hitting the dashboard. Loc…

---

## [Ticket: Hangfire recurring jobs not fully registered on Linux server v1.8.12](https://discuss.hangfire.io/t/ticket-hangfire-recurring-jobs-not-fully-registered-on-linux-server-v1-8-12/11378)

<div class="topic-metadata">

**Author:** [@Ammar\_Shata](https://discuss.hangfire.io/u/Ammar_Shata)\
**Replies:** 0\
**Last updated:** [September 14, 2025, 9:02am UTC](https://discuss.hangfire.io/t/ticket-hangfire-recurring-jobs-not-fully-registered-on-linux-server-v1-8-12/11378 "2025-09-14T09:02:36Z")

</div>

On Linux servers, only one recurring job out of fifteen is showing and executing in Hangfire dashboard. Issue is resolved temporarily by restarting the application. We observed that recurring jobs registered in code dur…

---

## [Hangfire.Pro.Redis 3.2.0 Performance Issues](https://discuss.hangfire.io/t/hangfire-pro-redis-3-2-0-performance-issues/11283)

<div class="topic-metadata">

**Author:** [@Andrew\_Borland](https://discuss.hangfire.io/u/Andrew_Borland)\
**Replies:** 9\
**Last updated:** [May 22, 2025, 12:58pm UTC](https://discuss.hangfire.io/t/hangfire-pro-redis-3-2-0-performance-issues/11283 "2025-05-22T12:58:32Z")

</div>

We have been updating our redis connections to support sentinel and recently upgraded Hangfire.Pro.Redis from 3.0.0 to 3.2.0, and since doing so have been running into performance issues on our performance testing enviro…

---

## [Possible memory leak when running hangfire in linux container](https://discuss.hangfire.io/t/possible-memory-leak-when-running-hangfire-in-linux-container/10923)

<div class="topic-metadata">

**Author:** [@asindici](https://discuss.hangfire.io/u/asindici)\
**Replies:** 15\
**Last updated:** [April 23, 2025, 10:12pm UTC](https://discuss.hangfire.io/t/possible-memory-leak-when-running-hangfire-in-linux-container/10923 "2025-04-23T22:12:30Z")

</div>

Hi everyone! We are running Hangfire 1.8.14 with Hangfire.PostgreSql 1.20.9 on .NET Core 8. It seems that there is a memory leak that only occurs when running it in a linux container deployed to Azure container apps. W…

---

## [Issue with Hangfire and redis storage when bumping package to Microsoft.Extensions.Caching.StackExchangeRedis 9.0.4](https://discuss.hangfire.io/t/issue-with-hangfire-and-redis-storage-when-bumping-package-to-microsoft-extensions-caching-stackexchangeredis-9-0-4/11253)

<div class="topic-metadata">

**Author:** [@sncf-pedro-de-rycker](https://discuss.hangfire.io/u/sncf-pedro-de-rycker)\
**Replies:** 5\
**Last updated:** [April 10, 2025, 2:12pm UTC](https://discuss.hangfire.io/t/issue-with-hangfire-and-redis-storage-when-bumping-package-to-microsoft-extensions-caching-stackexchangeredis-9-0-4/11253 "2025-04-10T14:12:04Z")

</div>

Hello, It appears when upgrading my package Microsoft.Extensions.Caching.StackExchangeRedis from 9.0.2 to 9.0.4, it breaks the run of jobs for Hangfire : I see them as processing but the code is actually never executed …

---

## [RemoveIfExists does not remove jobs in Scheduled state](https://discuss.hangfire.io/t/removeifexists-does-not-remove-jobs-in-scheduled-state/7876)

<div class="topic-metadata">

**Author:** [@flipdoubt](https://discuss.hangfire.io/u/flipdoubt)\
**Replies:** 2\
**Last updated:** [April 10, 2025, 10:04am UTC](https://discuss.hangfire.io/t/removeifexists-does-not-remove-jobs-in-scheduled-state/7876 "2025-04-10T10:04:36Z")

</div>

We use IRecurringJobManager.AddOrUpdate to successfully schedule a job. In our test scenario, running the job throws NotImplementedException and keeps the job in Scheduled state, as seen in the hangfire.job table (using …

---

## [Hangfire service is consuming excessive CPU and becomes unresponsive over time](https://discuss.hangfire.io/t/hangfire-service-is-consuming-excessive-cpu-and-becomes-unresponsive-over-time/11149)

<div class="topic-metadata">

**Author:** [@hamxanadem](https://discuss.hangfire.io/u/hamxanadem)\
**Replies:** 0\
**Last updated:** [January 29, 2025, 3:02pm UTC](https://discuss.hangfire.io/t/hangfire-service-is-consuming-excessive-cpu-and-becomes-unresponsive-over-time/11149 "2025-01-29T15:02:03Z")

</div>

High CPU Usage: Hangfire is consuming 50% CPU immediately upon startup. Worker Configuration: The worker count is set to 4. Job Backlog: There are 1.4 million pending jobs in the database. Storage Options: var options …

---

## [Setting job expiration for Redis job storage doesn't work properly](https://discuss.hangfire.io/t/setting-job-expiration-for-redis-job-storage-doesnt-work-properly/11110)

<div class="topic-metadata">

**Author:** [@sncf-pedro-de-rycker](https://discuss.hangfire.io/u/sncf-pedro-de-rycker)\
**Replies:** 2\
**Last updated:** [January 10, 2025, 9:43am UTC](https://discuss.hangfire.io/t/setting-job-expiration-for-redis-job-storage-doesnt-work-properly/11110 "2025-01-10T09:43:35Z")

</div>

It looks like when I set the job expiration through filters or with “WithJobExpirationTimeout”, it only works on the default queue, not on the other ones who are setted to the default 7 days.

---

## [Batch not changing to finished even when all the jobs are succeeded](https://discuss.hangfire.io/t/batch-not-changing-to-finished-even-when-all-the-jobs-are-succeeded/11096)

<div class="topic-metadata">

**Author:** [@Leonel\_Norat](https://discuss.hangfire.io/u/Leonel_Norat)\
**Replies:** 4\
**Last updated:** [December 30, 2024, 4:34pm UTC](https://discuss.hangfire.io/t/batch-not-changing-to-finished-even-when-all-the-jobs-are-succeeded/11096 "2024-12-30T16:34:15Z")

</div>

I have some issues with the batch function. The batch stays unfinished because the last job remains pending even when the job status is succeeded. Anyway to fix this or “force” the batch refreshing of status? Screensho…

---

## [Issue with Hangfire lock timeout](https://discuss.hangfire.io/t/issue-with-hangfire-lock-timeout/11048)

<div class="topic-metadata">

**Author:** [@Tango](https://discuss.hangfire.io/u/Tango)\
**Replies:** 0\
**Last updated:** [December 6, 2024, 1:18pm UTC](https://discuss.hangfire.io/t/issue-with-hangfire-lock-timeout/11048 "2024-12-06T13:18:07Z")

</div>

Good afternoon, I have this error when I run a BackgroundJob (not recursive, it’s a one-shot job): Hangfire.Storage.DistributedLockTimeoutException: Hangfire.Storage.DistributedLockTimeoutException: Timeout expired. Th…

---

## [Hangfire 1.8.16 + SQL Server is not processing jobs, downgrading to 1.8.15 fixes issue](https://discuss.hangfire.io/t/hangfire-1-8-16-sql-server-is-not-processing-jobs-downgrading-to-1-8-15-fixes-issue/11041)

<div class="topic-metadata">

**Author:** [@Andrew\_Borland](https://discuss.hangfire.io/u/Andrew_Borland)\
**Replies:** 2\
**Last updated:** [December 6, 2024, 9:24am UTC](https://discuss.hangfire.io/t/hangfire-1-8-16-sql-server-is-not-processing-jobs-downgrading-to-1-8-15-fixes-issue/11041 "2024-12-06T09:24:23Z")

</div>

We use renovate to automatically update minor/patch library versions across our microservices. We have noticed since renovate has upgraded hangfire and the sql server package from 1.8.15 to 1.8.16, jobs sit in the enqueu…

---

## [Unhandled Exception in Hangfire Job Terminates the Service Instead of Marking the Job as Failed](https://discuss.hangfire.io/t/unhandled-exception-in-hangfire-job-terminates-the-service-instead-of-marking-the-job-as-failed/11045)

<div class="topic-metadata">

**Author:** [@Christian\_Di\_Guardia](https://discuss.hangfire.io/u/Christian_Di_Guardia)\
**Replies:** 1\
**Last updated:** [December 6, 2024, 12:29am UTC](https://discuss.hangfire.io/t/unhandled-exception-in-hangfire-job-terminates-the-service-instead-of-marking-the-job-as-failed/11045 "2024-12-06T00:29:17Z")

</div>

Hi everyone, I’m encountering an issue where a job executed via Hangfire throws an unhandled exception, and instead of marking the job as failed, the entire Hangfire service crashes. Below are the details: Context: En…

---

## [NextExecution set to midnight though job is scheduled for 8](https://discuss.hangfire.io/t/nextexecution-set-to-midnight-though-job-is-scheduled-for-8/11042)

<div class="topic-metadata">

**Author:** [@James\_Hudson](https://discuss.hangfire.io/u/James_Hudson)\
**Replies:** 0\
**Last updated:** [December 5, 2024, 12:17pm UTC](https://discuss.hangfire.io/t/nextexecution-set-to-midnight-though-job-is-scheduled-for-8/11042 "2024-12-05T12:17:48Z")

</div>

Setup is 3 server only 2 of which service the default queue, the other is for more intensive jobs. We have about 1500 recurring jobs for a subset of these jobs (around 190) the NextExecution time is always for the corre…

---

## [Hangfire.Pro.Redis connection leak when credentials not valid](https://discuss.hangfire.io/t/hangfire-pro-redis-connection-leak-when-credentials-not-valid/11036)

<div class="topic-metadata">

**Author:** [@Andrew\_Borland](https://discuss.hangfire.io/u/Andrew_Borland)\
**Replies:** 1\
**Last updated:** [December 2, 2024, 4:10am UTC](https://discuss.hangfire.io/t/hangfire-pro-redis-connection-leak-when-credentials-not-valid/11036 "2024-12-02T04:10:44Z")

</div>

We’ve been investigating an issue recently across our redis instances where they hit the max configured connections. Upon investigation we have found this is related to Hangfire.Pro.Redis, on environments on specific mic…

---

## [Problem with jobs that are remain in queue from past executions](https://discuss.hangfire.io/t/problem-with-jobs-that-are-remain-in-queue-from-past-executions/2344)

<div class="topic-metadata">

**Author:** [@samirasamani](https://discuss.hangfire.io/u/samirasamani)\
**Replies:** 1\
**Last updated:** [November 28, 2024, 5:43am UTC](https://discuss.hangfire.io/t/problem-with-jobs-that-are-remain-in-queue-from-past-executions/2344 "2024-11-28T05:43:27Z")

</div>

I'm using Hangfire for job scheduling in console application ,but after multiple execution of my project, jobs that is created in past executions still remain in queue and periodically execute the code. How clear all job…

---

## [Index fragmentation for SQL Server implementations](https://discuss.hangfire.io/t/index-fragmentation-for-sql-server-implementations/11027)

<div class="topic-metadata">

**Author:** [@seninoniwashi](https://discuss.hangfire.io/u/seninoniwashi)\
**Replies:** 0\
**Last updated:** [November 26, 2024, 5:32pm UTC](https://discuss.hangfire.io/t/index-fragmentation-for-sql-server-implementations/11027 "2024-11-26T17:32:52Z")

</div>

Not sure if this is a bug or a configuration issue, but we’re getting quite a few Hangfire.Storage.DistributedLockTimeoutException errors. I am in the process of working on some different configurations to see if it will…

---

## [Hangfire Job Load Exception in Microservices Architecture](https://discuss.hangfire.io/t/hangfire-job-load-exception-in-microservices-architecture/11009)

<div class="topic-metadata">

**Author:** [@elango-sengottaiyan](https://discuss.hangfire.io/u/elango-sengottaiyan)\
**Replies:** 0\
**Last updated:** [November 17, 2024, 6:23pm UTC](https://discuss.hangfire.io/t/hangfire-job-load-exception-in-microservices-architecture/11009 "2024-11-17T18:23:25Z")

</div>

I’m facing a Hangfire.Common.JobLoadException while working with a Hangfire job in a microservices architecture that utilizes the StackExchange.Redis package and single AWS ElastiCache. The job is associated with three s…

---

## [Could not resolve assembly ‘Name’](https://discuss.hangfire.io/t/could-not-resolve-assembly-name/10939)

<div class="topic-metadata">

**Author:** [@hhadra](https://discuss.hangfire.io/u/hhadra)\
**Replies:** 6\
**Last updated:** [November 13, 2024, 1:50pm UTC](https://discuss.hangfire.io/t/could-not-resolve-assembly-name/10939 "2024-11-13T13:50:31Z")

</div>

I configured a windows service using .net 6.0 to run hangfire. But when running the service the dashboards in the recurring jobs display “Could not resolve assembly ‘Name’” and in the succeeded Jobs once the job complete…

---

## [Unhandled exceptions in a job + Redis as backplane](https://discuss.hangfire.io/t/unhandled-exceptions-in-a-job-redis-as-backplane/10950)

<div class="topic-metadata">

**Author:** [@skitsur](https://discuss.hangfire.io/u/skitsur)\
**Replies:** 4\
**Last updated:** [October 4, 2024, 5:39am UTC](https://discuss.hangfire.io/t/unhandled-exceptions-in-a-job-redis-as-backplane/10950 "2024-10-04T05:39:44Z")

</div>

Hello! Im trying out Redis as backplane for our application (.net8) but im having some issues. Everytime an unhandled exception is thrown from a job it will give me "System.InvalidOperationException Transaction was di…

---

## [Could not load the job Could not load type from assembly](https://discuss.hangfire.io/t/could-not-load-the-job-could-not-load-type-from-assembly/8953)

<div class="topic-metadata">

**Author:** [@kalapakim](https://discuss.hangfire.io/u/kalapakim)\
**Replies:** 2\
**Last updated:** [September 27, 2024, 9:13am UTC](https://discuss.hangfire.io/t/could-not-load-the-job-could-not-load-type-from-assembly/8953 "2024-09-27T09:13:05Z")

</div>

Error System.InvalidOperationException: Recurring job can’t be scheduled, see inner exception for details. Hangfire.Common.JobLoadException: Could not load the job. See inner exception for the details. System.TypeLoad…

[Next page](https://discuss.hangfire.io/c/bug/15.md?page=1)
