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

Internet Speed always reports 0KB/s #94

Closed
perrycate opened this issue Feb 8, 2014 · 4 comments
Closed

Internet Speed always reports 0KB/s #94

perrycate opened this issue Feb 8, 2014 · 4 comments
Labels

Comments

@perrycate
Copy link

I double checked that yes, the computer is connected to the internet. I remember the earlier versions of linux-dash worked fine, but it doesn't now.

Has the Internet Speed meter switched to only reporting used bandwidth, or what? (If so, that would explain it - my server sits idle most of the time...)

@tariqbuilds
Copy link
Owner

That widget's data shows the download speed for a 10MB file download executed on PHP-side.

To debug, go to [your server]/linux-dash/sh/speed.php in a browser. What comes up?

Also, are there any errors in the console (browser) when you refresh the Internet speed widget?

@perrycate
Copy link
Author

navigating to speed.php in the browser simply results in a blank screen. This is what the console outputs when dash is loaded:

GET http://10.0.0.2/sh/speed.php 500 (Internal Server Error) jquery.js:4
send jquery.js:4
f.extend.ajax jquery.js:4
f.(anonymous function) jquery.js:4
dashboard.getIspeed dashboard.js:243
dashboard.getAll dashboard.js:277
(anonymous function) base.js:22
o jquery.js:2
p.fireWith jquery.js:2
e.extend.ready jquery.js:2
c.addEventListener.B jquery.js:2

When the refresh button for network speed is clicked:

Uncaught TypeError: Object # has no method '' base.js:26
(anonymous function) base.js:26
f.event.dispatch jquery.js:3
h.handle.i jquery.js:3

Tell me if there is any more I can do to help.

@commonquail
Copy link
Contributor

Do you have php5-curl?

When the refresh button for network speed is clicked:

This should be fixed as of last night.

@perrycate
Copy link
Author

You were right on both counts. Thanks for the help, and keep up the good
work!

On Sun, Feb 9, 2014 at 8:14 AM, commonquail notifications@github.comwrote:

Do you have php5-curl?

When the refresh button for network speed is clicked:

This should be fixed as of last night.

Reply to this email directly or view it on GitHubhttps://github.com//issues/94#issuecomment-34573397
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants