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

expected json response, got "text/plain" - but with JSON response body #84

Open
andre-luiz-dos-santos opened this issue Jan 26, 2021 · 0 comments

Comments

@andre-luiz-dos-santos
Copy link

I tried to test TimescaleDB by importing some data from InfluxDB, but the error below happens. The values in the response are what I have in InfluxDB. The only problem seems to be the Content-Type on the response. How to proceed?

influx version
Influx CLI 2.0.3 (git: fe04d346df) build_date: 2020-12-15T01:00:16Z
./outflux --version
Outflux version 0.2.0
Run 'outflux --help' for usage
2021/01/26 11:21:44 Discovering influx schema for measurement: http_get
2021/01/26 11:21:44 could not transfer schema for measurement 'http_get'
pipe_http_get: could not prepare extractor
pipe_http_get_ext: could not fetch data set definition for measure: http_get
could not discover the tags of measurement 'http_get'
error fetching tags for measurement 'http_get'
error executing query: SHOW TAG KEYS FROM "autogen"."http_get"
expected json response, got "text/plain", with status: 200 and response body: "{\"results\":[{\"statement_id\":0,\"series\":[{\"name\":\"http_get\",\"columns\":[\"tagKey\"],\"values\":[[\"addr\"],[\"host\"],[\"ip\"],[\"site\"]]}]}]}\n"
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