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

unexpected status code: 400 #42

Open
dzt626 opened this issue Jun 10, 2024 · 0 comments
Open

unexpected status code: 400 #42

dzt626 opened this issue Jun 10, 2024 · 0 comments

Comments

@dzt626
Copy link

dzt626 commented Jun 10, 2024

Influxdb is installed on Windows systems, and the version of Influxdb is 2.7,When I used inch to perform performance testing on Influxdb, the following error occurred. How should I handle it

E:\Program Files\Go\bin\inch-master\cmd\inch>inchinch -b 5000 -db "stress-stats" -token "EudZDMn-pLBzcRq8kAN7PH7v8VbyDy-7XBsjyKrJA5J_Ei9OWQyqpfsAn4XqGu7Xb0xLE0C99ZXzpcVRohp5rg==" -v2 -v
Host: http://localhost:8086
Concurrency: 1
Virtual Hosts: 0
Measurements: 1
Tag cardinalities: [10 10 10]
Points per series: 100
Total series: 1000
Total points: 100000
Total fields per point: 1
Randomized field values: false
Multiple writes per point: false
Batch Size: 5000
Database: stress-stats (Shard duration: 7d)
Write Consistency: any
Writing into InfluxDB 2.0: true
InfluxDB 2.0 Authorization Token: EudZDMn-pLBzcRq8kAN7PH7v8VbyDy-7XBsjyKrJA5J_Ei9OWQyqpfsAn4XqGu7Xb0xLE0C99ZXzpcVRohp5rg==
Content-Type:[application/x-www-form-urlencoded]
Authorization:[Token EudZDMn-pLBzcRq8kAN7PH7v8VbyDy-7XBsjyKrJA5J_Ei9OWQyqpfsAn4XqGu7Xb0xLE0C99ZXzpcVRohp5rg==]
unexpected status code: 400

The running logs of Influxdb are as follows
2024-06-10T11:02:14.489958Z info executing new query {"log_id": "0phObylW000", "query": "CREATE DATABASE stress-stats WITH DURATION 7d

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