-
Notifications
You must be signed in to change notification settings - Fork 88
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
Pool is Down Currently for maintenance. #2
Comments
Nevermind, I was able to figure this out. I have been playing around with it. I haven't made my api public yet. I have been trying to see if this will work for what I want it to. I am stumped at one thing though. I have it where two coins are present. On home page it will show stats for the second one but will not when you click on coin..... |
@knowndragon - I'm having this issue as well. What do you mean by making your API public? config.json API block: // API Settings Is there something I need to change? |
I figured it out. I had to change 'var api' in miningcore.js a bit:
Works fine now. I followed the readme but it did not say anything about adding the port: it should be like this: Awesome frontend BTW, nice work! |
Wondering if this is still working for others here in 2021, I am working off a fork of this and trying to expand on it but I too am stuck with this maintenance state on the website. Did all the changes to the JS file but it seems maybe its not passing port 4000 to the front end. Backend shows API is running, no issues actually at all in backend console so curious if anyone is still around to advise what I may need to do with nginx. I am using Nginx Proxy manager too so unsure if that maybe in the way |
also have this issue - docs not clear on setting for miningcore.js I am not seeing a config item for online vs offline I am not following the steps for adding var API as IP address vs full domain url. Please advise. Would like to setup multiple coins on pool and host over several physical machines and ip's |
var API = "http://192.168.1.241/" + "api/"; if you have the port listed than take it out - if you dont, then add it in |
Need to change api bind address to 0.0.0.0 in config.json (miningcore side)
Change to
|
Hello to everyone from 2022! I also had this problem. I applied all the tips from this discussion, but nothing helped me. Please look at my configs. What did I miss? miningcore.js
config.json (from miningcore/build)
the backend is working. I'm writing curl -v http://192.168.1.8:4000/api/pools and I get a json response about my pool |
Change var API = WebURL + "http:/ip:4000/api/"; to var API = "http://ip:port/api/"; |
Hi I hope some one find this helpful $ curl ifconfig.me #2 $ sudo nano /etc/nginx/sites-enabled/default Edit the root path from root /var/www/html; CTR+X save and exit reload nginx $ sudo systemctl restart nginx.service 3# check firewall status make sure to allow stratum + api +http/s ports $ sudo ufw allow 80/tcp 4# edit miningcore.js which is located /Miningcore.WebUI/js // Config #2 works // WebURL correction if not ends with / //Config #1 works // Config #2 works //working config #1 // Make sure to use one of the configs do not use 2 configs for API or WebURL just use one and comment the other good luck |
I never got it working... |
I see that you have var API = "http://192.168.1.8:4000/" + "api"; Change it to |
maybe you have multiple sites at /etc/nginx/sites-enabled |
If there is even one coin daemon " coind" not fully sysnced and you add it to your pool config file then all of the pool coins will show maintenance or not showing any thing at home page of the pool coins sections . you must fully sync the coin and create the config file in the coin root directory and create address using coin-cli after that you can add it to your pools just the first time after that if the coin drop out of sync no problem the api will still show it on the home page along with the other coins . |
How we can just ignore that error? My pool gives me that error lots of times per day, I need to refresh page about 10 times and tadaa its shows right again. |
Hello, I have changed the information that is in the miningcore.cs.
When i bring up the website i see the colorful website and even can edit the html files. The only issue is that it brings up: The pool is down currently for maintenance. I would really like to use this interface but for the life of me can't get past this. Miningcore is working and pushing payouts like it should. Just the WEBUI seems not to be connecting.
I have been in the website business before. I am currently about to start a shift that would allow for me to get back into it and maintain it full time. Any help would be appreciated.
The following is my edit.
The text was updated successfully, but these errors were encountered: