DNS resolution failed for my-company-proxy.com: UNAVAILABLE: WSA Error

Hi,
I am working on windows virtual machine behind company’s proxy and I am able to install Browser successfully. rfBrowser init was also done and I can confirm the all browsers were downloaded and was a success. But when I try to run a test, my tests are failing with error “RuntimeError: Could not connect to the playwright process at port xxxxx.”

When I checked the playwright debug logs I found this error message:

DEBUG - <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "DNS resolution failed for my-company-proxy.com: UNAVAILABLE: WSA Error"
	debug_error_string = "UNKNOWN:DNS resolution failed for my-company-proxy.com: UNAVAILABLE: WSA Error {created_time:"2024-10-11T16:39:55.0519109+00:00", grpc_status:14}"
>

Can you please help?

Note: Some of the other team members are not facing this issue.

Hi,

Do you have the Windows proxy settings setup to exclude proxying localhost;127.0.0.1?
eg:

1 Like

Thanks @Lowres for the responding. Yes I checked the proxy setting found that local hosts are being bypassed from the proxy.

I know I had to fight with this at some point too.
Cant remember what the fix was.

Maybe try make a host file entry for:

IPAddress   my-company-proxy.com

See if that helps?