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.
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
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.
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.
We have a very similar issue where accessing any unprotected SVG saved as a File throws the "MediaProtect Error validating" error but provides no other information. There are no other log events.
In actual fact, accessing any media saved as a File seems to throw the same error.
We have a valid license for this project and it is stored at the correct place.
I though maybe it might be other middleware but it's difficult to where the MediaProtect library is falling over because the exception itself isn't output in the logs.
We discovered that the issue (in our case) was the that the v10 CMS cache was probably out of date/corrupt. We ran the 3 options rebuilding the database cache, reloading the memory cache and then refreshing the published content cache and the error went away.
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.
Hi Mikkel,
I Think the error is related to licensing do you see a license error in the backoffice?
Best,
Richard
Hi Richard.
There's no indication of a license error in the backoffice, as far as I can tell.
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
I have tried invoking the error in different browsers on multiple machines. But no related errors are getting logged in the log overview.
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?
Yeah, I tried re-indexing the mediaprotect items yesterday.
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.
Is the Umbraco user logged in maybe? Then it';s possible that you have access. Tried anothher browser in private mode?
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.
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
@Richard, did you have find a solution for this?
We have a very similar issue where accessing any unprotected SVG saved as a File throws the "MediaProtect Error validating" error but provides no other information. There are no other log events.
In actual fact, accessing any media saved as a File seems to throw the same error.
We have a valid license for this project and it is stored at the correct place.
I though maybe it might be other middleware but it's difficult to where the MediaProtect library is falling over because the exception itself isn't output in the logs.
Replying to myself for reference ...
We discovered that the issue (in our case) was the that the v10 CMS cache was probably out of date/corrupt. We ran the 3 options rebuilding the database cache, reloading the memory cache and then refreshing the published content cache and the error went away.
Hi,
Sorry for the delay in response. Isn't the Url that got accessed being logged as well, according to source that should happen?
Best,
Richard
is working on a reply...