Bitcoin Forum

Bitcoin => Electrum => Topic started by: lophie on April 30, 2015, 03:59:02 PM



Title: Electrum on a VPS, Cannot connect at all!
Post by: lophie on April 30, 2015, 03:59:02 PM
Hello all. I need electrum installed on a VPS but it seems that it cannot connect and the daemon is stuck in offline mode. Can anyone here please at least show me the rope on how to debug such a problem. thanks


Title: Re: Electrum on a VPS, Cannot connect at all!
Post by: ThomasV on April 30, 2015, 04:08:30 PM
if you restart the daemon, does it connect?


Title: Re: Electrum on a VPS, Cannot connect at all!
Post by: lophie on April 30, 2015, 04:17:19 PM
if you restart the daemon, does it connect?

Thank you Thomas for responding. The daemon is on but there is no connection. There are no errors showing so ar and I don't know how to debug this, -v just tells me daemon already running. Starting electrum with -g text keep saying "not" connected at the bottom and getbalance just hangs without response.

Thanks again. (This is a fresh installation with no wallet/ configs not headers) -<(Oh btw the headers were successfully downloaded by electrum.)


Title: Re: Electrum on a VPS, Cannot connect at all!
Post by: guitarplinker on May 02, 2015, 12:05:24 AM
Do you by chance have a firewall blocking connections? It sounds like that might be the culprit here, especially if it seems to be running fine and you aren't getting any errors.


Title: Re: Electrum on a VPS, Cannot connect at all!
Post by: ThomasV on May 02, 2015, 06:53:32 AM
if you restart the daemon, does it connect?

Thank you Thomas for responding. The daemon is on but there is no connection. There are no errors showing so ar and I don't know how to debug this, -v just tells me daemon already running. Starting electrum with -g text keep saying "not" connected at the bottom and getbalance just hangs without response.

Thanks again. (This is a fresh installation with no wallet/ configs not headers) -<(Oh btw the headers were successfully downloaded by electrum.)

I asked what happens if you restart the daemon.
So you need to do this:
Code:
electrum daemon stop
electrum daemon start
electrum daemon status


Title: Re: Electrum on a VPS, Cannot connect at all!
Post by: lophie on May 02, 2015, 08:17:20 AM
if you restart the daemon, does it connect?

Thank you Thomas for responding. The daemon is on but there is no connection. There are no errors showing so ar and I don't know how to debug this, -v just tells me daemon already running. Starting electrum with -g text keep saying "not" connected at the bottom and getbalance just hangs without response.

Thanks again. (This is a fresh installation with no wallet/ configs not headers) -<(Oh btw the headers were successfully downloaded by electrum.)

I asked what happens if you restart the daemon.
So you need to do this:
Code:
electrum daemon stop
electrum daemon start
electrum daemon status

{
    "blockchain_height": 354617,
    "connected": false,
    "nodes": [
        "electrum.thwg.org:50002:s",
        "us.electrum.be:50002:s",
        "electrum.be:50002:s",
        "electrum0.electricnewyear.net:50002:s",
        "electrum.no-ip.org:50002:s",
        "eco-electrum.ddns.net:50002:s",
        "EAST.electrum.jdubya.info:50002:s"
    ],
    "path": "/root/.electrum",
    "server": "erbium1.sytes.net",
    "server_height": 0
}