Access ELK Stack using PAC file

So i have a proxy server that im using and in my proxy settings (windows) i configured it to use a PAC file so that it will only use the proxy for certain internal sites.

Now the issue im having is that apparently the ELK stack does not like being accessed using a proxy, so i keep getting this error:

image

Is there anyway around this?

Any help or tips is greatly appreciated!

Thanks