Closed Anaisdg closed 1 year ago
@Sciator, update the client to support URL without schema => assumes the endpoint is https.
@Anaisdg as a workaround you can use "https://us-east-1-1.aws.cloud2.influxdata.com" for query also for writes.
Thank you!
Specifications
InfluxCloud 3.0
Code sample to reproduce problem
If my URL is --build-arg INFLUXDB_URL=us-east-1-1.aws.cloud2.influxdata.com:443 Then the following script works
However I can't perform:
I get the following error:
panic: error calling us-east-1-1.aws.cloud2.influxdata.com:///api/v2/write?bucket=demo&org=&precision=ns: Post "us-east-1-1.aws.cloud2.influxdata.com:///api/v2/write?bucket=demo&org=&precision=ns": unsupported protocol scheme "us-east-1-1.aws.cloud2.influxdata.com"
I need to change the url tohttps://us-east-1-1.aws.cloud2.influxdata.com
for writes. It would be great if on url could be provided. Thank you!Expected behavior
Expect to be able to provide a single url: us-east-1-1.aws.cloud2.influxdata.com
Actual behavior
The write and query method require different urls. Query requires: us-east-1-1.aws.cloud2.influxdata.com:443 Write requires: https://us-east-1-1.aws.cloud2.influxdata.com
Additional info
Thank you!!!