Volume calculation results in reactjs (most often with iframes)

When trying to calculate volumes in WebODM (iFrame), the popup display returns blank (just says “Measurement” and Center on this area / Delete). In the browser console, the following error is returned:

The issue occurs in both latest versions of Firefox and Chrome.

Hey @ITWarrior do you have a link to the page hosting the iframe?

Hi @pierotofy, I’ve PMd you a couple of URLs. You’ll see that the public regular link works fine for volume calculations, but when that public link is embedded in another site the calculations do not work.

I don’t have any Content Security Policies set yet (that was my first assumption), so it’s not that.

Are you running WebODM using docker?

The volume calculation URL is currently not working, because of an authentication error.

{"detail":"Authentication credentials were not provided."}

Seems like a bug (I can reproduce it on a different installation). Must be a regression from the Django update of a few weeks ago. Could you open an issue on https://github.com/OpenDroneMap/WebODM/issues? :pray:

Thank you!

I did this earlier but didn’t get time to report back until now:

Yes, using Docker.

I tried to embed an iframe but it is still showing blank window, even export tiff is not working. Maybe some bug with new version

Has anyone found a solution ?