Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCrash when missing TLS certificate files #1378
Comments
This comment has been minimized.
This comment has been minimized.
|
Actually, what's missing is the key file, for which I mixed up the name. |
This comment has been minimized.
This comment has been minimized.
|
And with a readable client key file it works again. Before, this was completely reproducible (i.e. it crashlooped). |
matthiasr
added
the
bug
label
Feb 8, 2016
This comment has been minimized.
This comment has been minimized.
|
The problem seems to be that for startup target initialization, the same target updating code is used as later on, and when something is wrong with the target config options, this method just logs and error and returns, leaving behind a not properly initialized target: https://github.com/prometheus/prometheus/blob/0.16.2/retrieval/target.go#L208 |
This comment has been minimized.
This comment has been minimized.
|
Doing a fix... |
juliusv
added a commit
that referenced
this issue
Feb 8, 2016
This comment has been minimized.
This comment has been minimized.
|
Fix PR in #1379 |
juliusv
closed this
in
#1379
Feb 10, 2016
fabxc
added a commit
that referenced
this issue
Mar 2, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 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. |
matthiasr commentedFeb 8, 2016
I got the following crash when adding a new job with a
tls_configand the expected certificate files weren't there: