Copied to clipboard

Flag this post as spam?

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


  • Mikkel Hansen 10 posts 80 karma points
    Dec 01, 2021 @ 11:26
    Mikkel Hansen
    0

    Mediaprotect configuration error when accessing unprotected image

    Hi.

    Using Umbraco 8.17.0 and Media protect 2.8.4 on Umbraco Cloud.

    We're getting a Mediaprotect configuration error when trying to access a PNG image from the media archive where the relative URL is formatted like this: /media/jx2lctjw/logo.png?quality=100.

    The image is not protected and works just fine when accessing it without the query string.

    The error only seems to trigger on this image when quality is set to 100 and is the first parameter in the query string.

  • Richard Soeteman 3990 posts 12598 karma points MVP
    Dec 01, 2021 @ 13:37
    Richard Soeteman
    0

    Hi Mikkel,

    I Think the error is related to licensing do you see a license error in the backoffice?

    Best,

    Richard

  • Mikkel Hansen 10 posts 80 karma points
    Dec 01, 2021 @ 13:59
    Mikkel Hansen
    0

    Hi Richard.

    There's no indication of a license error in the backoffice, as far as I can tell.

  • Richard Soeteman 3990 posts 12598 karma points MVP
    Dec 01, 2021 @ 14:10
    Richard Soeteman
    0

    I just did a check and worked over here. What you could check is the Umbraco log file to see if there is an error logged there. It could be that the configuration error is displayed because the exception was thrown

  • Mikkel Hansen 10 posts 80 karma points
    Dec 02, 2021 @ 08:03
    Mikkel Hansen
    0

    I have tried invoking the error in different browsers on multiple machines. But no related errors are getting logged in the log overview.

  • Richard Soeteman 3990 posts 12598 karma points MVP
    Dec 02, 2021 @ 08:05
    Richard Soeteman
    0

    Weird, Mediaprotect only looks at this part of the url /media/jx2lctjw/ and will ignore the rest. Have you tried re-index mediaprotect items already?

  • Mikkel Hansen 10 posts 80 karma points
    Dec 02, 2021 @ 08:19
    Mikkel Hansen
    0

    Yeah, I tried re-indexing the mediaprotect items yesterday.

  • Mikkel Hansen 10 posts 80 karma points
    Jan 05, 2022 @ 10:10
    Mikkel Hansen
    0

    Hi Richard.

    We have another case of a PNG image suddenly giving the Media Protect configuration error on the same solution. But this time, the error is triggered when no query string parameters are specified.

  • Richard Soeteman 3990 posts 12598 karma points MVP
    Jan 05, 2022 @ 10:12
    Richard Soeteman
    0

    Is the Umbraco user logged in maybe? Then it';s possible that you have access. Tried anothher browser in private mode?

  • Mikkel Hansen 10 posts 80 karma points
    Jan 05, 2022 @ 11:02
    Mikkel Hansen
    0

    So I have just tried accessing the image in Edge, Firefox, and Chrome in private mode. But they are all are giving the same error.

    I have also tried accessing the image while logged in as a Umbraco user and a member via a custom login. But it still results in the same error.

  • Richard Soeteman 3990 posts 12598 karma points MVP
    Jan 05, 2022 @ 11:54
    Richard Soeteman
    0

    Hi Mikkel,

    I am really curious what domain this is? Maybe you can send it to [email protected]? I've just checked a few other customers site on cloud that don't have this issue with the same parameters appended to the image.

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft