通過NI Package Manager安裝時更新Feeds時出現問題

更新 Dec 14, 2023

產品資訊

軟體

  • Package Manager

問題敘述

在NI Package Manager(NIPM)中安裝,更新或升級產品時,出現以下通訊錯誤。

There was a problem updating the feeds cache.
Failed to update all fields.
Visit ni.com/info and enter the Info Code NIPMCommError for more information.
Additional error information:
An error occurred while trying to download the feed:
http://download.ni.com/support/nipkg/products/ni-package-manager/released/Packages.gz
The network is down, unreachable, or has been reset. (Could not resolve host: download.ni.com)
 

解決方案

以下是您遇到此錯誤的一些原因以及相應的解決方案:
  • 您正在使用直接存取,並且您在僅IPv6的網絡上。您將遇到網絡問題,如果您使用的是純IPv6網絡,則無法通過NI Package Manager安裝任何產品。
  • 由於某些網絡問題,您無法訪問任何NI URL。如果您無法使用Telnet或其他工具訪問以下任何URL,則需要聯繫您的IT部門以確保打開了相應的端口。
    • Port 443上的download.ni.com
    • Port 443上的conduit-locator.ni.com
    • Port 443上的conduit.ni.com
    • Port 80, 443上的*.scene7.com (ni.scene7.com)
  • 您的proxy(儘管Windows中為Internet選項)未正確設置。如果您位於proxy伺服器後方,請確保使用http proxy 伺服器。否則,您可以使用以下解決方法:
    • 打開%localappdata%\National Instruments\NI Package Manager\nipkg.ini
    • 在您的proxy資訊填寫proxyserver=<field> 。字段格式通常為host:port,但您可以要求IT部門進行確認。
  • 您的系統不信任NI的https證書。您應該聯繫您的IT部門以確認證書設置。
  • 確保您未使用VPN,因為這也會影響或阻止安裝。
  • 嘗試其他網絡。有時,網絡還有其他限制,可能會導致NI Package Manager無法正常工作。嘗試使用其他網絡(例如家庭網絡)或將手機用作WiFi熱點。
  • 與您的IT部門合作,以確保您的Windows用戶賬號具有適當的管理員特權。
  • 檢查您是否正在運行防毒軟體。若是,請嘗試將其關閉。
  • 如果您從早期版本的NIPM升級,也會發生此錯誤。Feed的INI文件已更改,但軟體仍引用舊的INI文件。如果您在C:\Program Files\National Instruments\NI Package Manager\Settings有一個nipkg.ini文件,請刪除該文件。

相關資訊

如果您使用的是Windows 10,這也可能是由兼容性配置引起的。要解決該問題,請轉到保存可執行檔案的資料夾,右鍵單擊該檔案,然後選擇“屬性” 。在“Compatibility ”選項的“Compatibility mode部分下,勾選“Run this program in compatibility mode for:”