Courier 2.7.8.15.v4 breaking during packaging after buying Express version
Hello.
The error I get in AppData/courier/logs/logError.txt is:
System.Net.WebException: The request failed with the error message:
Object moved to <a href="/?ReturnUrl=%2fumbraco%2fplugins%2fcourier%2fwebservices%2frepository.asmx">here</a>.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.OpenSession(String sessionKey)
at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package()
at Umbraco.Courier.Core.TaskManager.manageTask(IRevisionTask value)
I've read through most of the forums and help documentation around Courier but can't fix my issue. These are some of the URLs I've looked at:
I read that SSL might be the issue so I uninstalled HTTPS Redirect and removed the certificate in IIS, but that still didn't help.
I cleared courier cache folders, that didn't help.
I tried uninstalling and reinstalling Courier, but that didn't work.
I've checked my dlls and they all seem fine. I have the correct Umbraco.Courier.EventHandlers.V4.dll and Umbraco.Courier.Persistence.V4.NHibernate.dll files.
I gave Everyone read/write (full control) access to the Umbraco\plugins\courier folder, still no luck.
This version of Courier was working fine locally before I bought the Express version. When I view the domains assign to my license I can see just the production domain and not the dev domains. Is there a way to view them?
Please could someone help me out with the SOAP exception. Thanks!
I think the reason Courier can't access the http://xyz/umbraco/plugins/courier/webservices/repository.asmx web service is because the URLhttp://xyz in the courier.config file I have on my dev machine points to our staging site and this has IIS basic authentication enabled with a user name and password.
So if I visit the staging URL I get a dialog to enter the IIS username and password for that site. We need this to secure our staging sites from the public. I'm not sure how you get around this using Courier, or even if it is possible? I believe you can modify the request header to send authentication details but is this built into Courier and how can I set it?
Thank you Per this solved my problem! I allowed anonymous access and disabled basic authentication on the web services folder for courier. See the screen shot.
Courier 2.7.8.15.v4 breaking during packaging after buying Express version
Hello.
The error I get in AppData/courier/logs/logError.txt is:
I've read through most of the forums and help documentation around Courier but can't fix my issue. These are some of the URLs I've looked at:
https://github.com/umbraco/Courier/blob/master/Documentation/CommonIssues.md
http://our.umbraco.org/forum/umbraco-pro/courier/24560-Document-Moved
http://our.umbraco.org/forum/umbraco-pro/courier/41332-Broken-Documents-(410)-and-Courier
http://our.umbraco.org/forum/umbraco-pro/courier/44731-How-to-solve-Courier-problems
This is my set up:
What I tried to fix it:
I read that SSL might be the issue so I uninstalled HTTPS Redirect and removed the certificate in IIS, but that still didn't help.
I cleared courier cache folders, that didn't help.
I tried uninstalling and reinstalling Courier, but that didn't work.
I've checked my dlls and they all seem fine. I have the correct Umbraco.Courier.EventHandlers.V4.dll and Umbraco.Courier.Persistence.V4.NHibernate.dll files.
I gave Everyone read/write (full control) access to the Umbraco\plugins\courier folder, still no luck.
I have browsed to the asmx web service in my browser http://xyz/umbraco/plugins/courier/webservices/repository.asmx and this works. I can see the web service details, but still get this error when trying to packed in Courier.
This version of Courier was working fine locally before I bought the Express version. When I view the domains assign to my license I can see just the production domain and not the dev domains. Is there a way to view them?
Please could someone help me out with the SOAP exception. Thanks!
I have also tried setting the login details to my admin user in the courier.config file instead of using
<user>0</user>
, but this doesn't help either.I think the reason Courier can't access the http://xyz/umbraco/plugins/courier/webservices/repository.asmx web service is because the URL http://xyz in the courier.config file I have on my dev machine points to our staging site and this has IIS basic authentication enabled with a user name and password.
So if I visit the staging URL I get a dialog to enter the IIS username and password for that site. We need this to secure our staging sites from the public. I'm not sure how you get around this using Courier, or even if it is possible? I believe you can modify the request header to send authentication details but is this built into Courier and how can I set it?
Nope, cant get around that as far as I know, the webservice is secure by itself, so could you add an exception to this authentication?
Thanks Per for the reply! Could you please explain what you mean by "you add an exception to this authentication"?
By no means an IIS expert, but something along these lines: http://forums.iis.net/t/1179546.aspx
Thank you Per this solved my problem! I allowed anonymous access and disabled basic authentication on the web services folder for courier. See the screen shot.
is working on a reply...