K6: Error with the command docker-compose up -d influxdb grafana

Created on 23 Nov 2018  路  4Comments  路  Source: loadimpact/k6

image

O.S Windows 10

bug

Most helpful comment

Very strange :confused: So you're basically doing the same curl request from the Dockerfile, only with postman instead, and it's working?
Maybe that sleep 15 there is insufficient? Can you try increasing it to 30 or even 60 seconds, just to see if that fixes the issue?

All 4 comments

@Julianhm9612, thanks for reporting this. Unfortunately I can't reproduce this, so any more details you can supply will be very useful. Also, if anyone else is having the same issue, please share details as well.

Sure!

I'm following the documentation for visulalizate the results with InfluxDB + Grafana

image

When I execute the following command: docker-compose up -d influxdb grafana

It generates an error when executing this command that is in the file Dockerfile.grafana.

My temporary solution was:

I commented the following lines:

image

After I execute the following command: docker-compose up -d influxdb

And then through postman the following:

image

And finally i run again: docker-compose up -d influxdb grafana

And it worked!

Very strange :confused: So you're basically doing the same curl request from the Dockerfile, only with postman instead, and it's working?
Maybe that sleep 15 there is insufficient? Can you try increasing it to 30 or even 60 seconds, just to see if that fixes the issue?

@na-- Thank you very much for your excellent support!!!!!!

you are right, the time was insufficient, I increased it to 60 to test and it worked:

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sniku picture sniku  路  3Comments

jrm2k6 picture jrm2k6  路  4Comments

git001 picture git001  路  3Comments

caalle picture caalle  路  4Comments

if-kenn picture if-kenn  路  4Comments