Updated February 9, 2025
Share:

Unable to Connect to Licensing Server

With the current version of IronPdf (2024.10.x), some customers may experience the following exception error, even when they have an active internet connection:

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

Cause

The root cause is due to a timeout setting on the IronPdf licensing server. When the connection times out, the internal process considers the connection lost, triggering the above error message.

Workarounds

Currently, there is no direct fix for this issue. However, you can try the following temporary workaround:

  • Restart the project: Simply rerunning the project may help establish a successful connection with the licensing server.
  • Check Firewall & Network Restrictions: Ensure that the required URL (https://licensingapimanager.azure-api.net) is whitelisted and not being blocked by network policies or security software.