blockchain / service-my-wallet-v3

Blockchain Wallet API Service
https://blockchain.info/api/blockchain_wallet_api
GNU Affero General Public License v3.0
910 stars 518 forks source link

blockchain service #208

Open adenisdeveloper opened 7 years ago

adenisdeveloper commented 7 years ago

Hello, I am building an API to generate blockchain wallet, and I have noticed that when I start the service

Sudo blockchain-wallet-service start --port 3000 &

It has a runtime that does not exceed 24 hours. If my client is generating a new wallet, he is no longer running. I need to access the linux interface and start the service again.

This is normal? I must constantly start the service every day.

Sorry for the question, but I did not find anything related.

Ambient: npm --version: 1.4.21 node --version: v0.10.30 Wallet V3

jtormey commented 7 years ago

We don't support versions of node older than v0.12, https://github.com/blockchain/service-my-wallet-v3#installation, and have seen issues with v0.10 in the past. Could you try upgrading to more recent versions of node/npm to see if that helps? Thanks.

adenisdeveloper commented 7 years ago

Okay, I just upgraded to

[Root @ api ~] # node --version V0.12.18

I'm going to stop the service. $ Pkill -f blockchain-wallet-service

And I'll boot again.

$ Sudo nohup blockchain-wallet-service start --port 3000 &

I'll wait if he's going to die now.

Is there any test for this?

adenisdeveloper commented 7 years ago

Hello, @jtormey

This problem still continues, has anyone gone through this before? I do not believe this is normal.

jtormey commented 7 years ago

Hmm, this sounds similar to #202. I haven't found the root cause, but seems to have been introduced in a recent version (not sure which). I will set aside some time to look into this.