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

Bot stuck on loading #538

Closed
Adasqu opened this issue Nov 7, 2022 · 9 comments · Fixed by #544
Closed

Bot stuck on loading #538

Adasqu opened this issue Nov 7, 2022 · 9 comments · Fixed by #544
Labels
bug Something isn't working

Comments

@Adasqu
Copy link

Adasqu commented Nov 7, 2022

Hi,
After install I can't login to frontend and stuck on loading page.
In ws I have:
obraz
On browser:
{"command":"latest","authToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRoZW50aWNhdGVkQXQiOiIyMDIyLTExLTA3VDE3OjMxOjI4LjI1MVoiLCJpYXQiOjE2Njc4NDIyODgsImV4cCI6MTY2Nzg0OTQ4Ok0.OXr3Ke4OKk95zeUF3DDKcem2HaBH_ZFJiqS1D5QK6N4","data":{"page":1,"searchKeyword":"","sortBy":"default","sortByDesc":false}}
On docker:
{"name":"binance-api","version":"0.0.93","hostname":"dd1f1cef3a7c","pid":46,"gitHash":"26a1edc","server":"websocket","payload":{"command":"latest","authToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRoZW50aWNhdGVkQXQiOiIyMDIyLTExLTA3VDE5OjAyOjE4LjUwMVoiLCJpYXQiOjE2Njc4NDc3MzgsImV4cCI6MTY2Nzg1NDkzOH0.vENNQ_OEw9Q1Uw0n6EaR2VNA4k_pSqB9vY4kv3OFunc","data":{"page":1,"searchKeyword":"","sortBy":"default","sortByDesc":false},"isAuthenticated":true},"level":50,"err":{"message":"Unexpected token u in JSON at position 0","name":"SyntaxError","stack":"SyntaxError: Unexpected token u in JSON at position 0\n at JSON.parse ()\n at Object.handleLatest [as latest] (/srv/dist/server.js:1:119233)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async WebSocket. (/srv/dist/server.js:1:114883)"},"msg":"Something wrong with trailing-trade-common cache","time":"2022-11-07T19:05:11.986Z","v":0}

@Adasqu Adasqu added the bug Something isn't working label Nov 7, 2022
@gufei
Copy link

gufei commented Nov 8, 2022

same problem

redis key trailing-trade-common:account-info not exist,I don't know where it was set

@topdollar3
Copy link

Same here, using binance testnet key and test mode in the bot env. Stuck on loading after entering the password

@FernandoHiagon
Copy link

same here with latest release

@chrisleekr
Copy link
Owner

Hi guys,

Sorry for the late reply.

Please refer Troubleshooting wiki page and get the error log.

https://github.com/chrisleekr/binance-trading-bot/wiki/Troubleshooting

Without an error log, I won't be able to find out what is happening.

And please make sure your key and BINANCE_MODE are correct.

@ArcousSoftware
Copy link

ArcousSoftware commented Nov 28, 2022

The same problem continues.

image

@smalik003
Copy link

smalik003 commented Nov 30, 2022

{"name":"binance-api","version":"0.0.94","hostname":"fc64d7b7c46a","pid":46,"gitHash":"29944c1","server":"websocket","payload":{"command":"latest","authToken":"","data":{"page":1,"searchKeyword":"","sortBy":"buy-difference","sortByDesc":false},"isAuthenticated":true},"level":50,"err":{"message":"Unexpected token u in JSON at position 0","name":"SyntaxError","stack":"SyntaxError: Unexpected token u in JSON at position 0\n at JSON.parse ()\n at Object.handleLatest [as latest] (/srv/dist/server.js:1:119454)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async WebSocket. (/srv/dist/server.js:1:115058)"},"msg":"Something wrong with trailing-trade-common cache","time":"2022-11-30T10:19:32.158Z","v":0}

I got this issue after updating it to latest version, tried resetting all images/configuration still stuck on loading

@chrisleekr
Copy link
Owner

Guys,

I've added the error message.
In my experience, most of your issues are caused by using the wrong API key/secret.

This fix will show the possible scenario of errors.

image

@smalik003
Copy link

Screenshot 2022-11-30 145407

Issue still persists

@RealAyyo
Copy link

RealAyyo commented Dec 4, 2022

@chrisleekr json for account-info not parsing
bad json in response

const accountInfo = JSON.parse(cacheTrailingTradeCommon['account-info']);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants