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

Front end empty page #116

Closed
slabon opened this issue Feb 23, 2017 · 10 comments
Closed

Front end empty page #116

slabon opened this issue Feb 23, 2017 · 10 comments

Comments

@slabon
Copy link

slabon commented Feb 23, 2017

Everything is up and running fine, I get miners connected and mining but I get an empty front end page with background and footer.
I've been looking at each installation step again and again, even re-done the install but don't find a solution...
Any idea what could be my problem?

Thank you!

@mikeyb
Copy link

mikeyb commented Feb 23, 2017

Do you see anything in the dev console of your browser? Are there any errors on the webserver that is suppose to render the page?

@slabon
Copy link
Author

slabon commented Feb 23, 2017

No errors visible
redis-server is fine
geth is fine
open-ethereun-pool is fine
miners get work and shares are accepted
and I've balance in account.
in dev console I get:
ember-cli-live-reload.js Failed to load resource: the server responded with a status of 404 (Not Found) loader.js:239 Uncaught Error: Could not find module undefined/appimported from(require) at missingModule (loader.js:239) at findModule (loader.js:250) at requireModule (loader.js:20) at app-boot.js:4

@slabon
Copy link
Author

slabon commented Feb 23, 2017

Ok sorry, so ember wasn't running...
now this is what the dev console says:
ember.debug.js:6797DEBUG: ------------------------------- ember.debug.js:6797DEBUG: Ember : 2.8.3+c4330341 ember.debug.js:6797DEBUG: Ember Data : 2.10.0 ember.debug.js:6797DEBUG: jQuery : 3.1.1 ember.debug.js:6797DEBUG: ------------------------------- ember.debug.js:6797DEBUG: For more advanced debugging, install the Ember Inspector from https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi http://localhost:8080/api/stats Failed to load resource: net::ERR_CONNECTION_RESET vendor.js:29713 undefined defaultDispatch @ vendor.js:29713

And I get a Stats API Temporarily Down msg on the page.

I guess my upstream api isn't properly configured...

Could you tell me how to configure nginx properly?

@mikeyb
Copy link

mikeyb commented Feb 23, 2017

what does the nginx config look like currently?

@slabon
Copy link
Author

slabon commented Feb 23, 2017

I edited /etc/nginx/sites-available/default

upstream api {
server 127.0.0.1:8080;
}
server {
listen 80 default_server;
listen [::]:80 default_server;

    root /home/pool/open-ethereum-pool/www/dist/;

    server_name _;

    location / {
            # First attempt to serve request as file, then
            # as directory, then fall back to displaying a 404.
            try_files $uri $uri/ =404;
    location /api {
    proxy_pass http://api;
    }
    }

}

@mikeyb
Copy link

mikeyb commented Feb 23, 2017

if you run build.sh does that get things going?

@slabon
Copy link
Author

slabon commented Feb 23, 2017

I'll try now.
Is my nginx config correct?

@slabon
Copy link
Author

slabon commented Feb 23, 2017

still the same after build.sh
does this affects build?
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.

@slabon
Copy link
Author

slabon commented Feb 23, 2017

I was about to clean install but it seem the go-ethereum repository got edited a few hours ago...

package github.com/ethereum/go-ethereum/logger: cannot find package "github.com/ethereum/go-ethereum/logger" in any of:
/usr/local/go/src/github.com/ethereum/go-ethereum/logger (from $GOROOT)
/home/pool/open-ethereum-pool/build/_workspace/src/github.com/ethereum/go-ethereum/logger (from $GOPATH)
package github.com/ethereum/go-ethereum/logger/glog: cannot find package "github.com/ethereum/go-ethereum/logger/glog" in any of:
/usr/local/go/src/github.com/ethereum/go-ethereum/logger/glog (from $GOROOT)
/home/pool/open-ethereum-pool/build/_workspace/src/github.com/ethereum/go-ethereum/logger/glog (from $GOPATH)

@sammy007
Copy link
Owner

sammy007 commented Apr 7, 2017

It was fixed but ethash package is broken again by go-ethereum team. Waiting for a fix.

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