rippled icon indicating copy to clipboard operation
rippled copied to clipboard

Testnet broken

Open bert2002 opened this issue 7 years ago • 18 comments

Hi, i think the testnet broke this morning at 12:30AM UTC. First I thought it is my node:

$ /opt/ripple/bin/rippled ledger current
Loading: "/etc/opt/ripple/rippled.cfg"
2019-Jul-11 03:11:23.260559663 HTTPClient:NFO Connecting to 127.0.0.1:5005

{
   "result" : {
      "error" : "noNetwork",
      "error_code" : 17,
      "error_message" : "InsufficientNetworkMode",
      "request" : {
         "command" : "ledger",
         "ledger_index" : "current"
      },
      "status" : "error"
   }
}

but also the public nodes of s.altnet.rippletest.net seems to be unavailable:

$ /opt/ripple/bin/rippled --rpc_ip 35.158.96.209:51234 ledger current
Loading: "/etc/opt/ripple/rippled.cfg"
2019-Jul-11 03:10:56.365452043 HTTPClient:NFO Connecting to 35.158.96.209:51234

{
   "error" : "internal",
   "error_code" : 71,
   "error_message" : "Internal error.",
   "error_what" : "no response from server"
}

Seems that https://test.bithomp.com/explorer is not working either.

Anyone working on this or am I on the wrong track?

Cheers, bert

bert2002 avatar Jul 11 '19 03:07 bert2002

Thanks for the report, we are aware of the issue with the altnet/testnet and are working on it. We'll add updates here, since you opened this issue.

nbougalis avatar Jul 11 '19 03:07 nbougalis

The altnet should be back. As of a few minutes ago:

        "validated_ledger" : {
            "age" : 2,
            "base_fee_xrp" : 1e-05,
            "hash" : "77FF0FFD02A0061B747AB28DACA93B5429F5DAD45BF8F896595A2EDCF9D92EFF",
            "reserve_base_xrp" : 20,
            "reserve_inc_xrp" : 5,
            "seq" : 20914719
         },

nbougalis avatar Jul 11 '19 08:07 nbougalis

What was the cause of that full network outage?

MarkusTeufelberger avatar Jul 11 '19 08:07 MarkusTeufelberger

We'll be publishing a more detailed post-mortem soon, but briefly: the initial evidence suggests that the upgrade rulebook wasn't followed, and as a result, multiple validators were taken down at once, resulting a loss of quorum (the altnet has 6 validators and the quorum is 4). The "unexpected" stall caused us to try and understand the circumstances, which resulted in an extended delay.

nbougalis avatar Jul 11 '19 16:07 nbougalis

Ah, ok - so mostly operator error rather than something related to the actual algorithm or software used.

Would be nice to have some playbooks/rulebooks pulished by Ripple on how to operate rippled btw. :-)

MarkusTeufelberger avatar Jul 12 '19 19:07 MarkusTeufelberger

I'm still seeing my testnet node OOM'in (out of memory) on the latest tag (beta) v1.3.0-rc1 from time to time. Any ideas what might be causing this?

Thanks.

gituser avatar Jul 14 '19 21:07 gituser

Too little memory maybe? What's your node_size set at and how much RAM can rippled use in your setup?

MarkusTeufelberger avatar Jul 14 '19 21:07 MarkusTeufelberger

@MarkusTeufelberger yeah, I guess. I had medium and 8GB memory. Changed now back to tiny. But it has been working for months like that without any issues even on 1.2.4.

gituser avatar Jul 14 '19 21:07 gituser

You have 8 GB RAM in total or available for rippled to use?What is the usage pattern for this node (e.g. executing RPC commands, just passively running along in the network, validator...)?

MarkusTeufelberger avatar Jul 14 '19 23:07 MarkusTeufelberger

@MarkusTeufelberger No. Simple node for sending/receiving transactions with trumped history to 2000 ledgers on testnet. So far so good on tiny mode.

gituser avatar Jul 15 '19 08:07 gituser

trumped history

So the node just makes up some conflicting ledger states and declares them all to be valid while spending resources to build a firewall towards the southbridge? :-P

MarkusTeufelberger avatar Jul 15 '19 09:07 MarkusTeufelberger

@MarkusTeufelberger

rippling Donald 24/7

gituser avatar Jul 15 '19 10:07 gituser

Jokes aside, but it seems testnet rippled still OOM's for me with tiny setting on 8GB VM.

It started a month ago or so before that rippled was working just fine.

gituser avatar Jul 16 '19 16:07 gituser

Just curious: How long does the testnet rippled server generally stay running for, before it OOMs?

intelliot avatar Jul 16 '19 18:07 intelliot

@intelliot the time varies, but generally it is between 2 to 5 hours.

gituser avatar Jul 16 '19 19:07 gituser

That's interesting. I'm running a server myself and I haven't seen an OOM but I may be using more than 8GB. I'll double-check and follow up.

nbougalis avatar Jul 24 '19 20:07 nbougalis

The altnet has been reset and this should no longer be an issue. If you continue to experience OOM problems, please reopen.

nbougalis avatar Sep 10 '19 04:09 nbougalis

Hello, is https://testnet.data.api.ripple.com still working?

I cannot get results for these /v2/ledgers and /v2/ledgers/ledgerIndex methods. Does anybody have any idea how to solve it?

bagikh avatar Dec 28 '20 08:12 bagikh