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
[Kucoin Sandbox] Sample application startup fails due to http error 403 thrown during Exchange initialization #686
Comments
Hi @lucarosellini there is a problem with Kucoin Sandbox server. I send them a message to ask them to fix it but no reply yet. |
Thanks a lot for the info @straumat, I'll keep trying from time to time to check whether or not kucoin fixed the issue. |
@lucarosellini I will keep you updated if they give a reply to my email |
@lucarosellini for information, I run a strategy with positions (short and long) with 5.0.1 for 3 weeks with Kucoin and there was no problem. |
@lucarosellini I'm on holiday so i will see that later but if you have time, they asked me to connect to to them throw Instagram: |
HI @straumat! The issue still exists for me. On 5.0.3 and 5.0.1, it doesn't matter. I try to connect to https://sandbox.kucoin.com/ but after executing mvn spring-boot:run always get an error Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tech.cassandre.trading.bot.configuration.ExchangeAutoConfiguration': Invocation of init method failed; nested exception is tech.cassandre.trading.bot.util.exception.ConfigurationException: Unknown configuration error: si.mazi.rescCould you please advise anything in this case? Thanks in advance, |
@331520 Yes. Kucoin did not update the sandbox yet. But it works perfectly in kucoin production... |
Thank you @straumat |
Any news on this? |
@sebasira nope : |
2 December - Still got the error. If you know an exchange who have a sandbox, I would be glad to change the default account in cassandre. |
@straumat thanks for the update. Bybit does have a very nice testnet, but unfortunately it's not yet supported by XChange. |
@lucarosellini thx ! I will keep an eye on Xchange support for Bybit |
Testing today, I get a new error: 401. After logging to my sandbox account I created a new API access:
When I try to connect, I get this new error (with 5.0.6):
I need some time to go check in the XChange library. |
The error comes from the fact that, for USDN, kucoin returns null values for I created a pull request for XChange: knowm/XChange#4376 |
The problem is now solved. In
If Xchange did not close my pull request, you have to download my XChange release and build it with: Then in your pom.xml, set this release:
Yout bot should start now on the sandbox ! |
Release number
5.0.1
Describe the bug
I get an http error 403 with response body
{"code":"400007","msg":"Access denied, require more permission."}
from Kucoin Sandbox while calling the endpoint https://openapi-sandbox.kucoin.com/api/v1/base-fee at Exchange initialization during the sample application startup.The Kucoin Sandbox account used is brand new.
To Reproduce
Expected behavior
The application should start up correctly and the sample strategy should start to run.
Screenshots
Additional context
Attaching the full application startup log with logging level for 'si.mazi.rescu' set to TRACE (API Information hidden).
cassandre-app-startup.log
The text was updated successfully, but these errors were encountered: