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

grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::]:9090: connect: no route to host"; Reconnecting to {[::]:9090 <nil>} #3149

Closed
Gitbini opened this Issue Sep 8, 2017 · 5 comments

Comments

Projects
None yet
4 participants
@Gitbini
Copy link

Gitbini commented Sep 8, 2017

What did you do?
Attempted to start Prometheus with ./prometheus --config.file=prometheus.yml
What did you expect to see?
and expected it to start normally, but received this error:
What I saw instead

grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::]:9090: connect: no route to host"; Reconnecting to {[::]:9090 }

Environment
CentOS Linux release 7.3.1611 (Core)

  • System information:

    insert output of uname -srm here
    Linux 3.10.0-514.26.2.el7.x86_64 x86_64

  • Prometheus version:
    prometheus version=2.0.0-beta.2

  • Prometheus configuration file:

insert configuration here
```# my global config
global:
  scrape_interval:     15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
  # scrape_timeout is set to the global default (10s).

  # Attach these labels to any time series or alerts when communicating with
  # external systems (federation, remote storage, Alertmanager).
  external_labels:
      monitor: 'codelab-monitor'

# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
  # - "first.rules"
  # - "second.rules"

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  - job_name: 'prometheus'

    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.

    static_configs:
      - targets: ['localhost:9090']




@Gitbini

This comment has been minimized.

Copy link
Author

Gitbini commented Sep 8, 2017

If anyone has seen this and knows what could be the issue here (?), I would love to hear back from you.

@aliasmee

This comment has been minimized.

Copy link

aliasmee commented Sep 11, 2017

hi,View this issue,May be helpful to you #3004

@htdvisser

This comment has been minimized.

Copy link

htdvisser commented Sep 14, 2017

I created Pull Request #3174 that fixes this issue (at least, for me)

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Sep 28, 2017

Dupe of #3004

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.