Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • shanem 39 posts 93 karma points
    Mar 05, 2014 @ 15:21
    shanem
    0

    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:

    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:

    • Umbraco 4.11.9 (Assembly version: 1.0.4898.17344)
    • Courier 2.7.8.15.v4
    • uComponents 5.3.0
    • FamFamFam Icon Package 1
    • DateFolders 1.4
    • HTTPS Redirect 1.2.0

    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!

  • shanem 39 posts 93 karma points
    Mar 05, 2014 @ 16:39
    shanem
    0

    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.

  • shanem 39 posts 93 karma points
    Mar 05, 2014 @ 17:56
    shanem
    0

    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?

  • Per Ploug 865 posts 3491 karma points MVP admin
    Mar 07, 2014 @ 10:25
    Per Ploug
    0

    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?

  • shanem 39 posts 93 karma points
    Mar 07, 2014 @ 10:38
    shanem
    0

    Thanks Per for the reply! Could you please explain what you mean by "you add an exception to this authentication"?

  • Per Ploug 865 posts 3491 karma points MVP admin
    Mar 07, 2014 @ 10:45
    Per Ploug
    100

    By no means an IIS expert, but something along these lines: http://forums.iis.net/t/1179546.aspx

  • shanem 39 posts 93 karma points
    Mar 07, 2014 @ 12:31
    shanem
    0

    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.

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft