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

Marzban didn't calculate node/users usage for 10 hours (second time this is happening for me) #1199

Open
iamtheted opened this issue Jul 29, 2024 · 5 comments
Assignees
Labels
C: Backend P0 T: Bug Something isn't working

Comments

@iamtheted
Copy link

Hi there!

This has been the second time that Marzban doesn't record node usage & users' usage for 10 hours until I noticed all users have been offline for 10 hours and I knew something was wrong, so I restarted Marban and looks like it's all fine now.

This has happened 2 times to me and 1 time for my friend @real_kia and both times I haven't even been awake, I was asleep 10 hours ago from the time panel shows so I don't think I have done anything that caused it, besides I am very careful with Marzban and I haven't once switched to other versions like "dev" or something and I am using Marzban v0.5.2

First time it happened I remember it was on 4th version, not sure which one exactly
Second time, today, v0.5.2

Both times the issue was solved by restarting Marzban, it solved the issue for my friend @real_kia too and unfortunately we didn't check the logs at the time that this happened so all we know is that there's a problem but not exactly sure what's wrong.

Please see if you have any ideas,
Also, I ask anyone who has experienced this to comment possible reason here

@iamtheted iamtheted added the T: Bug Something isn't working label Jul 29, 2024
@mdjvd
Copy link

mdjvd commented Jul 29, 2024

This also happened to me once about 3 months ago. I woke up in the evening and I saw my users are showing offline for 14 hours.
I have to mention that I am using the dev version and have been keeping my panel updated regularly since then and this hasn't occurred to me again.
Here are some logs that I saved then when it happened.
image

@iamtheted
Copy link
Author

iamtheted commented Jul 29, 2024

I have to say:

The first time my nodes were connected without rest, I don't know if nodes supported rest that time or not

But the second time which is today, all nodes were connected using "rest" protocol

I don't know if this information helps you in any way to find the reason of this issue

@xmohammad1
Copy link

xmohammad1 commented Jul 29, 2024

something similar happend for me few days ago
image
im using marzban on 0.5.2

@iamtheted iamtheted changed the title Marzban doesn't calculated node/users usage for 10 hours (second time this is happening for me) Marzban didn't calculated node/users usage for 10 hours (second time this is happening for me) Jul 29, 2024
@iamtheted iamtheted changed the title Marzban didn't calculated node/users usage for 10 hours (second time this is happening for me) Marzban didn't calculate node/users usage for 10 hours (second time this is happening for me) Jul 29, 2024
@Real-kia
Copy link

I had the same issue last week.
everything got fixed after restarting marzban
but i didnt find out why this happened

im using Mrazban v0.4.9 (dev)

@erfjab
Copy link
Contributor

erfjab commented Jul 30, 2024

Thank you for your report. This issue will be investigated.

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

No branches or pull requests

6 participants