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

with-netstats bug - Mac OSX deployment #1

Open
bundlking opened this issue Sep 18, 2015 · 7 comments
Open

with-netstats bug - Mac OSX deployment #1

bundlking opened this issue Sep 18, 2015 · 7 comments

Comments

@bundlking
Copy link

Thanks for an awesome bit of work!

Mac OSX, installed the dockerfile, all runs well on the ethereum front,
https://www.dropbox.com/s/sqgaobsw5h84e1z/Screenshot%202015-09-17%2021.59.34.png?dl=0

but no netstats visible in browser from the statsmon instance - does netstats visualiser need to be started separately / is there an instruction missing here?

Thanks in advance,

Jon

@konradkonrad
Copy link
Owner

Hi @bundlking
not sure, what the issue is. Once statsmon is running (which your screenshot indicates), you should be able to open the netstats webpage.

May be a port/ip/routing issue specific to OSX?

Try other aliases for localhost, e.g.:

This is just wild guessing so far. You can also try to portscan your machine, to find out if the service is available at port 3000 (which would hint at a browser issue).

Please let me know your progress!

@fuzzyrobot
Copy link

Hi,

I was also stuck at this point. I don't have a great understanding of how docker works and how the nodes interact with each other through it but following the instructions for the simple version works.

And I might need to be walked through the steps for the with-netstats version because I can't seem to get things working beyond initiating the statsmon and seeing the browser page (with no stats registering there).

Thanks for your work @konradkonrad !

@konradkonrad
Copy link
Owner

Alright, I have no OSX to try, but from reading the docs about how to Acess container ports on OSX, there seems to be one more indirection to tackle:
Instead of forwarding the port to your host machines loopback, it can only be forwarded to the virtualbox instance running docker. Try acessing the ip that

docker-machine ip default

gives you, at port 3000 (e.g. http://192.168.59.103:3000).

If this still doesn't do it, try changing https://github.com/konradkonrad/docker-pyeth-cluster/blob/master/with-netstats/docker-compose.yml#L43 to "0.0.0.0:3000:3000" and retry.

Please report if it works!

@fuzzyrobot
Copy link

Just incase I wasn't clear I'm on ubuntu, I can open my browser to 127.0.0.1:3000 and see the netstats page. No data is being recorded there, however.

What is the basic chain of commands, like you listed in the readme for the simple version, that I need to get this one running correctly?

I'm not 100% sure how to actually access each node that docker created. I'm trying to use the commands you listed for "Interactive container" section of your readme but it's not connecting to all nodes or mining.

Did you suggest in your previous message to see if the containers are set up by default to work with a different port? So should I try and stop/rm statsmon, change the url as you suggested, and then start another statsmon?

Thanks!

@konradkonrad
Copy link
Owner

@fuzzyrobot oh. It seems like you're having a different issue then.
Make sure, you docker rm all instances of the simple version before you start over with with-netstats (also check with docker ps -a for any stopped instances). If you still can't get it to work, please file a different issue.

@fuzzyrobot
Copy link

Ah didn't realise this issue said macosx.

I tried that already, will create new issue

@konradkonrad
Copy link
Owner

Hey @bundlking is this issue still valid for you?

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