algorand / sandbox

Algorand node sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sending a payment stops the indexer

ivnsch opened this issue · comments

Subject of the issue

The indexer becomes unreachable (crashes?) after sending a payment:

$ curl http://127.0.0.1:8980/v2/
{"message":"Not Found"} 

$ sandbox goal clerk send -a 10000000000 -f F3RJ3NHYV55SSHMSF35RKMHFXRD43LJ3SKZV4N2NVUHVUU3DHCMY5DCTW4 -t DNQPINWK4K5QZYLCK7DVJFEWRUXPXGW36TEUIHNSNOFYI2RMPG2BZPQ7DE
Sent 10000000000 MicroAlgos from account F3RJ3NHYV55SSHMSF35RKMHFXRD43LJ3SKZV4N2NVUHVUU3DHCMY5DCTW4 to address DNQPINWK4K5QZYLCK7DVJFEWRUXPXGW36TEUIHNSNOFYI2RMPG2BZPQ7DE, transaction ID: YKML3QPAQEAKEBDYLMJKPBCISCRBWKUHRT45N2HSD443446PB4AQ. Fee set to 1000
Transaction YKML3QPAQEAKEBDYLMJKPBCISCRBWKUHRT45N2HSD443446PB4AQ committed in round 1

$ curl http://127.0.0.1:8980/v2/
curl: (7) Failed to connect to 127.0.0.1 port 8980: Connection refused

Your environment

  • Software version: algod -v
    3.5.1.stable [rel/stable] (commit #aa2fb0ee)
  • Node status if applicable: sandbox goal node status
Last committed block: 1
Time since last block: 84.3s
Sync Time: 0.0s
Last consensus protocol: future
Next consensus protocol: future
Round for next consensus protocol: 2
Next consensus protocol supported: true
Last Catchpoint: 
Genesis ID: sandnet-v1
Genesis hash: U93Rh5bObyZj2D8fbmWldO0UgMZs8988FFoGuBjOUBI=
  • sandbox git
$ git log -1
commit 306e1f5dbef23f28e77ebc4f4889ff6e7f2a0166 (HEAD -> master, origin/master, origin/HEAD)
Author: Will Winder <wwinder.unh@gmail.com>
Date:   Tue May 17 17:17:27 2022 -0400
  • Operating System details.
    MacOS 12.1 (21C52)
    Apple M1

Steps to reproduce

  1. sandbox reset dev -v
  2. curl http://127.0.0.1:8980/v2/ (to confirm that it's reachable).
  3. sandbox goal clerk send -a 10000000000 -f F3RJ3NHYV55SSHMSF35RKMHFXRD43LJ3SKZV4N2NVUHVUU3DHCMY5DCTW4 -t DNQPINWK4K5QZYLCK7DVJFEWRUXPXGW36TEUIHNSNOFYI2RMPG2BZPQ7DE, wait for it to be finished.
  4. curl http://127.0.0.1:8980/v2/

curl: (7) Failed to connect to 127.0.0.1 port 8980: Connection refused

Expected behaviour

The indexer continues working

Actual behaviour

The indexer becomes unreachable after sending a payment (possibly other) transactions.

More data

sandbox logs:

Watching file: /opt/data/node.log...
could not decode line from JSON: ++++++++++++++++++++++++++++++++++++++++
could not decode line from JSON: Logging Starting
could not decode line from JSON: Telemetry Disabled
could not decode line from JSON: ++++++++++++++++++++++++++++++++++++++++
15:28:45.414        :                RoundConcluded      -       |
15:28:46.151        :                RoundConcluded      -       |
15:29:23.565   1.0.0:              RoundInterrupted      -       |

Indexer logs in docker:

Starting indexer against algod.
Algod not responding... waiting.
Starting indexer against algod.
Starting indexer against algod.
Starting indexer against algod.
Starting indexer against algod.
Starting indexer against algod.
Starting indexer against algod.
Starting indexer against algod.
Starting indexer against algod.
Starting indexer against algod.
Starting indexer against algod.
Starting indexer against algod.
Connecting to algod:4001 (172.18.0.3:4001)
wget: can't connect to remote host (172.18.0.3): Connection refused
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved
Connecting to algod:4001 (172.18.0.3:4001)
saving to 'genesis.json'
genesis.json         100% |********************************|  2060  0:00:00 ETA
'genesis.json' saved

I'm experiencing the same behavior with config.dev on Windows 11.