Copied to clipboard

Flag this post as spam?

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


  • David Amri 214 posts 740 karma points
    Jul 27, 2018 @ 07:47
    David Amri
    0

    Unable to connect to location with Courier

    Hi,

    After upgrade to Umbraco 7.11.1 I'm not able to connect to my Courier (3.1.4) loactions.

    Error "Server was unable to process request. ---> Value cannot be null. Parameter name: The string which needs to be decrypted can not be null."

    I did move from legacyEncoding="true" to false. After the change I was able to reset my admin password and update all other user passwords. I'm able to login and update passwords without any issues after the migration on all users.

    I have tried changing this:

    <auth>
       <method>credentials</method>
       <apikey></apikey>
    </auth>
    

    to this (on send and receiver location with the same apikey):

    <auth>
       <method>token</method>
       <apikey>XXXXXXXXXX</apikey>
    </auth>
    

    The repository markup looks like this:

    <repository name="http://location.com" alias="http://locationcom" type="CourierWebserviceRepositoryProvider" visible="true">
       <url>http://location.com</url>;
       <user>4</user>
    </repository>
    

    The user id 4 is set to user group with credentials to access courier in the user group settings. Have I broken the whole thing by migrating from legacyEncoding true to false?

    Also, would the setting:

    <usernameIsEmail>true</usernameIsEmail>
    

    make things go wrong?

    I need help...

    / David

  • David Amri 214 posts 740 karma points
    Jul 27, 2018 @ 08:26
    David Amri
    100

    Found the problem, my CSP security headers fcuked it up... I'm able to connect now. :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies