timeseriesadmin: unsafeSsl is not supported

My InfluxDB is configured with ssl enabled.

The configure of Time Series Admin is:

  • Database URL: https://10.x.x.x:8086
  • User: ********
  • Password:••••••••••
  • Database: telegraf

and Errors:

400:Network Error This might be a CORS error, network problem or invalid HTTPS redirect, invalid URL. Please check your connection configuration once more.
Error details
You should probably look at "response" key
t {	graphQLErrors: Array[0], networkError: Object, extraInfo: Error}
	graphQLErrors: Array[0]
	networkError: Object
	extraInfo: Error
		config: Object
			adapter: function ()
			transformRequest: Object
			0: function ()
			transformResponse: Object
			0: function ()
			timeout: 0
			xsrfCookieName: "XSRF-TOKEN"
			xsrfHeaderName: "X-XSRF-TOKEN"
			maxContentLength: -1
			validateStatus: function validateStatus()
			headers: Object
			method: "post"
			url: "https://10.x.x.x:8086/query"
			auth: Object
			data: "q=show%20databases"
			params: Object
		request: XMLHttpRequest
		response: Object
			status: 400
			statusText: "Network Error"
			data: "This might be a CORS error, network problem or invalid HTTPS redirect, invalid URL. Please check your connection configuration once more."
;

While,the influx command with parameters below is successful:

influx -host '10.x.x.x' -port '8086' -database telegraf -username **** -password **** -ssl -unsafeSsl -execute "show databases"

The [http] configuration in /etc/influxdb/influxdb.conf

[http]
  auth-enabled = true
  https-enabled = true
  https-certificate = "/etc/ssl/my-selfsigned.crt"
  https-private-key = "/etc/ssl/my-selfsigned.key"

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Thanks for the detailed description and reference links. I will try to add ignore SSL errors checkbox to the next release which I would like to roll out during the upcoming weekend.