# API connecting CONNECT\_CR\_SRVR\_HELLO:wrong version number

**URL:** https://community.influxdata.com/t/api-connecting-connect-cr-srvr-hello-wrong-version-number/24334
**Category:** InfluxDB 2
**Created:** [March 21, 2022, 11:37pm UTC](https://community.influxdata.com/t/api-connecting-connect-cr-srvr-hello-wrong-version-number/24334 "2022-03-21T23:37:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Mario\_Brenes](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/mario_brenes/32/9422_2.png) [@Mario\_Brenes](https://community.influxdata.com/u/Mario_Brenes)
#### Post date: [March 21, 2022, 11:37pm UTC](https://community.influxdata.com/t/api-connecting-connect-cr-srvr-hello-wrong-version-number/24334/1 "2022-03-21T23:37:23Z")

</div>

Trying to write to influxdb running on docker container. Getting SSL error about wrong version when I try  
curl, python request or even openssl s\_client from the docker host or the in the container shell itself.

curl -vk [https://localhost:8086/api/v2/ping](https://localhost:8086/api/v2/ping)

openssl s\_client -connect localhost:8086

Is SSL not enabled for the API?
