# i.n.h.s.NotSslRecordException: not an SSL/TLS record:

**URL:** <https://community.gatling.io/t/i-n-h-s-notsslrecordexception-not-an-ssl-tls-record/6383>\
**Category:** Gatling (Open-Source)\
**Created:** [January 11, 2022, 7:56am UTC](https://community.gatling.io/t/i-n-h-s-notsslrecordexception-not-an-ssl-tls-record/6383 "2022-01-11T07:56:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toh\_Lay\_Mui](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@Toh\_Lay\_Mui](https://community.gatling.io/u/Toh_Lay_Mui)\
**Post date:** [January 11, 2022, 7:56am UTC](https://community.gatling.io/t/i-n-h-s-notsslrecordexception-not-an-ssl-tls-record/6383/1 "2022-01-11T07:56:28Z")

</div>

When I run the gatling tests  
— Errors --------------------------------------------------------------------

> i.n.h.s.NotSslRecordException: not an SSL/TLS record: 48545450 1 (100.0%)  
> 2f312e3120343030200d0a436f6e74656e742d547970653a20746578742f68…

---

<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:** [January 11, 2022, 9:09am UTC](https://community.gatling.io/t/i-n-h-s-notsslrecordexception-not-an-ssl-tls-record/6383/2 "2022-01-11T09:09:01Z")

</div>

You’re hitting an url with an https scheme but your server doesn’t do https but only clear http on this port.

Indeed, you’re hitting [https://localhost:8080](https://localhost:8080) on your tomcat, but:

- tomcat only does clear http on this port =\> hence your error
- you’ve merely configured a redirect to port 8443 without listening nor enabling https on this port  
You should read Tomcat’s documentation: [https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html](https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html)
