Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
IPv6 support #586
Dredd is resolving hostnames always to the IPv4 address. When the backend is listening on IPv6 localhost
Some servers in some constellations are listening on the IPv6 only by default. The workaround solution is to force them to listen on the IPv4 localhost with some equivalent of:
The reasoning why this is happening: https://groups.google.com/forum/#!topic/nodejs/0W6UqKy_klk
referenced this issue
Mar 8, 2017
Could we do some kind of fallbacking and try/catching?
But that brings quite some overhead of reconnecting. This would have to happen just once, in the beginning, and then Dredd would need to respect the selected strategy for the rest of the requests.
Also, this could be an option:
Again, Dredd would remember the selected strategy for all requests within the test run.