UnityHub 2.3.0 - No internet connection behind company auto-config proxy (.PAC file)

Hi everyone,

Here is the situation :

No internet connection when using UnityHub or Unity : “The server is currently unresponsive”
Can’t login to my account : I can enter my credentials (UnityID, google or facebook). If my password is wrong, it is correctly rejected. I my password is correct, the form validates but I am not logged in.

Windows 10 laptop
UnityHub v2.3.0
Company uses a PAC file to auto-configure the proxy on my computer
I can access the basically everything through a Browser. lI can access the Asset Store through a Browser AND through Unity once it is launched. However when I want to download an asset in the Editor, the Store opens the UnityHub login page which doesn’t work as described before. The Unity Editor states “No internet connection :(” and the “Sign in…” option is greyed out.
Package manager seems to be working correctly (no crash or anything)

I have tried setting the HTTP_PROXY and the HTTPS_PROXY variable, in a .bat file, in the windows user and system environment variables with no success… Since the proxy is configured in a PAC file, it is hard to know which proxy is used for each connection so I tried each one of them.

When I set these variables, the UnityHub logs say :

{“moduleName”:“ProxyHelper”,“level”:“info”,“message”:“[ ‘Using authentication information from http proxy environment variable’ ]”

{“moduleName”:“ProxyHelper”,“level”:“info”,“message”:“[ ‘Proxy configurations found for protocol http: http://myUserName:myPassword@someProxy:port’ ]”

{“moduleName”:“ProxyHelper”,“level”:“info”,“message”:“[ ‘Proxy configurations found for protocol https: http://myUserName:myPassword@someProxy:port’ ]”

[…]

{“moduleName”:“CloudConfig”,“level”:“info”,“message”:“[ ‘Failed to refresh data, fallback to default data. Reason: write EPROTO 3628226760:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:…/…/third_party/boringssl/src/ssl/tls_record.cc:242:\n’ ]”

I don’t think it is a firewall problem either… I have tried deactivating the windows firewall and any antivirus on the laptop.

I will add any additional information if I find anything.

Thank you for your help

Hi @TimENSI ,

It seems like your port from a PAC file to environment variables wasn’t successful. Unfortunately we don’t support PAC files yet. I have never seen this error specifically but I think it’s safe to assume the https endpoint isn’t going through. I will relay your situation to the rest of the team and we’ll consider supporting this sooner. I can’t promise anything at this point but we’ll see what we can do.

Best,