Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keystore issue #48

Open
han-so1omon opened this issue Nov 20, 2023 · 1 comment
Open

keystore issue #48

han-so1omon opened this issue Nov 20, 2023 · 1 comment

Comments

@han-so1omon
Copy link

I created a project following the instructions here. I did not create a keystore on project creation, but made it after with drogon keystore from here

I got to the deploy step, and tried a local deploy

drogon deploy --local -k passwordHere --uri http://localhost:9080/api/v3

I get the following error:

drogon deploy --local --uri http://localhost:9080/api/v3 -k test
 _ .-') _  _  .-')                                             .-') _ ,---. 
( (  OO) )( \( -O )                                           ( OO ) )|   | 
 \     .'_ ,------.  .-'),-----.   ,----.     .-'),-----. ,--./ ,--,' |   | 
 ,`'--..._)|   /`. '( OO'  .-.  ' '  .-./-') ( OO'  .-.  '|   \ |  |\ |   | 
 |  |  \  '|  /  | |/   |  | |  | |  |_( O- )/   |  | |  ||    \|  | )|   | 
 |  |   ' ||  |_.' |\_) |  |\|  | |  | .--, \\_) |  |\|  ||  .     |/ |  .' 
 |  |   / :|  .  '.'  \ |  | |  |(|  | '. (_/  \ |  | |  ||  |\    |  `--'  
 |  '--'  /|  |\  \    `'  '-'  ' |  '--'  |    `'  '-'  '|  | \   |  .--.  
 `-------' `--' '--'     `-----'   `------'       `-----' `--'  `--'  '--'  
Loaded wallet hxde936976cde011e23b26b882d92adc99866b7932
☐  pending   Deploying contracts
Discovered DIVE container: cf80880e85966a88c0e4736f26343d3a214b47a9bb88c0553c8f80de48d958a5
Deploying optimized contract: hello-world-0.1.0-optimized.jar
☐  pending   Copying optimized contract src/hello-world/build/libs/hello-world-0.1.0-optimized.jar to container
Copying file hello-world-0.1.0-optimized.jar to /goloop/app/hello-world-0.1.0-optimized.jar
Creating directory src/hello-world/build/libs

> Task :src:hello-world:deployToLocal FAILED
>>> deploy to http://localhost:9082/api/v3
>>> optimizedJar = /goloop/app/src/hello-world/build/libs/hello-world-0.1.0-optimized.jar
>>> keystore = /goloop/app/.keystore.json

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':src:hello-world:deployToLocal'.
> java.io.FileNotFoundException: /goloop/app/.keystore.json (No such file or directory)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s
1 actionable task: 1 executed
✖  fatal     Failed to deploy contracts
@han-so1omon
Copy link
Author

Same thing even when generating the keystore from drogon for the project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant