Setting up node on Windows OS - Generators error


#1

Hi, I’m trying to figure out how to setup a Vostok node on Windows OS. I can’t get past the account generator and api key hash. Generators-x.x.x.jar keeps popping up an error. Has anyone encountered this on Windows?

C:\Vostok>java -jar generators-1.0.0.jar ApiKeyHash api-key-hash.conf
2019-06-09 19:02:27,957 ERROR [ecution-context-global-10] c.w.g.ApiKeyHashGenerator$ - Generator future failed…
2019-06-09 19:02:27,965 ERROR [ecution-context-global-10] c.w.g.ApiKeyHashGenerator$ - Fail happens, message: null. Exception class: ExceptionInInitializerError

C:\Vostok>java -jar generators-1.0.0.jar AccountsGeneratorApp accounts.conf
2019-06-09 19:02:57,477 INFO [ecution-context-global-10] c.w.g.AccountsGeneratorApp$ - The final configuration:
cryptoSettings: WavesCryptoSettings
chainId: L
amount: 1
wallet: C:/Vostok/wallet/keystore.dat
walletPassword: somepassword
reloadNodeWallet: disabled

2019-06-09 19:02:57,666 ERROR [ecution-context-global-10] c.w.g.AccountsGeneratorApp$ - Generator future failed…
2019-06-09 19:02:57,676 ERROR [ecution-context-global-10] c.w.g.AccountsGeneratorApp$ - Fail happens, message: null. Exception class: ExceptionInInitializerError


#3

Ok I think it’s a bug on the release version 1.0.0 or we are missing a parameter in the config file that you have not updated your documentations. because I downloaded the older version 0.8.0 and run the same command and it worked:

D:\Vostok>java -jar generators-0.8.0.jar AccountsGeneratorApp accounts.conf
2019-06-09 21:22:51,282 INFO [ecution-context-global-10] c.w.g.AccountsGeneratorApp$ - The final configuration:
wavesCrypto: true
chainId: V
amount: 2
wallet: d:/vostok/wallet/keystore.dat
walletPassword: somepassword
reloadNodeWallet: disabled

2019-06-09 21:22:54,172 INFO [ecution-context-global-10] c.w.g.AccountsGeneratorApp$ - 2 accounts was created:
2019-06-09 21:22:54,172 INFO [ecution-context-global-10] c.w.g.AccountsGeneratorApp$ - Address: 3Ndkj6wnmZXMVucomXKn6zueUJFBqNKvRiZ; public key: 2zpnqpJ3ZS1mpWEtfMdo2XqPgJ2YwXmkLn9CNxxJjvL5
2019-06-09 21:22:54,172 INFO [ecution-context-global-10] c.w.g.AccountsGeneratorApp$ - Address: 3NosrdQzeCn9pwk9ACKkAvCNtwTUwWkKsRy; public key: 2qeqSVrvF491nuWYf5t4UFBbjaAmSBERnv49PrqYvnCu
2019-06-09 21:22:54,172 INFO [ecution-context-global-10] c.w.g.AccountsGeneratorApp$ - Generator future done


#4

Hello.
Thank you for reporting the problem. We tried to repeat this in other OS and all passed with no errors. In Windows it maybe some problem with default PATH to wallet.dat. Anyway we will try to fix the problem as soon as possible, thank you again.
Best regards, Waves Community Manager.