Hey guys and girls!
We have a little problem with a somewhat classic scenario:
We have two websites, both developed using Kentico 10.
EventDescription: Message: Unable to connect to the remote server
Exception type: System.Net.WebException Stack trace: at System.Net.HttpWebRequest.GetResponse() at CMS.DocumentEngine.Web.UI.XMLDataSource.GetDataSourceFromDB()
Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
It seems to be a firewall issue. Both servers are in the same domain. We have already tried white listing port 7780 but the problem persists. The link is accessible through browser though! Any help would be appreciated
Hi Kaveh,
Not 100% sure on your setup, but could this be TLS related?
Maybe try setting TLS 1.2 in the Application_Start event handler of Global.asax.cs using:
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
Please, sign in to be able to submit a new answer.