Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

InfluxDbReporter: Unable to report to InfluxDB with error 'Unrecognized SSL message, plaintext connection?'. Discarding data #3

Open
jcdauchy opened this issue Jan 8, 2018 · 0 comments

Comments

@jcdauchy
Copy link

jcdauchy commented Jan 8, 2018

I am trying to use your implementation with Influxdb and spark-shell for testing.

I have rebuild your code in maven but we launching the spark-shell, I can't get it to write to Influx with this error message :
'Unrecognized SSL message, plaintext connection?'

I have tried many combination of settings but none works, any idea what's wrong ?

Thanks

-- Here is my metrics.properties

For INFLUXDB

*.sink.influx.class=org.apache.spark.metrics.sink.InfluxDbSink
*.sink.influx.protocol=http
*.sink.influx.host=ip-xxx-xxx-xx-xx
*.sink.influx.port=8086
*.sink.influx.database=mydb
*.sink.influx.auth=user:pass
*.sink.influx.tags=

-- Here is my influxdb.conf

[http]

Determines whether HTTP endpoint is enabled.

enabled = true

The bind address used by the HTTP service.

bind-address = ":8086"

Determines whether user authentication is enabled over HTTP/HTTPS.

auth-enabled = false

The default realm sent back when issuing a basic auth challenge.

#realm = "InfluxDB"

Determines whether HTTP request logging is enabled.

#log-enabled = true

Determines whether detailed write logging is enabled.

write-tracing = false

Determines whether the pprof endpoint is enabled. This endpoint is used for

troubleshooting and monitoring.

pprof-enabled = true

Determines whether HTTPS is enabled.

https-enabled = false

The SSL certificate to use when HTTPS is enabled.

#https-certificate = "/etc/ssl/influxdb.pem"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant