# Issue with Hangfire and redis storage when bumping package to Microsoft.Extensions.Caching.StackExchangeRedis 9.0.4

**URL:** <https://discuss.hangfire.io/t/issue-with-hangfire-and-redis-storage-when-bumping-package-to-microsoft-extensions-caching-stackexchangeredis-9-0-4/11253>\
**Category:** bug?\
**Tags:** redis\
**Created:** [April 10, 2025, 7:47am 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-10T07:47:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sncf-pedro-de-rycker](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/sncf-pedro-de-rycker/32/3904_2.png) [@sncf-pedro-de-rycker](https://discuss.hangfire.io/u/sncf-pedro-de-rycker)\
**Post date:** [April 10, 2025, 7:47am UTC](https://discuss.hangfire.io/t/issue-with-hangfire-and-redis-storage-when-bumping-package-to-microsoft-extensions-caching-stackexchangeredis-9-0-4/11253/1 "2025-04-10T07:47:10Z")

</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 and stays stuck.

---

<div class="post-metadata">

**Author:** ![odinserj](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/odinserj/32/648_2.png) [@odinserj](https://discuss.hangfire.io/u/odinserj)\
**Post date:** [April 10, 2025, 8:40am UTC](https://discuss.hangfire.io/t/issue-with-hangfire-and-redis-storage-when-bumping-package-to-microsoft-extensions-caching-stackexchangeredis-9-0-4/11253/2 "2025-04-10T08:40:35Z")

</div>

Hello,

Can you tell me what package you are using for Redis storage support, Hangfire.Pro.Redis, Hangfire.Pro.Redis.SEv2 or Hangfire.StackExchange.Redis?

---

<div class="post-metadata">

**Author:** ![sncf-pedro-de-rycker](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/sncf-pedro-de-rycker/32/3904_2.png) [@sncf-pedro-de-rycker](https://discuss.hangfire.io/u/sncf-pedro-de-rycker)\
**Post date:** [April 10, 2025, 9:00am UTC](https://discuss.hangfire.io/t/issue-with-hangfire-and-redis-storage-when-bumping-package-to-microsoft-extensions-caching-stackexchangeredis-9-0-4/11253/4 "2025-04-10T09:00:33Z")

</div>

Hangfire 1.8.18  
Hangfire.Pro 3.0.4  
Hangfire.Pro.Redis 3.2.0  
Hangfire.Throttling 1.4.1

---

<div class="post-metadata">

**Author:** ![odinserj](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/odinserj/32/648_2.png) [@odinserj](https://discuss.hangfire.io/u/odinserj)\
**Post date:** [April 10, 2025, 9:16am UTC](https://discuss.hangfire.io/t/issue-with-hangfire-and-redis-storage-when-bumping-package-to-microsoft-extensions-caching-stackexchangeredis-9-0-4/11253/5 "2025-04-10T09:16:15Z")

</div>

Hangfire.Pro.Redis uses its own version StackExchange.Redis, and you can’t affect it by upgrading another package.

The best way is to diagnose what happens inside the .NET process itself. I’ve written the [STDUMP](https://github.com/odinserj/stdump) program that uses Microsoft’s ClrMD package to examine a running application or a minidump file. When you pass the PID of a running process, it attaches a debugger to it and queries stack traces of all the running managed threads and displays this information on the console output. Is it possible for you to run this program when you see any problems?

Also, logs emitted by Hangfire can also show potential issues, can you include them here or send to support [at] [hangfire.io](http://hangfire.io)?

---

<div class="post-metadata">

**Author:** ![sncf-pedro-de-rycker](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/sncf-pedro-de-rycker/32/3904_2.png) [@sncf-pedro-de-rycker](https://discuss.hangfire.io/u/sncf-pedro-de-rycker)\
**Post date:** [April 10, 2025, 1:55pm UTC](https://discuss.hangfire.io/t/issue-with-hangfire-and-redis-storage-when-bumping-package-to-microsoft-extensions-caching-stackexchangeredis-9-0-4/11253/6 "2025-04-10T13:55:48Z")

</div>

Will continue by email to the support so I can share more.

---

<div class="post-metadata">

**Author:** ![odinserj](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/odinserj/32/648_2.png) [@odinserj](https://discuss.hangfire.io/u/odinserj)\
**Post date:** [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/7 "2025-04-10T14:12:04Z")

</div>

Probably the recent 3.2.0 release can also help, as it fixes the issue with subscription-based fetch after a race condition during connection establishing logic, please see [https://www.hangfire.io/blog/2025/03/26/hangfire.pro.redis-3.2.0.html](https://www.hangfire.io/blog/2025/03/26/hangfire.pro.redis-3.2.0.html) for details.
