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

Bandwidth Graph Anomaly in Brave #1012

Open
lidel opened this issue Apr 11, 2019 · 1 comment
Open

Bandwidth Graph Anomaly in Brave #1012

lidel opened this issue Apr 11, 2019 · 1 comment

Comments

@lidel
Copy link
Member

lidel commented Apr 11, 2019

Part of an effort to run embedded js-ipfs in Brave 🦁 ipfs/ipfs-companion#716

Problem

While working on js-ipfs in Brave I noticed embedded HTTP API exposed by js-ipfs produced buggy graph (note "s" on the left axis on screens below).

js-ipfs 0.35.0-rc.5

Sample graph from Brave:

2019-04-11--22-19-51
Sample js-ipfs response for /api/v0/stats/bw:

{"TotalIn":"31848851","TotalOut":"1440904","RateIn":"6.158484647860612","RateOut":"5.028479187074011"}

go-ipfs 0.4.19

Sample graph from Brave:

2019-04-11--22-47-06

Sample go-ipfs response for /api/v0/stats/bw:

{"TotalIn":183758816,"TotalOut":355038782,"RateIn":5376.543583100996,"RateOut":9682.160239299323}

Reproducibility

Did some testing and this issue occurs in regular Brave Beta using vanilla Web UI. Interestingly, the problem does not show on Google Chrome Beta, looking at the same Web UI+API produces normal graph. I tested this on two linux machines.

Versions

  • Web UI version: QmfQkD8pBSBCBxWEwFSu4XaDVSWK6bjnNuaWZjMyQbyDub (v2.4.4)
  • Brave versions: 0.61, 0.63.35 💢 (issue seen on screenshots below)
  • Firefox version: 66 👼 (works ok)
  • Google Chrome version: 73.0 👼 (works ok)

Is anyone else using Brave and can confirm this is a real issue and not something on my end?
(The ask is to open Web UI in Brave via menu item in IPFS Companion)

@olizilla
Copy link
Member

Yep, I can recreate on Brave beta Version 0.64.60 Chromium: 74.0.3729.91 (Official Build) beta (64-bit) on macOS

Screenshot 2019-04-23 at 16 23 01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Needs Grooming
Development

No branches or pull requests

2 participants