無法連線到授權伺服器
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) 已列入白名單,並且沒有被網路策略或安全軟體封鎖。
升級到企業許可證也可以避免這個問題,因為該程式庫完全離線運行,不會將任何資訊上傳到雲端,因此適合實體隔離環境。
準備好開始了嗎?
Nuget 下載 18,560,885 | 版本: 2026.4 剛剛發布

