Gozargah / Marzban

Unified GUI Censorship Resistant Solution Powered by Xray
https://t.me/gozargah_marzban
GNU Affero General Public License v3.0
3.34k stars 463 forks source link

Marzban users states not updating and console errors after prolonged use #948

Closed GuardCat closed 5 months ago

GuardCat commented 5 months ago

Describe the bug After several days of operation, the Marzban service begins to exhibit errors. Initially, the service functions correctly, but after a couple of weeks, sometimes sooner, an error occurs. The console displays multiple errors, and the web panel fails to update user states, showing all users as offline despite the service remaining operational.

To Reproduce

  1. Start the Marzban service and use it normally for a few days.
  2. After a couple of weeks, observe the console for any error messages.
  3. Check the web panel to view user states.
  4. Notice that all users appear offline and the console logs multiple errors.

Expected behavior The expected behavior is for the Marzban service to run continuously without errors, with the web panel accurately reflecting user states.

Errors' details https://gist.github.com/GuardCat/7b932e2fb8486d5dd2c46ebeeae1598e

Machine details (please complete the following information):

Additional context I use the docker version of Marzban.

M03ED commented 5 months ago

which version of marzban you using ?

GuardCat commented 5 months ago

which version of marzban you using ?

v0.4.9 from releases. To be accurate: I installed version 0.4.6 and have had several updates through the default script.

M03ED commented 5 months ago

v0.4.9 from releases. To be accurate: I installed version 0.4.6 and have had several updates through the default script.

which node protocol ?

GuardCat commented 5 months ago

v0.4.9 from releases. To be accurate: I installed version 0.4.6 and have had several updates through the default script.

which node protocol ?

I'm sorry, but I'm not sure where to find that information. Could you please guide me on where to look?

M03ED commented 5 months ago

check you node docker file , what's SERVICE_PROTOCOL value ?

M03ED commented 5 months ago

i'm waiting

M03ED commented 5 months ago

i close this issue because i didn't get any answer