Giter Site home page Giter Site logo

Comments (5)

Eggham avatar Eggham commented on May 13, 2024

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.

rchen9012 avatar rchen9012 commented on May 13, 2024

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.
9e2536ab-bce9-47fa-9a42-9d1b45a57c73

from shadowsocks-hub-api.

Eggham avatar Eggham commented on May 13, 2024

fixed the shadowsocks-rest-api bug.

from shadowsocks-hub-api.

rchen9012 avatar rchen9012 commented on May 13, 2024

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?

screen shot 2018-08-14 at 12 53 11 am

from shadowsocks-hub-api.

Eggham avatar Eggham commented on May 13, 2024

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).

lastmaterreadingis not always the same as the usage, bug very often they would be the same...

from shadowsocks-hub-api.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.