已更新 2025年2月9日
無法連接到授權伺服器
This article was translated from English: Does it need improvement?
TranslatedView 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 devs, 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)被列入白名單且未被網路政策或安全軟體阻擋。