I am running rippled locally and when I try executing the 'account_info' I get the following error:
./build/rippled account_info <accountid>
Loading: "/Users/aaa/.config/ripple/rippled.cfg"
Failed to open '"/Users/aaa/.config/ripple/rippled.cfg"'.
Connecting to: :5001
{
"result" : {
"error" : "noCurrent",
"error_code" : 12,
"error_message" : "Current ledger is unavailable.",
"request" : {
"account" : <accountid>,
"command" : "account_info"
},
"status" : "error"
}
}
The server_info (./build/rippled server_info) works fine on the local.
I am though able to get the account_info when I connect to wss://
s1.ripple.comHere’s my local rippled config file:
(rest all values are set to default)
[peer_private]
1
# Allow untrusted clients to connect to this server.
#
[websocket_public_ip]
127.0.0.1
[websocket_public_port]
5006
[websocket_ip]
127.0.0.1
[websocket_port]
6006
[rpc_ip]
127.0.0.1
[rpc_port]
5001
[rpc_allow_remote]
0
[node_size]
medium
# This is primary persistent datastore for rippled. This includes transaction
# metadata, account states, and ledger headers. Helpful information can be
# found here:
https://ripple.com/wiki/NodeBackEnd[node_db]
type=RocksDB
path=/var/lib/rippled/db/rocksdb
open_files=2000
filter_bits=12
cache_mb=256
file_size_mb=8
file_size_mult=2
[database_path]
/var/lib/rippled/db
# This needs to be an absolute directory reference, not a relative one.
# Modify this value as required.
[debug_logfile]
/var/log/rippled/debug.log
[sntp_servers]
time.windows.comtime.apple.comtime.nist.govpool.ntp.org[ips]
r.ripple.com 51235
[validators]
n949f75evCHwgyP4fPVgaHqNHxUVN15PsJEZ3B3HnXPcPjcZAoy7 RL1
n9MD5h24qrQqiyBC8aeqqCWvpiBiYQ3jxSr91uiDvmrkyHRdYLUj RL2
n9L81uNCaPgtUJfaHh89gmdvXKAmSt5Gdsw2g1iPWaPkAHW5Nm4C RL3
n9KiYM9CgngLvtRCQHZwgC2gjpdaZcCcbt3VboxiNFcKuwFVujzS RL4
n9LdgEtkmGB9E2h3K4Vp7iGUaKuq23Zr32ehxiU8FWY7xoxbWTSA RL5
# Ditto.
[validation_quorum]
#3
[rpc_startup]
{ "command": "log_level", "severity": "warning" }
Any thoughts on what is going on?
Thanks