# Gatlinng 3.7.4 j.n.c.ClosedChannelException

**URL:** <https://community.gatling.io/t/gatlinng-3-7-4-j-n-c-closedchannelexception/6457>\
**Category:** Gatling (Open-Source)\
**Created:** [February 17, 2022, 8:03am UTC](https://community.gatling.io/t/gatlinng-3-7-4-j-n-c-closedchannelexception/6457 "2022-02-17T08:03:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexM](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@alexM](https://community.gatling.io/u/alexM)\
**Post date:** [February 17, 2022, 8:03am UTC](https://community.gatling.io/t/gatlinng-3-7-4-j-n-c-closedchannelexception/6457/1 "2022-02-17T08:03:22Z")

</div>

Hi Stephane/ Team,  
I updated my gatling version from 3.0.0 to 3.7.4. When did a performance test with 3.7.4 we noticed 15% of failures with the below errors. We are not seeing the same with 3.0.0 version. Kindly help us understand.

j.n.c.ClosedChannelException  
j.i.IOException: Premature close

Attached copy of gatling.conf

–Alex Michael Raj J

[gatling.conf](https://community.gatling.io/uploads/short-url/4g3rXFxchI3ebBabVcLVdjPWZxG.conf) (8.17 KB)

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [February 17, 2022, 8:06am UTC](https://community.gatling.io/t/gatlinng-3-7-4-j-n-c-closedchannelexception/6457/2 "2022-02-17T08:06:11Z")

</div>

As requested [in this group’s terms](https://groups.google.com/g/gatling):

- **Provide a** **Short, Self Contained, Correct (Compilable), Example (see** **[http://sscce.org/](http://sscce.org/))**

---

<div class="post-metadata">

**Author:** ![alexM](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@alexM](https://community.gatling.io/u/alexM)\
**Post date:** [February 17, 2022, 8:11am UTC](https://community.gatling.io/t/gatlinng-3-7-4-j-n-c-closedchannelexception/6457/3 "2022-02-17T08:11:46Z")

</div>

This time I wont be able to share the project/code. but the same code works fine with gatling 3.0.0 and only with Gatling 3.7.4 the test fails with the below error.  
j.n.c.ClosedChannelException  
j.i.IOException: Premature close

–Alex

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [February 17, 2022, 8:18am UTC](https://community.gatling.io/t/gatlinng-3-7-4-j-n-c-closedchannelexception/6457/4 "2022-02-17T08:18:32Z")

</div>

If you can’t share remote access to your application, either publicly or privately (through a consulting contract under NDA), nor build a sample app that exhibits the same issue, I’m afraid there’s nothing we can do.
