jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61375] http proxy server request fails when DNS manager custom resolver enabled
Date Sat, 05 Aug 2017 15:08:17 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61375

Felix Schumacher <felix.schumacher@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Felix Schumacher <felix.schumacher@internetallee.de> ---
I think my patch doesn't help. We need more information on your setup to really
reproduce your problem.

Where is your proxy located? Do you see any exceptions in the log files or in
the responses?

My setup used localhost as a proxy and the custom resolver tried to resolve
"localhost" using those. But those dns servers don't resolve "localhost". That
is normally done by the hosts file from your computer.

So my solution was (and is) the addition of a static host resolution
"localhost" to the static host table. That led to another failure as the "ip"
of the static host entry was tried to be resolved.

I will attach another patch, which is hopefully a bit more correct. But it
introduces a lookup with the system resolver as a last resort. That is new
behaviour and could introduce other problems (which at the moment I can't think
of).

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message