Comments (5)
Could you please provide more details?
You may also try shadowsocks-hub https://github.com/shadowsocks/shadowsocks-hub.git. It has web ui that can display traffic chart.
from shadowsocks-hub-api.
I use curl command to check out traffic stored in database. It seem like shadowsocks-hub-api is not getting any traffic usage update from shadowsocks-rest-api. Just checked shadowsocks-rest-api returned 500 error.
from shadowsocks-hub-api.
fixed the shadowsocks-rest-api bug.
from shadowsocks-hub-api.
sorry for late reply. I want to take more time to test the fix. It's confirm working. can you please explain when the traffic request is sent to shadowshocks-rest-api? I noticed if not traffic, database will not get updated. only update when traffic goes through vpn. Also "lastmetterreading" is the same as "usage" if so why need both fields?
from shadowsocks-hub-api.
Thanks for the confirmation. It's good to know it's working as expected.
Traffic request is sent to shadowsocks-rest-api periodically. But the database will be updated only if there is new traffic (preventing saving duplicate traffic data).
lastmaterreading
is not always the same as the usage
, bug very often they would be the same...
from shadowsocks-hub-api.
Related Issues (10)
- Extended token expiration option HOT 3
- Can you open source your source code which without mangled?
- 500 Internal Server Error on get account request HOT 1
- Crash when run api.js HOT 1
- Shadowsocks account not working HOT 1
- A route for user (not admin) to get their accounts HOT 1
- where is unminify code? HOT 1
- traffic api 401 Unauthorized HOT 1
- UnhandedPromiseRejection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadowsocks-hub-api.