I have my PWS credentials correct, but I am getting the following error message.
Can't establish a connection due networking error; Check your connectivity to the internet and firewall settings.
What is wrong?Answer:
Most likely there is a firewall, or some other network security measurement, getting in the way.
The following is information you will want to pass to your network admin.
PDFNet will make an HTTPS connection to api.pdftron.com
, which is a CNAME, and will resolve to a
Also you need to make sure that your firewall is not stripping headers, in particular the "Authorization: Basic <base64_encoded_key>" header.Supplemental
You can also test your connection to PWS outside of PDFNet SDK, or one of our command line tools, by trying the following.
1. Put the following url into your browser and make sure you get a "<status>ok</status>"api.pdftron.com/v2/
2. Go to this url https://api.pdftron.com/v2/document
and for username enter your API_ID, and for password enter your API_Secret