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

Occasional DNS lookup failures when calling hologram agent #73

Open
copumpkin opened this issue Feb 22, 2016 · 5 comments
Open

Occasional DNS lookup failures when calling hologram agent #73

copumpkin opened this issue Feb 22, 2016 · 5 comments

Comments

@copumpkin
Copy link
Contributor

I'm not sure what would cause this, but I've seen this a few times on more than one computer:

$ hologram use somerole
[ERROR  ] 2016-02-22T09:04:09-05:00 dial tcp: lookup hologram.server.dns: no such host

If I try pinging hologram.server.dns (not the real domain) myself, everything else on my system seems to be able to resolve it just fine. Hologram will continue complaining about the "no such host" for a while and then after a few minutes, will start resolving it fine again.

It might worth noting that hologram.server.dns started as a cname for an Amazon ELB. After seeing this issue for a bit, I pointed my hologram agent directly at the ELB DNS, in case hologram didn't like cnames, but the issue persists.

Any suggestions? I don't see anything particularly interesting in the agent logs, but if someone has suggestions on how to debug this I'm happy to try things next time it happens.

@copumpkin
Copy link
Contributor Author

I'd normally use ltrace here, but I think that's less useful with Go programs.

@aebie
Copy link

aebie commented Feb 22, 2016

I have been having the same issue intermittently. Until today it generally cleared up in a short 10 minutes or so, but I have been getting the error for about 3 hours straight now.

@copumpkin
Copy link
Contributor Author

I am on Mac OS when this happens, and https://golang.org/pkg/net/#pkg-overview suggests there might be some intricacies in ho Go does DNS on Mac OS.

@copumpkin
Copy link
Contributor Author

@copumpkin
Copy link
Contributor Author

I've noticed that I get the issue when I switch roles in rapid succession. Anyone else get this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants