Welcome Guest Search | Active Topics | Sign In | Register

Load balancer issues. Options
awalker
Posted: Friday, August 24, 2012 2:29:44 PM
Rank: Newbie
Groups: Member

Joined: 8/24/2012
Posts: 4
We are running a load balancer to go between different servers. I am not sure if it is do to the load balancer that we are getting an error:

Failed to convert Url 'http://www.naturessunshine.com/us/products/product/DefaultForPDF.aspx?sku=30&language=1'.(1007:Failed to connect the remote server.) /n at UserControls_General_GeneratePdf.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

We don't get the error on Local or Test, or if we use a specific servers IP. The only time we get the error is when we access our site through the load balancer. Has anyone else run into this problem?

Thank you for any help you can provide.
eo_support
Posted: Friday, August 24, 2012 2:35:31 PM
Rank: Administration
Groups: Administration

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

This is usually a DNS error. See here for more details:

http://www.essentialobjects.com/doc/4/web/aspxtopdf.aspx

Look for "Troubleshooting ASPX to PDF". The documentation is for ASPXToPDF, however the idea applies to anything that runs on your server side.

Note that while it is USUALLY a DNS issue, it can be anything else. The root of the problem is you are not able to connect to your web server from within your web server. That is something that you may ultimiately need your network administrator to fix.

Thanks!
awalker
Posted: Friday, August 24, 2012 3:55:46 PM
Rank: Newbie
Groups: Member

Joined: 8/24/2012
Posts: 4
I looked through the Troubleshooting ASPX to PDF. When we log into one of our web servers and access the URL with a browser the page does load correctly. What we are thinking the problem could be, and we might be way off on this, is: we have 6 web servers, when I go to www.oursite.com it passes through the load balancer and will end up on one of the 6 servers. From there when I click on the link that triggers the HtmlToPdf, it tries to connected to www.oursite.com which again passes through the balancer and will end up on one of the 6 servers. If this second request lands on a different server will that cause this error we are seeing?
eo_support
Posted: Friday, August 24, 2012 4:00:24 PM
Rank: Administration
Groups: Administration

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

It's fine if you land on a different server. The HTML to PDF converter does not care which server responds. As long as it can get a response it's happy. The error message you have indicates it CAN NOT EVENT CONNECT to the server.

Thanks
awalker
Posted: Friday, August 24, 2012 4:18:33 PM
Rank: Newbie
Groups: Member

Joined: 8/24/2012
Posts: 4
That is good to know, thank you. I will get with our network guys again.
awalker
Posted: Friday, August 31, 2012 11:19:30 AM
Rank: Newbie
Groups: Member

Joined: 8/24/2012
Posts: 4
I have another question about this if I may. Do you know by chance what might be causing the server to deny access? Are there rights that need to be allowed? Would we be getting this error if the licence was not verified correctly?
eo_support
Posted: Friday, August 31, 2012 11:23:16 AM
Rank: Administration
Groups: Administration

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

No. We have no idea why your server would deny access. Your network administrator should be able to tell you that. The issue wouldn't have anything to do with license either.

Thanks!


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.