InfluxDB docker container fails to load with message "Failed to create scraper subscriber"

Out InfluxDB container fails to launch and throws below error

lvl=error msg=“Failed to create scraper subscriber” log_id=0spx4iE0000 error=“stan: subscribe request timeout”
Error: stan: subscribe request timeout

Any one knows what this error means and how this can be fixed.

Hello @Arun_Kumar,
Welcome!
Can you

docker exec -it <influxdb-container-id> ping <nats-host>

Increase the timeout?

  ## Maximum time to receive response
  # response_timeout = "5s"