無法連線到授權伺服器

This article was translated from English: Does it need improvement?
Translated
View the article in English

使用目前版本的IronPDF (2024.10.x) 時,部分使用者即使網路連線正常,也可能會遇到下列異常錯誤:

Exception: IronPdf was unable to establish a connection to the licensing server. A valid internet connection is required for TEAM-type License Keys. In restricted environments, you need to whitelist: https://licensingapimanager.azure-api.net. For projects that require offline air-gapped environments with unlimited developers, projects, and locations, please consider the Unlimited Enterprise License at https://ironpdf.com/licensing/?utm_source=errormsg. For help, please reach out to us at https://ironsoftware.com

原因

根本原因是IronPDF授權伺服器上的逾時設定有問題。 當連線逾時時,內部進程會認為連線已遺失,從而觸發上述錯誤訊息。

變通方法

目前,這個問題還沒有直接的解決方法。 不過,您可以嘗試以下臨時解決方法:

-重新啟動專案:只需重新執行專案即可協助與授權伺服器建立成功的連線。 -檢查防火牆和網路限制:確保所需的 URL (https://licensingapimanager.azure-api.net) 已列入白名單,並且沒有被網路策略或安全軟體封鎖。

升級到企業許可證也可以避免這個問題,因為該程式庫完全離線運行,不會將任何資訊上傳到雲端,因此適合實體隔離環境。

Curtis Chau
技術作家

Curtis Chau 擁有卡爾頓大學計算機科學學士學位,專注於前端開發,擅長於 Node.js、TypeScript、JavaScript 和 React。Curtis 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。

除了開發之外,Curtis 對物聯網 (IoT) 有著濃厚的興趣,探索將硬體和軟體結合的創新方式。在閒暇時間,他喜愛遊戲並構建 Discord 機器人,結合科技與創意的樂趣。

準備好開始了嗎?
Nuget 下載 17,920,939 | 版本: 2026.3 剛剛發布
Still Scrolling Icon

還在捲動嗎?

想要快速證明? PM > Install-Package IronPdf
執行範例 觀看您的 HTML 變成 PDF。