# IOError(EOFError() during request with HTTP.jl

**URL:** <https://discourse.julialang.org/t/ioerror-eoferror-during-request-with-http-jl/107184>\
**Category:** General Usage\
**Tags:** http, httpjl\
**Created:** [December 5, 2023, 8:03pm UTC](https://discourse.julialang.org/t/ioerror-eoferror-during-request-with-http-jl/107184 "2023-12-05T20:03:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simone\_Gabbriellini](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simone_gabbriellini/32/202218_2.png) [@Simone\_Gabbriellini](https://discourse.julialang.org/u/Simone_Gabbriellini)\
**Post date:** [December 5, 2023, 8:03pm UTC](https://discourse.julialang.org/t/ioerror-eoferror-during-request-with-http-jl/107184/1 "2023-12-05T20:03:09Z")

</div>

I am experiencing a weird behaviour with HTTP.jl, I have a pipeline where I can load a file, it reads data from the file and then calls three times an AWS endpoint using this code:

```julia
resp = HTTP.request(
        "POST",
        myURL,
        headers,
        body = JSON.json(Dict("inputs" => message))
    )

```

all goes according to plan except when I load a second file, then I get this error:

```julia
IOError(EOFError() during request(https://someurl.in.the.cloud))

```

but then for the third file, it works again… and so on and so forth…

So I am now wondering if there is something I need to do in order to properly clean after myself…

any advice more than welcome

---

<div class="post-metadata">

**Author:** ![Simone\_Gabbriellini](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simone_gabbriellini/32/202218_2.png) [@Simone\_Gabbriellini](https://discourse.julialang.org/u/Simone_Gabbriellini)\
**Post date:** [December 6, 2023, 8:46am UTC](https://discourse.julialang.org/t/ioerror-eoferror-during-request-with-http-jl/107184/2 "2023-12-06T08:46:03Z")

</div>

the error disappeared as soon as I updated to the latest stable version, 1.10.1

solved!
