If the machine becomes stuck on 'Sending bitcoins' when a user completes a transaction, the machine will need to be reboot. This article can help diagnose and further prevent such instances..
This could be due to:
- Incorrect wallet credentials or configuration
- Wallet provider API issues
- Bug in the bill validator library, patched with machine version 0.4.16 and above
- Local connectivity issues
Wallet configuration errors
If there are errors revealed in the transaction log:
Restart your lamassu-server process. This is covered in the prcoess of pulling server logs above.
Reinstalling the lamassu-server process
If the above doesn't resolve the issue, we should reinstall the server process. First, find your server version by running:
npm -g ls lamassu-server
Within the output, you'll likely see 'firstname.lastname@example.org', 'email@example.com', or 'firstname.lastname@example.org'. Run the following below, replacing the word 'version' with the version number noted above:
npm -g install lamassu-server@version
NOTE: If you are using BitGo and your server version is below 2.2.5, then you must subsequently re-install the BitGo module with the command:
cd /usr/local/lib/node_modules/lamassu-server && npm install lamassu-bitgo
Then, check the result by placing a transaction at your machine.
Updating your machine
If your machine version is 0.5.14 or below, an update will assist in preventing this error. Please contact us at email@example.com.
Additiionally, once your machine is updated, you can subsequently upgrade your server version to add dropped transaction support, which should send the user bitcoins regardless of whether the machine remains on the 'Sending bitcoins' screen. See: Dropped transaction support.