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

There is no active user #18

Closed
sunilink opened this issue Aug 21, 2023 · 2 comments
Closed

There is no active user #18

sunilink opened this issue Aug 21, 2023 · 2 comments

Comments

@sunilink
Copy link

Hi. During the execution of the script, I get this result. Active users in fact about 10. Could you tell me what the problem might be?

-----run------
There is no active user
-----done-----

@houshmand-2005
Copy link
Owner

Hi, first make sure your Marzban is the latest version
then if you don't live in Iran you must replace your location in the code
IP_LOCATION
because script only considers IPs related to your location (to increase accuracy)
you can get your timezone and your location from https://ip-api.com/
Also it is better to replace your timezone(DATE_TIME_ZONE) that this site gave you so that the logs show you the correct time


But if you want to do the simpler way, replace this file with the original v2_ip_limit.py file
Locations are not considered in this file
v2_ip_limit.zip

@sunilink
Copy link
Author

It works, thanks!

@houshmand-2005 houshmand-2005 pinned this issue Mar 7, 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