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.
I have applied the courier license file on both.
I modified the courier config on the local instance to have a repository of the azure instance. I tried both with a user and clear pw, and with just the user id.
I tried on both, setting debug to true, and clearing courier cache(there was no cache folder as described in the common issues page I saw).
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?
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:
Courier can't reach destination
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.
We get: 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: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.
Thanks!
is working on a reply...