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

Hi,

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?

Thanks!

Update:

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
  .baseURL(baseUrlString)
  .inferHtmlResources(BlackList(""".*\.js""", """.*\.css""", """.*\.gif""", """.*\.jpeg""", """.*\.jpg""", """.*\.ico""", """.*\.woff""", """.*\.(t|o)tf""", """.*\.png""", """.*\.eot\?""", """.*\.png\?context\=bWF.*""",""".*\?context\=bWFzd.*""", """.*Default\-Thumbnail\?context\=bWF.*"""), WhiteList())
  .acceptHeader("*/*")
  .acceptEncodingHeader("gzip, deflate")
  .acceptLanguageHeader("en-US,en;q=0.5")
  .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
  .get("/hu/")
  .headers(Headers.headers_0)

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

setUp(
  AccessSiteSearch.inject(atOnceUsers(1))
).protocols(httpProtocol)

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

 .inferHtmlResources 

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 !