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

Dashboard not loading miners on Firefox and Brave; Opera works ? #216

Closed
marvin8 opened this issue Dec 6, 2018 · 9 comments
Closed

Dashboard not loading miners on Firefox and Brave; Opera works ? #216

marvin8 opened this issue Dec 6, 2018 · 9 comments

Comments

@marvin8
Copy link

marvin8 commented Dec 6, 2018

When I am loading the dashboard on Opera the miners are shown as expected.

When I load the exact same url for the dashboard on Firefox or Brave browsers, none of the miner details are shown and only "Loading ..." is shown.

What am I doing wrong?

PS: I am not loading index.html :)

Oh and thanks for sharing your work with us. Very much appreciated.

@Bendr0id
Copy link
Owner

Bendr0id commented Dec 6, 2018

Sound for me like you have some js blocker like noscript... The dashboard is almost pure js. Make sure you disable js blocking for the dashboard.

@marvin8
Copy link
Author

marvin8 commented Dec 6, 2018

Haven't got a JS blocker as such installed on any browser...
However I have Decentraleyes plugin and Privacy Settings plugin installed in Firefox

However I haven't got any plugins like that installed on Brave. So having issues on Brave surprises me.

Anything I can do to work out which bit is not working right?

@djfinch
Copy link

djfinch commented Dec 6, 2018

Please open Tools/Web Developer/Network page, select XHR --> Response and double-check if you receiving JSON object which is then displayed inside the table...

image

@Bendr0id
Copy link
Owner

Bendr0id commented Dec 6, 2018

screenshot_2018-12-06_09-57-58

Works for me on FF too.

@marvin8
Copy link
Author

marvin8 commented Dec 6, 2018

Thanks @djfinch
That part seems to be working ok... it seems like I am getting responses:
responses

@djfinch
Copy link

djfinch commented Dec 6, 2018

You're welcome. That's good. At least server sending responses and browser getting them thus ajax works. So we need to figure out why datatables cannot render them... Is something shown inside console? Looks like (as Ben mentioned before) some scripts are blocked. Can you also test the behavior inside 'New Private Window'?

@marvin8
Copy link
Author

marvin8 commented Dec 6, 2018

Ok... While you were responding I poked around a bit more and found in the console that I FF couldn't load a couple of scripts:

https://cdnjs.cloudflare.com/ajax/libs/jquery-timeago/1.6.1/jquery.timeago.min.js
https://cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js

I think the reason Opera could load them is because I have opera set-up to use a SOCKS5 proxy. Neither my FF or Brave are using a proxy.

Disabling the proxy on Opera makes the list of miners not show in Opera as well.

So It's a network issue in my situation.

I guess I could download the scripts and host with on the same host where the server runs. Would have to edit the index.html page of course.
Can I have the server serve the scripts as well?

@djfinch
Copy link

djfinch commented Dec 6, 2018

EDIT

So you don't want proxy then? You can download these missing scripts, edit index.html and serve them from server as well as index page, indeed.

Well, looks like you're in the same situation as I am... :) Behind very restrictive firewall...
Please make sure that this below is also enabled...
image

@marvin8
Copy link
Author

marvin8 commented Dec 6, 2018

Actually in my case the proxy made it work... :)
But I'd like it to work without, so I am going to host the scripts my self on the server I know I can reach without a proxy...

Thanks for your help... Feel free to close this issue when it suits you.
It is obviously nothing wrong with the software but an issue on my side that I can work around.

@Bendr0id Bendr0id closed this as completed Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants