Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Abde1
Contributor III
Contributor III

tFTPPut component generate "Unexpected CryptoAPI failure generating seed"

Hi all,

Please we have job using tFTPPut

 component failing time to time (Sftp connection).

The error we catch is:

Exception in thread "main" java.lang.InternalError: Unexpected CryptoAPI failure generating seed

at sun.security.provider.NativeSeedGenerator.getSeedBytes(Unknown Source)

 

We added into the job java parameter -Djava.security.egd=file:/dev/urandom but it does not help.

We are on windows, we are using zulu8.38.0.13 and tried with zulu8.52.0.23.

We also tried Oracle jre1.8.0_201 with lib\security\java.security having the parameter updated to securerandom.source=file:/dev/urandom

Any help is welcome, we do not know the origin of the issue and some are saying it is a bug from Java.

Regards

Labels (3)
1 Solution

Accepted Solutions
gjeremy1617088143

Hi have you test :-Djava.security.egd=file:/dev/./random ? random instead of urandom

Send me Love and Kudos

 

 

 

View solution in original post

3 Replies
gjeremy1617088143

Hi have you test :-Djava.security.egd=file:/dev/./random ? random instead of urandom

Send me Love and Kudos

 

 

 

Abde1
Contributor III
Contributor III
Author

Hi Jeremy,

I am testing it and come back to you!

Thanks

Abde1
Contributor III
Contributor III
Author

Hi Jeremy,

it works like a charm, we did not get failure since one week.

 

Thanks a lot