HuobiRDCenter / huobi_Java

Java SDK for Huobi Spot API
https://www.htx.com/zh-cn/opend/newApiPages/
Apache License 2.0
266 stars 201 forks source link

Verification failure [校验失败] #73

Open 8lWVPjpTraP96fRCHvYFhrjVJmzrdFVF opened 3 years ago

8lWVPjpTraP96fRCHvYFhrjVJmzrdFVF commented 3 years ago

修改 API_KEYSECRET_KEY 以后,使用 https://api.huobi.de.com 的地址,调用:

   AccountClient accountService = AccountClient.create(HuobiOptions.builder()
        .apiKey(Constants.API_KEY)
        .secretKey(Constants.SECRET_KEY)
        .build());

    List<Account> accountList = accountService.getAccounts();

提示:

Exception in thread "main" com.huobi.exception.SDKException: [Executing] api-signature-not-valid: Signature not valid: Verification failure [校验失败]

请问有哪位同学知道哪里有问题吗?谢谢。

chenc990755790 commented 3 years ago

face the same issue