Vladimir Sudilovsky

Results comments of Vladimir Sudilovsky

https://github.com/pstiasny/requests-srv drop-in replacement for requests that will resolve SRV records: ``` In [38]: requests.get('http://_montysolr._tcp.service.consul/solr') Out[38]: ``` This would be an improvement to the custom DNS code here.

One problem with this approach is that specifying tags is not supported in the SRV RFC afaik

That's a good suggestion.

Hi, thanks for the keeping it up to date! This seems good to merge if/when those upstream changes are release. The only suggestion I'd make would be to keep backwards...

FWIW adding this as part of the instance's user data may help: ``` IP=`curl http://169.254.169.254/latest/meta-data/local-ipv4 | tr -d '\n'` consul= docker run -d \ --name consul-agent \ -h $HOSTNAME \...

Dealt with this yesterday and came to the same conclusion. I suspect that the issue is clear enough, but here's some code that reproduces this bug: ``` import pika class...