Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
cd ~/batm_public/batm_ssh_tunnel
./batm_ssh_tunnel_install.sh --uninstall

...

Troubleshooting

Compilation Error

If you encounter an error while compiling, reboot the server and try again from the beginning.

CAS fails to connect

Check your password

When using the tunnel, it is the first part of the process. A Hot Wallet test will always fail if the tunnel is not properly setup. There aren’t many points of failure, and it it should be the first item on your troubleshooting checklist.

You’ll see something similar to this in the master log if the tunnel is connecting correctly:

DEBUG com.generalbytes.batm.server.e.b - opening new tunnel on port 22222, remoteWalletAddress: xxx.xxx.xxx.xxx:3080
DEBUG com.generalbytes.batm.server.e.b - tunnel connected: ClientSessionImpl[batmsshtunnel@yyy.yyy.yyy.yyy/yyy.yyy.yyy.yyy:22222] 42087->3080

  • this indicates a secure connection is active between CAS (yyy.yyy.yyy.yyy) and your Hot Wallet node (xxx.xxx.xxx.xxx). If you don’t see “connected”, then the issue most probably lies here.

  • Check that you’ve entered your tunnel password in the proper area.

Ensure port 22222 is exposed by any node firewall.

If you are certain that the password is correct, then make sure your node exposes port 22222.

  • See this for syntax guidance: https://generalbytes.atlassian.net/l/cp/0dFmhUPY

  • If the node is behind a router, the routing will have to be configured in the router.

    • We do not support this type of routing. Please check with your internet provider.

Is the tunnel disabled?

The tunnel will fail if disabled. This should report “enabled”:

Code Block
sudo systemctl status batm-ssh-tunnel

Uninstall and reinstall.

This last resort may help, but it is an incredibly rare solution.

...

Filter by label
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@10d56
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel in ( "server" , "node" , "cas" , "bitcoind" , "tunnel" , "bitgo" ) and type = "page" and space = "ESD"
labelscas node bitcoind bitgo tunnel server

...