Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending a payment stops the indexer #118

Open
ivnsch opened this issue May 28, 2022 · 2 comments
Open

Sending a payment stops the indexer #118

ivnsch opened this issue May 28, 2022 · 2 comments
Labels
bug Something isn't working Team Lamprey

Comments

@ivnsch
Copy link

ivnsch commented May 28, 2022

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 <[email protected]>
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
@ivnsch ivnsch added the new-bug Bug report that needs triage label May 28, 2022
@algo-atto
Copy link

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

@algoanne algoanne added bug Something isn't working and removed new-bug Bug report that needs triage labels Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team Lamprey
Projects
None yet
Development

No branches or pull requests

5 participants
@winder @ivnsch @algoanne @algo-atto and others