Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported or unrecognized SSL message error #25269

Open
wise-coders opened this issue Aug 26, 2024 · 1 comment
Open

Unsupported or unrecognized SSL message error #25269

wise-coders opened this issue Aug 26, 2024 · 1 comment

Comments

@wise-coders
Copy link

I use com.influxdb:influxdb-client-java:7.2.0 and I want to list the buckets using:

influxConnection.client.getBucketsApi().findBuckets()

I receive the error:

com.influxdb.exceptions.InfluxException: Unsupported or unrecognized SSL message
  at com.influxdb.internal.AbstractRestClient.execute(AbstractRestClient.java:87)
  at com.influxdb.client.internal.BucketsApiImpl.findBuckets(BucketsApiImpl.java:491)
  at com.influxdb.client.internal.BucketsApiImpl.findBucketsByOrgName(BucketsApiImpl.java:123)
  at com.influxdb.client.internal.BucketsApiImpl.findBuckets(BucketsApiImpl.java:99)

Which could be the reason?

The server version:
curl -sL -I localhost:8086/ping
HTTP/1.1 204 No Content
Vary: Accept-Encoding
X-Influxdb-Build: OSS
X-Influxdb-Version: v2.7.10
Date: Mon, 26 Aug 2024 06:18:53 GMT

@wise-coders
Copy link
Author

I will wait for the next regular release. I am running InfluxDB in docker container:
docker run -d -p 8086:8086 --name influxdb -v /C/Temp:/var/lib/influxdb2 influxdb:latest
docker exec -it influxdb bash
influx setup --username dbschema --password dbschema --org dbschema --bucket sample
// THIS WILL LIST THE TOKEN REQUIRED TO LOGIN
influx auth list --user dbschema --hide-headers | cut -f 3

@github-staff github-staff deleted a comment Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant