Stats API Not Working - No Traffic Stats for Inbounds, Outbounds, or Users #4509
Closed
ChandraNakka
started this conversation in
General
Replies: 1 comment
-
Oops! My bad — I placed a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Xray Team,
First of all, thank you for developing and maintaining this fantastic project! Over the past week, I have been experimenting with Xray and learning a lot about its capabilities. However, I have run into an issue with the Stats API, which is not returning any traffic-related statistics for inbounds, outbounds, or users.
Issue Description
I have configured the stats-related settings in my Xray server, but when I execute API commands to retrieve stats, I get the following errors:
Even after running Xray for over an hour, with multiple active sessions and speed tests exceeding 1GB of traffic, the stats API still returns nothing.
Server Details
/xray/xray api stats -s 0.0.0.0:2048 -name "inbound>>>example>>>traffic>>>downlink"
/xray/xray api statsquery -s 0.0.0.0:2048 -pattern ''
Current Configuration File
Steps I Have Tried
Questions & Assistance Needed
I greatly appreciate any guidance or recommendations you can provide. Looking forward to your response.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions