ライセンスサーバーに接続できません
現在の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
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)がホワイトリストに登録されており、ネットワークポリシーやセキュリティソフトウェアによってブロックされていないことを確認してください。
Enterprise Licenseへアップグレードすることで、この問題を回避できます。このライブラリは完全にオフラインで動作し、クラウドに情報をアップロードしないため、エアギャップ環境に適しています。