-
Notifications
You must be signed in to change notification settings - Fork 519
Service run on production server stops #100
Comments
Does the service output give you any indication as to why it stops working? Are there any errors appearing in the logs? Additional info would be helpful |
This is the error log i pulled from nohup.out 1462035893668 - info: blockchain.info wallet service v0.20.1 running on http://127.0.0.1:3000 |
The crash is most likely due to a bug in the version of the websocket library used by this service (see: websockets/ws#628). I'm in the process of upgrading it to a version where this is fixed. |
my service crash and show it on console: node: ../src/node_zlib.cc:150: static void node::ZCtx::Write(const v8::FunctionCallbackInfov8::Value&) [with bool async = true]: Assertion `!ctx->pending_close_ && "close is pending"' failed. |
Are you on at least v0.21? |
i am having the same problem on v0.21.4. the wallet service just crushed down on it's own without even showing error. |
I run the wallet service on a production server as stated on the documentation, everything works fine for few hours or may be 24 or 48 hours but it stops for some reason where we end up in a mess, not able to generate address or do anything. So I tried to create a bash script and run it through cron job but I'm not sure what I'm doing wrong the api is not working as intended. Can someone fix this script so that I can run the cron job to check the service is always running.
Wallet-service version is 0.20.1
Node is v4.2.6
My bash script is this
!/bin/bash
make-run.sh
make sure a process is always running.
export DISPLAY=:0 #needed if you are running a simple gui app.
process=walletcron
makerun="/usr/local/bin/blockchain-wallet-service start --port 3000"
if ps ax | grep -v grep | grep $process > /dev/null
then
exit
else
$makerun &
fi
exit
The text was updated successfully, but these errors were encountered: