proxy-vole icon indicating copy to clipboard operation
proxy-vole copied to clipboard

getDefaultProxySearch().getProxySelector(); is taking more then 15 seconds

Open zivkaziv opened this issue 6 years ago • 5 comments

Hi,

We're trying to use proxy-vole in order to detect proxy on our agent. We found that this call is taking more then 15 seconds: ProxySearch.getDefaultProxySearch().getProxySelector(); Any idea why it takes so long? Please help us..

zivkaziv avatar Jul 11 '18 08:07 zivkaziv

Does it bring a result in the end or an error? Could be that JNA takes some time to load all the libraries.

MarkusBernhardt avatar Jul 11 '18 08:07 MarkusBernhardt

It return results.

zivkaziv avatar Jul 11 '18 08:07 zivkaziv

Do you think define specific strategies can help in this case?

zivkaziv avatar Jul 11 '18 16:07 zivkaziv

Can you please retest with 1.0.5. We are using now the JDK internal Javascript (Nashorn) engine.

MarkusBernhardt avatar Jul 11 '18 16:07 MarkusBernhardt

Thank you.. I’ll do it tomorrow and let you know

zivkaziv avatar Jul 11 '18 16:07 zivkaziv