# Premature Close

**URL:** https://community.gatling.io/t/premature-close/7614
**Category:** Gatling (Open-Source)
**Created:** [February 6, 2023, 8:45pm UTC](https://community.gatling.io/t/premature-close/7614 "2023-02-06T20:45:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ppawar097](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@ppawar097](https://community.gatling.io/u/ppawar097)
#### Post date: [February 6, 2023, 8:45pm UTC](https://community.gatling.io/t/premature-close/7614/1 "2023-02-06T20:45:29Z")

</div>

I am getting IO.Exception: Premature Close with my Gatling script

Current version is 3.4

---

<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 6, 2023, 10:58pm UTC](https://community.gatling.io/t/premature-close/7614/2 "2023-02-06T22:58:41Z")

</div>

Premature close happens when the server closed the socket before streaming the response.

> Current version is 3.4

So very old. The first thing you should be doing is to upgrade to 3.9.0 and check if you’re not facing a bug that’s been fixed for ages.

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/b148e0742de35c6280726cabf3ecd3de2d320f63.png) [@system](https://community.gatling.io/u/system)
#### Post date: [April 28, 2023, 9:33am UTC](https://community.gatling.io/t/premature-close/7614/3 "2023-04-28T09:33:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
