Welcome Guest Search | Active Topics | Sign In | Register

A connection attempt was refused while generating PDF Options
Raju Ipl
Posted: Tuesday, January 23, 2018 8:58:15 AM
Rank: Newbie
Groups: Member

Joined: 1/23/2018
Posts: 3
Hi,

In our web application, we used EO.PDF. While sending the mails we generate the PDF using the url and send as an attachment to the email. We are getting the error "Error in ExportToPDF()" - A connection attempt was refused

I tried to access the page with domain name on the same server and able to browse the application without any error. But, when EO PDF attempts to convert to PDF using the URL in the same server it's throwing the below error.

Title:*** ERROR *** - Error in ExportingToPDF() Message: A connection attempt was refused.
--> A connection attempt was refused.
--> at EO.Internal.pb.a(adk A_0, String A_1, String A_2, String A_3, Int32 A_4, Int32 A_5, String A_6, Boolean A_7)
at EO.Pdf.HtmlToPdfSession.a(adk A_0, String A_1, String A_2, Int32 A_3, Int32 A_4, String A_5, Boolean A_6)
at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options)
at :line 241

Let me know how can we solve this issue?

eo_support
Posted: Tuesday, January 23, 2018 12:57:26 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

What version of EO.Pdf do you use? If you use an older version of EO.Pdf for an HTTPS page, then it's possible that your web server would refuse the connection from EO.Pdf because older version of EO.Pdf uses an older version of TSL, which are turned off (in favor of newer version) on many web server. In this case if you connect with an up to date browser (that would support newer version of TSL) it would work fine, but if you connect with EO.Pdf, the connection would be refused. To resolve this issue, you would need to update to newer version of EO.Pdf.

Thanks!
Raju Ipl
Posted: Tuesday, January 23, 2018 2:16:41 PM
Rank: Newbie
Groups: Member

Joined: 1/23/2018
Posts: 3
We are using http pages but still this error occurring with the latest version of EO.PDF
eo_support
Posted: Tuesday, January 23, 2018 2:30:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
In that case it will be a simple network issue --- the connection can't be made between the converter and your web server and you should not be able to make the same connection with a browser either. This is the only cause for such case.

If you do not believe that's the case, you can duplicate this problem in your environment and give us RDP access to the server and we will be happy to take a look. Make sure that:

1. You create a simple test application with exactly the same Url you load in your browser;
2. Run your test application you would get the connection error;
3. Load the same Url in browser on the same computer it would load fine;

Thanks!
Raju Ipl
Posted: Tuesday, January 23, 2018 2:33:23 PM
Rank: Newbie
Groups: Member

Joined: 1/23/2018
Posts: 3
Thanks for the quick reply. Let me test the scenario and share you the status.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.