Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Issue with NiFi 2.0.0-M4: crypto.randomUUID is not a function Error

avatar
New Contributor

I recently downloaded the latest version of NiFi (nifi-2.0.0-M4) and installed it by placing the folder in /opt/nifi-2.0.0-M4. The only modifications I made were in the nifi-env.sh and nifi.properties files as follows:

nifi-env.sh

export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64

nifi.properties

# Site to Site properties
nifi.remote.input.host=10.37.10.199
nifi.remote.input.secure=false
nifi.remote.input.socket.port=10000
nifi.remote.input.http.enabled=true
nifi.remote.input.http.transaction.ttl=60 sec
nifi.remote.contents.cache.expiration=60 secs

# web properties #
#############################################

# For security, NiFi will present the UI on 127.0.0.1 and only be accessible through this loopback interface.
# Be aware that changing these properties may affect how your instance can be accessed without any restriction.
# We recommend configuring HTTPS instead. The administrators guide provides instructions on how to do this.

nifi.web.http.host= 0.0.0.0 # Here goes the IP of my virtual machine in Ubuntu
nifi.web.http.port=8443
nifi.web.http.network.interface.default=

#############################################

nifi.web.https.host=
nifi.web.https.port=

When I run ./nifi.sh start, the server starts correctly and there are no errors in the console. However, when I open the URL in the browser, the page remains blank and the following error appears in the browser console:

TypeError: crypto.randomUUID is not a function

Additional Information:

  • Operating System: Ubuntu
  • Java Version: OpenJDK 21
  • NiFi Version: 2.0.0-M4

Has anyone else encountered this issue or can provide guidance on how to resolve it? Any help would be greatly appreciated!

Screenshot 2024-07-12 161846.jpg

 

2 REPLIES 2

avatar
New Contributor

Hi,

I am also facing the same problem with no solution at the moment. Sharing some information which may shed some light as to why the issue is observed.

https://stackoverflow.com/questions/105034/how-do-i-create-a-guid-uuid/2117523#2117523

avatar
Community Manager

@SAMSAL @MattWho Hi! Do you have any insights here? Thanks!


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: