Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

[Package Manager] connect ETIMEDOUT 35.238.21.138:443

Discussion in 'Editor & General Support' started by donbruno, Jul 11, 2019.

  1. donbruno

    donbruno

    Joined:
    Apr 23, 2014
    Posts:
    8
    Hello,

    I got this error for the package manager...

    Code (csharp):
    1. [Package Manager] connect ETIMEDOUT 35.238.21.138:443
    I'm behind a proxy, everything works fine, asset store works, downloading assets aso. works fine...

    What can I do?
     
    JjSilva likes this.
  2. donbruno

    donbruno

    Joined:
    Apr 23, 2014
    Posts:
    8
    is there a solution for a "Proxy server using a self-signed certificate"
     
  3. savely00

    savely00

    Joined:
    Feb 27, 2014
    Posts:
    36
    Same problem here. Please help to resolve!
     
  4. wanglifang

    wanglifang

    Joined:
    Jul 12, 2018
    Posts:
    5
    I have encountered the same problem, how to solve it
     
  5. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,798
  6. buc

    buc

    Joined:
    Apr 22, 2015
    Posts:
    123
    Without changing anything (router, software, permissions, etc.), for me it works only sometimes and sometimes not.
    As an example: I've tried to install the FBX-exporter and had to click several times on install, getting the annoying timeout-message.
    On the other side, something has changed, because in earlier times I also didn't get the full list of available packages and now at least I get the list, but can't install some packages.
     
  7. DanteMarshal

    DanteMarshal

    Joined:
    Aug 25, 2020
    Posts:
    10
    Same problem here, ran the diag tool and got the following result :
    Code (csharp):
    1. Unity Package Manager Diagnostics (v0.1.8)
    2. ============
    3. Ran 7 checks
    4. ============
    5. 3 succeeded
    6. 4 failed
    7. ============
    8. ❌ UPM registry reachable (FAIL)
    9. Make an HTTP request to the UPM package registry
    10. >> Connection error.
    11.  
    12. ❌ Ping UPM registry (FAIL)
    13. Measure the latency of the UPM package registry API
    14. >> No successful pings could be made in 15.336 seconds (1 failed)
    15.  
    16. ❌ Ping UPM download (FAIL)
    17. Measure the latency of the UPM package download endpoint
    18. >> No successful pings could be made in 15.99 seconds (1 failed)
    19.  
    20. ❌ UPM registry download speed (FAIL)
    21. Test the Internet connection using the UPM package registry
    22. >> Connection error.
    23.  
    24. ✅ Speedtest.net (PASS)
    25. Test the Internet connection using Speedtest.net
    26. >> Measured speed to the Speedtest.net server: 6.02 Megabits per second
    27.  
    28. ✅ HTTP proxy environment variables (PASS)
    29. Detect whether proxy-related environment variables are set (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, UNITY_PROXYSERVER, UNITY_NOPROXY)
    30. >> No proxy support has been configured through environment variables.
    31.  
    32. ✅ UPM health check (PASS)
    33. Start the UPM process and call its health endpoint
    34. >> Server start duration: 1312.00 ms
    35. >> Server response duration: 744.16 ms
    36. >> Server response:
    37. >> {"status":"OK","nodeVersion":"v12.2.0","upmVersion":"v3.14.1"}
    I'm pretty sure the problem is server-side.
    If you try to open https://35.238.21.138/ on your browser while having upm problems, you get a 503 error with message "No server is available to handle this request."
    Even though pinging the IP succeeds, so some web-server should be crashing or something like that.
     
  8. Camlang

    Camlang

    Joined:
    Jun 18, 2014
    Posts:
    3
    Hi Dante,

    Did you solve this issue? I had the same issue today and the same package manager diagnostic result. Tried to reinstall unity, added exception to firewall but nothing help.
     
  9. michaelday008

    michaelday008

    Joined:
    Mar 29, 2019
    Posts:
    135
    @TreyK-47

    Unity, your server is down again!

    upload_2021-12-23_13-48-2.png
     
  10. rifatzabirov08

    rifatzabirov08

    Joined:
    Jul 7, 2021
    Posts:
    1

    Алогично. Кто то решил проблему? или надо просто чуть чуть подождать?
     

    Attached Files:

  11. rice577

    rice577

    Joined:
    Feb 18, 2022
    Posts:
    2
     
  12. karl-shuyuan

    karl-shuyuan

    Joined:
    Jan 25, 2022
    Posts:
    1
    Unity 程序包管理器诊断程序 (v0.1.8)
    ============
    运行了 7 张支票
    ============
    4 成功
    1 个失败
    2 返回警告
    ============
    ✅ 芬欧汇川注册管理机构可访问(通过)
    向芬欧汇川软件包注册表发出 HTTP 请求
    >> HTTP/1.1 200 正常
    >> X驱动:快递
    >>提供者:创世纪
    >>日期: 星期日, 09 十月 2022 13:14:10 GMT
    >>连接:关闭

    ⚠️ Ping 芬欧汇川注册表(警告)
    测量 UPM 软件包注册表 API 的延迟
    >> 5.411 秒内完成 2 次 ping 操作
    >> 平均延迟:265.40 毫秒
    >> 最小延迟:260.40毫秒
    >> 最大延迟:270.40毫秒
    >> 标准偏差:7.07

    ⚠️ Ping UPM 下载(警告)
    测量 UPM 软件包下载端点的延迟
    >> 7.56 秒内完成 3 次 ping 操作
    >> 平均延迟: 195.32 毫秒
    >> 最小延迟: 189.60 毫秒
    >> 最大延迟: 199.88 毫秒
    >> 标准偏差:5.24

    ✅ 芬欧汇川注册表下载速度(通过)
    使用 UPM 软件包注册表测试互联网连接
    >> UPM 注册表的实测速度:每秒 13.49 兆位

    ❌ Speedtest.net(失败)
    使用 Speedtest.net 测试互联网连接
    >>连接错误。

    ✅ HTTP 代理环境变量(通过)
    检测是否设置了代理相关的环境变量(HTTP_PROXY、HTTPS_PROXY、ALL_PROXY、NO_PROXY、UNITY_PROXYSERVER、UNITY_NOPROXY)
    >> 尚未通过环境变量配置代理支持。

    ✅ 芬欧汇川健康检查(通过)
    启动 UPM 流程并调用其运行状况终结点
    >>服务器启动持续时间: 1051.00 毫秒
    >>服务器响应持续时间: 10.83 毫秒
    >>服务器响应:
    >> {“status”:“OK”,“nodeVersion”:“v12.20.0”,“upmVersion”:“v4.5.0”}
     
  13. MohammadAlizadeh

    MohammadAlizadeh

    Joined:
    Apr 16, 2015
    Posts:
    25
    i solved it by setting unity proxy manually, go to your proxy settings and get the IP and Port in my case it was 127.0.0.1:7778

    create a UnityLaunch.cmd file and place in desktop, containing this:

    Code (CSharp):
    1. @echo off
    2. set HTTP_PROXY=http://127.0.0.1:7778
    3. set HTTPS_PROXY=http://127.0.0.1:7778
    4. start "" "C:\Program Files\Unity Hub\Unity Hub.exe"
    close all unity editor and hub, open this file instead.
     
  14. MrZiell

    MrZiell

    Joined:
    Mar 16, 2023
    Posts:
    1
    A new error appeared after opening this cmd-file... Do you know what I should do about it?

    [Package Manager Window] Cannot perform upm operation: Unable to perform online search:
    Cannot connect to 'packages.unity.com' (error code: ENOTFOUND). Verify your environment firewall policies allow connection to this host name. If your system is behind a proxy, verify your proxy environment variables (HTTP_PROXY and HTTPS_PROXY) are properly set. [NotFound].
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
     
  15. MohammadAlizadeh

    MohammadAlizadeh

    Joined:
    Apr 16, 2015
    Posts:
    25
    Get your port from Settings > Network & Internet > proxy > scroll down below "use a proxy server" see your port there and edit it