在SystemLink中部署程式包時Feed無法更新錯誤

更新 Nov 22, 2023

產品資訊

軟體

  • SystemLink 19.6

問題敘述

當我嘗試從公司的內部 feed中部署程式包時,出現以下錯誤:
One or more feeds failed to update.
Packages available from these feeds will not be shown.
我的公司是使用代理伺服器來路由資料。

解決方案

此問題是由於SystemLink無法與代理伺服器進行通信。請按照以下步驟正確配置代理伺服器:
  • 安裝Sysinternals PsTools
  • 以管理員身份運行命令提示字元,然後運行以下命令:
psexec64 -u "nt authority\network service" -i cmd.exe
  • 這將打開一個新的cmd視窗,該視窗將以“ NetworkService”用戶身份運行-接著從此處運行:
C:\ Program Files(x86)\ Internet Explorer \ iexplore.exe
  • 轉到Internet Options > Connections > LAN Settings,然後設置伺服器的預設代理位址。
  • C:\ ProgramData \ National Instruments \ NI Package Manager \ Settings \ nipkg.ini中刪除“ [nipkg] proxyserver = address:port”
  • (可選擇的)在運行(如果代理需要身份驗證)時,將用戶名和密碼保存在已儲存的身份驗證資訊中:
cmdkey /generic: <proxy-server-ip> /user:<user> /pass