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

It stops getting values #36

Open
gfelisberto opened this issue Sep 12, 2021 · 4 comments
Open

It stops getting values #36

gfelisberto opened this issue Sep 12, 2021 · 4 comments

Comments

@gfelisberto
Copy link

I have the the bot running in DEBUG mode and after some time it stops printing any info:

{"level":20,"time":1631441693536,"pid":18552,"hostname":"raspberrypi","msg":"Ticker price: 2906.94"}

This was some 5 hours ago. This has happened two times. Any extra debug I can add? The node process is still running.

@LeviathanLevi
Copy link
Owner

Hey gfelisberto,

I had experienced random hang ups when running the program on a windows 10 home laptop, I wasn't able to track down the cause before I switched to a Linux server where I no longer had any issues.

Make sure that where ever you're viewing/storing the logs didn't run out of space, since it could be that the logs stopped displaying but the process is still running in the background. If you're on windows you may want to investigate the process to see if it's still running.

@gfelisberto
Copy link
Author

I have this running on Linux and I don't think the disk was empty. I tried to clean the drive and restarted.

@gfelisberto
Copy link
Author

Same thing and now it was like 10 minutes. And when I restart it theres is no position file:
{"level":30,"time":1633730256108,"pid":32724,"hostname":"raspberrypi","msg":"No positionData file found, starting with no existing position."}

@gfelisberto
Copy link
Author

I am not JS expert do I cannot really help, but I think that the WebSocket may get closed and the library is not detecting. One way would be to use the Coinbase ping notification to see if the WS is still alive and if not reconnect.

Repository owner deleted a comment from devsquadcore Mar 14, 2024
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

2 participants