Search Unity

Unity NOPROXY

Discussion in 'Editor & General Support' started by shadowlord1, Jan 13, 2020.

  1. shadowlord1

    shadowlord1

    Joined:
    Aug 15, 2014
    Posts:
    32
    Hello everyone,
    I've installed Unity Hub, and then Unity 2019 and 2020.
    On both versions, when I try to open a project, it pauses on "Starting server" and then throws me an error saying that Unity Package Manager could be blocked by a firewall or anti-virus.



    When I set the environment variables HTTP_PROXY, HTTPS_PROXY and UNITY_NOPROXY, to the value "localhost,127.0.0.1", it works. But inside Unity, I'm offline. And so, I can't download packages or use Asset Store.

    If I don't use these values on the environment variables, I can't open Unity.

    I'm not using any antivirus and I don't have any proxy at all.

    The diagnose tools says no error at all.
    Code (CSharp):
    1. 6 out of 6 checks passed:
    2. [
    3.   {
    4.     "name": "UPM registry reachable",
    5.     "description": "Make an HTTP request to the UPM package registry",
    6.     "result": "PASS",
    7.     "detail": "HTTP/1.1 200 OK\nX-Powered-By: Express\nProvider: Genesis\nDate: Mon, 13 Jan 2020 02:37:06 GMT\nConnection: close"
    8.   },
    9.   {
    10.     "name": "Ping UPM registry",
    11.     "description": "Measure the latency of the UPM package registry API",
    12.     "result": "PASS",
    13.     "detail": "6 pings made in 6.011 seconds\nAverage latency: 170.89 ms\nMinimum latency: 168.00 ms\nMaximum latency: 173.45 ms\nStandard deviation: 2.16"
    14.   },
    15.   {
    16.     "name": "Ping UPM download",
    17.     "description": "Measure the latency of the UPM package download endpoint",
    18.     "result": "PASS",
    19.     "detail": "5 pings made in 5.532 seconds\nAverage latency: 27.43 ms\nMinimum latency: 25.32 ms\nMaximum latency: 29.88 ms\nStandard deviation: 2.10"
    20.   },
    21.   {
    22.     "name": "UPM registry download speed",
    23.     "description": "Test the Internet connection using the UPM package registry",
    24.     "result": "PASS",
    25.     "detail": "Measured speed to the UPM registry: 5.49 Megabits per second"
    26.   },
    27.   {
    28.     "name": "Speedtest.net",
    29.     "description": "Test the Internet connection using Speedtest.net",
    30.     "result": "PASS",
    31.     "detail": "Measured speed to the Speedtest.net server: 621.18 Kilobits per second"
    32.   },
    33.   {
    34.     "name": "HTTP proxy environment variables",
    35.     "description": "Detect whether proxy-related environment variables are set (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, UNITY_PROXYSERVER, UNITY_NOPROXY)",
    36.     "result": "PASS",
    37.     "detail": "No proxy support has been configured through environment variables."
    38.   }
    39. ]
    Could you guys please help me?
     
    Last edited: Jan 13, 2020
    KubaCeTe likes this.