Comments (8)
I have to restart dcrstakepool 3-5 times per day.
On this hype number of registrations reached 1000 users and it goes down very often after new registration.
Currently, I'm making a bash script which will check page status and restart the service if it's not 200. But I hope we can find a better solution than restart and resync it so many times per day.
from dcrstakepool.
OK I'll give it another look soon (once the release work for 0.8.0 is done with). I did look at it a couple weeks ago but had difficulty reproducing it on my unloaded testnet/dev pool which made it hard to debug.
from dcrstakepool.
I'm running without the smarter connectivity PR changes, but when I tried it on testnet ages ago, I think the status URL triggered reconnect
from dcrstakepool.
From an admin IP that is
from dcrstakepool.
Actually, it seems that this time it happened after failed stakepooluserinfo
request.
What I see in the dcrstakepool.log:
18:20:29 2017-02-08 [TRC] DCRS: Sending command [stakepooluserinfo] with id 6
18:20:31 2017-02-08 [ERR] DCRS: Websocket receive error from XXX:9110: unexpected EOF
18:20:31 2017-02-08 [TRC] DCRS: Disconnecting RPC client XXX:9110
18:20:31 2017-02-08 [TRC] DCRS: Shutting down RPC client XXX:9110
18:20:31 2017-02-08 [TRC] DCRS: RPC client input handler done for XXX:9110
18:20:31 2017-02-08 [TRC] DCRS: Sending command [stakepooluserinfo] with id 77
18:20:31 2017-02-08 [TRC] DCRS: RPC client output handler done for XXX:9110
And wallet.log:
18:20:32 2017-02-08 [WRN] RPCS: Websocket receive failed from client 81.2.253.91:45685: read tcp4 XXX:9110->81.2.253.91:45685: use of closed network connection
18:20:32 2017-02-08 [WRN] RPCS: Failed websocket send to client 81.2.253.91:45685: write tcp4 XXX:9110->81.2.253.91:45685: i/o timeout
18:20:32 2017-02-08 [INF] RPCS: Disconnected websocket client 81.2.253.91:45685
Wallet was online all this time and continue working ok. I see some voted tickets right after this sockets error. Of course, stakepool will never try to reconnect, so now only 2 wallets are still connected.
from dcrstakepool.
Pretty sure going to /status from an admin IP is supposed to reconnect
from dcrstakepool.
@dajohi I believe this can be closed thanks to #494
from dcrstakepool.
@jholdstock ok to close this?
from dcrstakepool.
Related Issues (20)
- Improve golint score HOT 3
- Transition from account-based to ticket-based system HOT 6
- Display pool fee address and percentage more prominently
- Lost redeem script HOT 6
- Design and API proposal for accountless operation HOT 5
- nginx limit_req delay HOT 1
- Show vote choices without the need to click HOT 1
- Home page: focus on rewards, not profits HOT 1
- Configurable certificate directory HOT 3
- enable simnet HOT 3
- I have several live tickets, they are not showing on the Tickets page HOT 11
- Open tickets block explorer links in new tab
- stakepoold: Make startup redeem script checking more efficient HOT 2
- rpc error: code = Unknown desc = -4: Method not found HOT 2
- VSP "working" flag in API HOT 1
- Failed to revoke tickets: -4:
- AddMissingTicket RPC failed
- README: Add notice about vspd
- Add deprecation notice and vspd link to UI home page
- Create tag and release for latest dcrstakepool
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcrstakepool.