Gatling problem "java.nio.charset.MalformedInputException: Input length = 1 "

hello I have a problem with the Gantling, I’m trying a service that is SSE , and I get this error when I get the Json … (java.nio.charset.MalformedInputException: Input length = 1 )

My code is:

import scala.concurrent.duration._

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._

class Java extends Simulation {

val sentHeaders = Map(“Content-Type” → “text/event-stream”)

val httpConf = http
.baseURL(“URL”)
.headers(sentHeaders)

val scn = scenario(“Server Sent Event”)
.exec(
sse(“Date”).open(resources)
.check(wsAwait.within(600000).until(1).regex("(.*)")))
.pause(15)

setUp(scn.inject(atOnceUsers(50))).protocols(httpConf)
}

if you could help me, thanks

Which version of Gatling do you use? Did you try latest 2.3.1?
Can you provide a way to reproduce your problem?