j.n.ConnectException: not an SSL/TLS record Error


I am keep getting this error when running a simple test to access a web site, my request is https://site.com/hu/

Request ‘/’ failed for user 1
io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 5e13496ab31fd95111673fa4e418a9e84e…

Can someone help me?



It seems like if I remove the .inferHtmlResources parameter I don’t get the empty request and all seems OK.

Please provide a reproducer.

Hi below is the used scenario,

baseURL is a local site https://localhost....

val httpProtocol = http
  .inferHtmlResources(BlackList(""".*\.js""", """.*\.css""", """.*\.gif""", """.*\.jpeg""", """.*\.jpg""", """.*\.ico""", """.*\.woff""", """.*\.(t|o)tf""", """.*\.png""", """.*\.eot\?""", """.*\.png\?context\=bWF.*""",""".*\?context\=bWFzd.*""", """.*Default\-Thumbnail\?context\=bWF.*"""), WhiteList())
  .acceptEncodingHeader("gzip, deflate")
  .userAgentHeader("Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko")

val scn = exec(http("Access web site") //this is the Access_web_site

val access: ChainBuilder = exec(Access_web_site.scn).exec(Click_on.scn)
val AccessSiteSerch: ScenarioBuilder = scenario ("blabla").exec(access)


if I comment out the parameter , the scenarios works OK and I don’t get an empty http request for /


hope this makes sens

Reproducing means being able to run it. Could you please at least provide the main page HTML?

Sorry …the page is deployed locally and you don’t have access to it from outside … I will try to replicate this scenario on a public page and share the results
Thanks for the involvement !