Copied to clipboard

Flag this post as spam?

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


  • Luke 7 posts 77 karma points
    Jul 27, 2021 @ 13:11
    Luke
    0

    Umbraco 8.15 invite user freezes

    We usually create new users but want to move to inviting the users instead since that's just a lot more convenient for everyone involved.

    I tested it this morning but it seems to not be working for us and I can't figure out why.

    I have a sendgrid api config as smtp:

    <system.net>
        <mailSettings>
            <!--API Key in Sendgrid-->
            <smtp deliveryMethod="Network">
                <network host="smtp.sendgrid.net" userName="apikey" password="[the key]" enableSsl="false" port="587" />
            </smtp>
        </mailSettings>
    </system.net>
    

    (Also tested this without the deliveryMethod attribute)

    All our User configuration is out of the box Umbraco. I don't receive any http errors or anything, the button just keeps displaying the loading circle and it just never returns (eventually times out)

    I don't see any errors or warnings in the Umbraco Log or in Event viewer. Using the forgot password function from the login screen of Umbraco backoffice does work however, which (if I'm not mistaken) uses the same smtp settings and everything.

    Does anyone else have this problem or know of a way to fix it/figure out what is wrong?

  • Brendan Rice 487 posts 848 karma points
    Jul 27, 2021 @ 14:11
    Brendan Rice
    0

    Hey Luke, does anything appear on the SendGrid dashboard logs?

  • Luke 7 posts 77 karma points
    Jul 27, 2021 @ 14:16
    Luke
    0

    Hello Brendan,

    Unfortunately no, I can see the reset password mail in Sendgrid, but not the invitation

  • Luke 7 posts 77 karma points
    Aug 06, 2021 @ 13:08
    Luke
    0

    As a small update on this. I recently cloned the Umbraco 8 source code, installed it with an empty database and invited a user there with only having the smtp settings altered to use SendGrid and this worked.

    Strangely enough if I install Umbraco 8.15.1 via Nuget in an empty project and do the same, this does not work.

    Anyone have any idea on this? I'm not sure what I can run as tests anymore or what I can alter to make this work.

  • Brendan Rice 487 posts 848 karma points
    Aug 06, 2021 @ 13:26
    Brendan Rice
    0

    Maybe do a compare on the config files and see if there are any differences.

    Try:

    • web.config
    • /config/*
  • Luke 7 posts 77 karma points
    Aug 06, 2021 @ 13:50
    Luke
    0

    Hello Brendan,

    There are some differences as it's the source code, v8/contrib. So some differences in assemblies in the web.config. I don't really see any differences that would have an effect on this however. A clean install of both should essentially be the same otherwise, shouldn't it? If I only add the smtp settings. without altering anything else. I'm assuming both of them should work exactly the same, no other nuget packages, no custom code, nothing.

Please Sign in or register to post replies

Write your reply to:

Draft