When trying to upload files in the UI we get an error saying that crypto.randomUUID is not a function.
Only happens on insecure contexts like http and when not using localhost
Secure context: This feature is available only in [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts) (HTTPS), in some or all [supporting browsers](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID#browser_compatibility).
Steps to reproduce
Run the UI docker container on a VM that has a IP address you can access
Bug
Overview
When trying to upload files in the UI we get an error saying that
crypto.randomUUID
is not a function. Only happens on insecure contexts likehttp
and when not usinglocalhost
Reason: https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID
Steps to reproduce
http
like: http://1.2.3.4:8080/Expected behavior
Should be able to upload the file without errors.
Actual behavior
We get an error like
Version info
Additional context
Found by a user running Move2Kube on a VM and accessing it from their laptop because they don't have Docker installed.