部落格

GitHub Copilot:出口限制與疑難排解

Markdown

如何區分 VS Code 中的出口限制、付款遭拒和驗證錯誤。GitHub 的官方政策以及申訴程序的適用範圍。

閱讀全文

如果你已經有 GitHub 帳戶,但無法在 VS Code 中使用 Copilot,或嘗試付款時遭到拒絕,請先記下問題發生的階段。本文說明服務政策,以及如何在 VS Code 中重新登入。

在 Ailoot 文件中查看使用 Ailoot 的實用資訊。

警告

本文僅供參考,並非法律建議。下方引用 GitHub 官方文件,並在英文引文後附上翻譯。

GitHub 官方政策的實際內容

「GitHub and Trade Controls」頁面有一個專門介紹 Copilot 的章節:

GitHub Copilot is a commercial, mass-market product and has been assigned the Export Control Classification Number (ECCN) of 5D992.c and may be exported to most destinations with no license required (NLR).

— GitHub,貿易管制政策,https://docs.github.com/en/site-policy/other-site-policies/github-and-trade-controls.md

翻譯:Copilot 是商用的大眾市場產品,其出口管制分類號碼(ECCN)為 5D992.c。出口至大多數目的地不需要許可證。下一段則限制了這項許可:

GitHub Copilot may not be sold, exported, or re-exported to any embargoed destination or a country listed in Country Group E:1 in Supplement No. 1 to part 740 of the EAR without authorization. These destinations currently include Cuba, Iran, North Korea, Russia, Belarus, and the following regions of Ukraine: Crimea/Sevastopol and the separatist areas of Donetsk and Luhansk. This list is subject to change.

— GitHub,貿易管制政策,https://docs.github.com/en/site-policy/other-site-policies/github-and-trade-controls.md

翻譯:未經授權,不得將 Copilot 銷售、出口或再出口至遭禁運的目的地,或列於美國《出口管理規則》(EAR)第 740 部分補充資料第 1 號 E:1 國家群組中的國家。目前,這些目的地包括古巴、伊朗、北韓、俄羅斯、白俄羅斯,以及烏克蘭的以下地區:克里米亞/塞瓦斯托波爾,以及頓內茨克和盧甘斯克的分離主義地區。這份清單可能會變動。

這段文字列出兩項依據:遭禁運,或列入 E:1 群組。後續清單適用於這兩種情況。

GitHub.com 的相關條款另有說明。對於在伊朗提供的雲端服務,GitHub 引用美國財政部海外資產控制辦公室(OFAC)核發的許可證;對於古巴,GitHub 表示免費與付費雲端服務通常都能使用。這不會推翻上方引用的 Copilot 個別條款。

關於帳戶制裁審查,目前已知的資訊

頁面稍後有一份制裁常見問題。清單列出克里米亞、頓內茨克和盧甘斯克的部分地區、古巴、伊朗和北韓。以下有關帳戶判定和旅行的規定都屬於該章節。

If GitHub determines that a user or customer is located in a region that is subject to U.S. trade control restrictions for which GitHub does not yet have a license from the U.S. government, or a user is otherwise restricted under U.S. economic sanctions, then the affiliated account will be restricted to comply with those legal requirements. The determination of user and customer location to implement these legal restrictions are derived from a number of sources, including IP addresses and payment history. Nationality and ethnicity are not used to flag users for sanctions restrictions.

— GitHub,貿易管制政策,https://docs.github.com/en/site-policy/other-site-policies/github-and-trade-controls.md

翻譯:如果 GitHub 判定使用者位於受美國貿易管制限制的地區,而 GitHub 尚未取得美國政府核發的許可證,或使用者因其他原因受到美國經濟制裁限制,相關帳戶就會受到限制,以符合這些法律要求。判定使用者和客戶所在地時,會參考多種來源,包括 IP 位址和付款紀錄。GitHub 不會使用國籍或族裔來標記受到制裁限制的使用者。這是制裁章節中的一般規定。

同一章節也列出適用於組織的條件:

If an organization is based out of, or the key individuals or membership of an organization shows sufficient ties to, a sanctioned territory or country for which GitHub does not yet have a license from the U.S. government, or if the organization otherwise appears to be subject to U.S. economic sanctions, then the organization account and the affiliated owner account will be restricted.

— GitHub,貿易管制政策,https://docs.github.com/en/site-policy/other-site-policies/github-and-trade-controls.md

翻譯:如果組織設立於 GitHub 尚未取得美國政府許可證的受制裁國家或地區,或其關鍵人士或成員與該地區有充分關聯,組織帳戶及相關的擁有者帳戶就會受到限制。如果該組織因其他原因看似受到美國經濟制裁,也適用相同規定。

旅行警告適用於這份常見問題中的相關地區:

Travel in these regions may impact your account status, but availability may be reinstated once you are outside of the sanctioned region.

— GitHub,貿易管制政策,https://docs.github.com/en/site-policy/other-site-policies/github-and-trade-controls.md

翻譯:前往這些地區旅行可能會影響你的帳戶狀態,但離開受制裁地區後,服務可能會恢復使用。

這和付款時信用卡遭拒有何不同

如果嘗試付款時出現拒絕訊息,請保存訊息的確切內容,以便向支援團隊提出申請。單憑這種拒絕,無法證明已套用出口規則。價格和免費方案另有說明:GitHub Copilot 的免費功能。

引用的來源無法確定特定付款遭拒的原因,也無法保證換一張卡就能恢復存取權。沒有登入問題,並不能證明帳戶被標記為受制裁。

這和 VS Code 中的驗證問題有何不同

如果你已登入 GitHub,但無法在 VS Code 中使用 Copilot,文件指出這可能是驗證問題:

If you are signed in to GitHub but Copilot is unavailable in Visual Studio Code, it may be due to an authentication problem.

— GitHub,Copilot 疑難排解,https://docs.github.com/en/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues.md

翻譯:如果你已登入 GitHub,但無法在 Visual Studio Code 中使用 Copilot,原因可能是驗證問題。GitHub 建議採取以下步驟:

  1. 在 VS Code 視窗左下角,點選帳戶圖示,將游標移到你的 GitHub 使用者名稱上,再點選登出。
  2. 按下 F1 開啟命令面板,然後選取 Developer: Reload Window。
  3. 重新載入後,再次登入你的 GitHub 帳戶。
Diagram of signing back in to GitHub in VS Code: sign out, reload the window, sign in
這張圖示意 GitHub 文件中針對可能的驗證問題所列的步驟,並非介面截圖。

重新登入後,請確認能否使用 Copilot。如果仍無法使用,原因尚未確定:同一份文件也說明了其他可能原因,例如擴充功能已過期、沒有訂閱方案,或連線至 GitHub API 時發生錯誤。文件也連結至貿易管制政策。重新登入無法解除出口禁令。

如果你認為帳戶遭到錯誤標記

GitHub 頁面上的一般申訴程序適用於帳戶受到非預期影響或遭到誤判的情況。頁面並未將它說明為 Copilot 專用程序:

In the rare instance that an account is affected unintentionally or in error, we have an appeal process to address such instances. If an individual user or organization owner believes that they have been flagged in error, then that user has the opportunity to appeal the flag by providing verification information to GitHub. If GitHub receives sufficient information to verify that the user or organization is not affiliated with a U.S.-sanctioned jurisdiction for which we do not have a license or otherwise restricted by U.S. economic sanctions, then the flag will be removed.

— GitHub,貿易管制政策,https://docs.github.com/en/site-policy/other-site-policies/github-and-trade-controls.md

翻譯:如果帳戶受到非預期影響或遭到誤判,個人使用者或組織擁有者可以向 GitHub 提交驗證資料,對標記提出申訴。如果 GitHub 收到足夠資料,能確認該使用者或組織與 GitHub 尚未取得許可證的美國制裁管轄區沒有關聯,也未受到美國經濟制裁的其他限制,就會移除該標記。來源文件指引讀者向 GitHub Support 尋求協助。

如果你認為標記有誤,請透過 support.github.com/request 向 GitHub Support 說明情況。不要將你對問題原因的推測說成已確認遭到標記。引用的程序並未說明審查所需時間。

快速檢查清單

  1. 記下遭拒的環節,以及訊息的確切內容。單憑付款遭拒,無法確認已套用出口限制。
  2. 如果你已登入 GitHub,但無法在 VS Code 中使用 Copilot,請依照上述步驟重新登入並檢查結果。
  3. 重新登入仍無法解決問題,也不代表帳戶被標記為受制裁。請開啟 Copilot 官方疑難排解文件;文件也說明了其他可能原因。
  4. 如果你懷疑制裁標記有誤,請聯絡 GitHub Support。
  5. 查看 GitHub 出口政策頁面上的最新目的地清單:來源提醒清單會變動。

另一個 Copilot 相關問題,請參閱〈10 月 19 日起從 Copilot 移除 6 個模型〉。

來源

前往 Ailoot。

更多詳情

常見問題:GitHub Copilot:出口限制與疑難排解

Copilot 付款遭拒,就能證明遇到出口限制嗎?

不能。請記錄確切訊息與出現階段。付款拒絕、VS Code 驗證失敗及出口限制需要不同檢查;單憑付款遭拒無法證明帳戶有制裁標記。

登入 VS Code 後 Copilot 仍不可用,該怎麼辦?

透過 Accounts 登出,執行 Developer: Reload Window 重新載入視窗,再重新登入並確認結果。仍失敗時,請查官方疑難排解或聯絡客服,因為原因尚未證實。

所有文章