Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

[::1]:53: read: connection refused #235

Closed
sylr opened this issue Feb 14, 2018 · 4 comments
Closed

[::1]:53: read: connection refused #235

sylr opened this issue Feb 14, 2018 · 4 comments
Labels

Comments

@sylr
Copy link

sylr commented Feb 14, 2018

Hi,

Sometimes I get this error in the unsee UI

Get http://prometheus-alertmanager-xxxxx/api/v1/silences: dial tcp: lookup prometheus-alertmanager-xxxxx on [::1]:53: read udp [::1]:55668->[::1]:53: read: connection refused 

I have to delete the UNSEE pods to make it disappear.

@prymitive
Copy link
Contributor

The error indicates that the pod cannot resolve dns lookups when making HTTP requests to the Alertmanager. I don't think this has anything to do with unsee and it's purely local environment problem, am I missing something?

@sylr
Copy link
Author

sylr commented Feb 16, 2018

Yeah but it seems that if resolutions fails once for a target it does not come back ever even though resolution comes back again.

@sylr
Copy link
Author

sylr commented Mar 1, 2018

@prymitive I believe the error and the logs I get come from

log.Errorf("[%s] %s request failed: %s", am.Name, url, err)

@sylr
Copy link
Author

sylr commented Apr 12, 2018

I think I found the issue.

I mounted the unsee config volume at /etc, I shouldn't have done that, now that I've mounted it at /etc/unsee I don't have the problem anymore.

@sylr sylr closed this as completed Apr 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants