Samourai-Wallet / whirlpool-client-cli

Command line Whirlpool client
Other
16 stars 13 forks source link

HTTP query failed: status 400 #24

Closed DAKExDUCK closed 1 year ago

DAKExDUCK commented 1 year ago
$ java -version                                                                                                                                                                                               1 ↵
openjdk version "11.0.18" 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.18+10-post-Ubuntu-0ubuntu122.04, mixed mode, sharing)
2023-04-22 20:05:15.021  INFO 2662554 --- [           main] c.samourai.wallet.client.Bip84ApiWallet  :  • Initializing bip84 wallet: 0
2023-04-22 20:05:15.828 ERROR 2662554 --- [           main] c.s.http.client.JavaHttpClient[BACKEND]  : Http query failed: status=400, responseBody={
  "status": "error",
  "error": ""
}
2023-04-22 20:05:15.845 ERROR 2662554 --- [           main] com.samourai.whirlpool.cli.Application   : 

com.samourai.wallet.api.backend.beans.HttpException: java.lang.Exception: Http query failed: status=400
    at com.samourai.http.client.JavaHttpClient.requestJson(JavaHttpClient.java:96) ~[classes!/:na]
    at com.samourai.http.client.JavaHttpClient.requestJsonGet(JavaHttpClient.java:60) ~[classes!/:na]
    at com.samourai.http.client.JacksonHttpClient.getJson(JacksonHttpClient.java:41) ~[whirlpool-client-0.23.18.jar!/:na]
    at com.samourai.wallet.api.backend.BackendApi.fetchAddresses(BackendApi.java:62) ~[extlibj-0.0.11.jar!/:na]
    at com.samourai.wallet.api.backend.BackendApi.fetchAddress(BackendApi.java:71) ~[extlibj-0.0.11.jar!/:na]
    at com.samourai.wallet.client.Bip84ApiWallet.fetchAddress(Bip84ApiWallet.java:100) ~[whirlpool-client-0.23.18.jar!/:na]
    at com.samourai.wallet.client.Bip84ApiWallet.<init>(Bip84ApiWallet.java:50) ~[whirlpool-client-0.23.18.jar!/:na]
    at com.samourai.wallet.client.Bip84ApiWallet.<init>(Bip84ApiWallet.java:29) ~[whirlpool-client-0.23.18.jar!/:na]
    at com.samourai.whirlpool.client.wallet.WhirlpoolWalletService.computeWhirlpoolWallet(WhirlpoolWalletService.java:152) ~[whirlpool-client-0.23.18.jar!/:na]
    at com.samourai.whirlpool.cli.services.CliWalletService.openWallet(CliWalletService.java:137) ~[classes!/:na]
    at com.samourai.whirlpool.cli.services.CliService.run(CliService.java:180) ~[classes!/:na]
    at com.samourai.whirlpool.cli.Application.run(Application.java:111) ~[classes!/:na]
    at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:770) ~[spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
    at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:760) ~[spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:318) ~[spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) ~[spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
    at com.samourai.whirlpool.cli.Application.main(Application.java:62) ~[classes!/:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
    at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:47) ~[whirlpool-client-cli-0.10.5-run.jar:na]
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:86) ~[whirlpool-client-cli-0.10.5-run.jar:na]
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) ~[whirlpool-client-cli-0.10.5-run.jar:na]
    at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) ~[whirlpool-client-cli-0.10.5-run.jar:na]
Caused by: java.lang.Exception: Http query failed: status=400
    ... 25 common frames omitted

2023-04-22 20:05:15.849  INFO 2662554 --- [           main] c.s.whirlpool.cli.services.CliService    : ------------ whirlpool-client-cli ending ------------