Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I know I've seen others that have had this problem, but I don't see anything that has helped so far.
I have a local instance where I am doing some development work. I also have a "dev" environment, prod still to come, that is hosted in an azure web app.
Cannot connect to the destination http://nottherealsitehost.azurewebsites.net//umbraco/plugins/courier/webservices/repository.asmx
First, whats with the double slash? Second, if I take that full address I can access the web service in a browser.
I've tried what I can. I even got 3.1.7 off the nightly builds(why is 3.16 the one still in the package directory if 3.1.7 has been out since May?). I tried to apply the hotfix package as well, but that errors out in the install page.
I need to get this running ASAP, and given that I can find some, but not very many others with this issue on the web, I'm hoping its something simple.
So I wrote a console app to do a simple HTTPClient get from the web service and it connects just fine.
The exception that is coming from the connection attempt in Umbraco is a connection forcibly closed. Which doesn't make much sense. If it were an azure firewall issue, why would I be able to hit the service from a browser or the console app?
Did you install Courier on target site too?
Rather an old question - not sure if you resolved it or not David, but for others with similar problems, for me the issue was with TLS/SSL connections, and the .NET framework level.
If you've configured your Azure sites to use a minimum TLS Version of 1.1 or higher, you'll need to tell .NET about that.
In your OnApplicationStarting method, you'll need to add the following line:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
This will force the .NET framework for your application to use TLS 1.2 for all secure connections.
For more details see the Remarks section of the SecurityProtocol docs.
David, Did you ever resolve this issue? Running into the same problem now and I would love to hear what you did to fix this.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted