Steps to reproduce:
- Build InfluxDBClientOptions using InfluxDBClientOptions.builder().connectionString(connStr).org(org).bucket(bucket).authenticate(user, pwd.toCharArray()).build()
- Create InfluxDBClient using InfluxDBClientFactory.create(clientOptions)
- Write a point using influxDBClient.getWriteApi().writePoints(points)
Expected behavior:
Session authentication scheme should be used and point is written to InfluxDB
Actual behavior:
Get a exception "com.influxdb.exceptions.UnauthorizedException: unauthorized access". On InfluxDB server an error is seen ts=2020-11-20T03:14:43.571574Z lvl=info msg=Unauthorized log_id=0Q_QdXh0000 error="token required"
Specifications:
- Client Version: 1.13.0
- InfluxDB Version: 2.0.1
- JDK Version: jdk-11.0.4
- Platform: MacOS
Steps to reproduce:
Expected behavior:
Session authentication scheme should be used and point is written to InfluxDB
Actual behavior:
Get a exception
"com.influxdb.exceptions.UnauthorizedException: unauthorized access". On InfluxDB server an error is seents=2020-11-20T03:14:43.571574Z lvl=info msg=Unauthorized log_id=0Q_QdXh0000 error="token required"Specifications: