Counterparty server keeps crashing

My server is crashing over and over with this error

2016-03-05-T17:52:20+0100 [INFO] Resuming parsing.
2016-03-05-T17:52:22+0100 [INFO] Broadcast: 1AeEhRpChp1TteqBTkC4GPmyQJgH31MMmK at 2016-03-05T14:38:50+01:00 with a fee of 70000.0%% (6f6cc030e0903518feda77180fce2a91eee91ef8e6083bfcccbc8dca99de1b13) [valid]
2016-03-05-T17:52:22+0100 [ERROR] Unhandled Exception
Traceback (most recent call last):
  File "/usr/local/bin/counterparty-server", line 9, in <module>
    load_entry_point('counterparty-cli==1.1.1', 'console_scripts', 'counterparty-server')()
  File "/home/cryptos/counterparty/counterparty-cli/counterpartycli/__init__.py", line 16, in server_main
    server.main()
  File "/home/cryptos/counterparty/counterparty-cli/counterpartycli/server.py", line 135, in main
    server.start_all(db)
  File "/usr/local/lib/python3.4/dist-packages/counterpartylib/server.py", line 372, in start_all
    blocks.follow(db)
  File "/usr/local/lib/python3.4/dist-packages/counterpartylib/lib/blocks.py", line 1141, in follow
    new_ledger_hash, new_txlist_hash, new_messages_hash, found_messages_hash = parse_block(db, block_index, block_time)
  File "/usr/local/lib/python3.4/dist-packages/counterpartylib/lib/blocks.py", line 177, in parse_block
    parse_tx(db, tx)
  File "/usr/local/lib/python3.4/dist-packages/counterpartylib/lib/blocks.py", line 94, in parse_tx
    broadcast.parse(db, tx, message)
  File "/usr/local/lib/python3.4/dist-packages/counterpartylib/lib/messages/broadcast.py", line 308, in parse
    util.credit(db, notequal_address, config.XCP, escrow_less_fee, action='bet {}'.format(bet_match_status), event=tx['tx_hash'])
  File "/usr/local/lib/python3.4/dist-packages/counterpartylib/lib/util.py", line 269, in credit
    raise CreditError('Negative quantity.')
counterpartylib.lib.util.CreditError: Negative quantity.
1 Like

Yes, it’s because of this: Can’t Login “No counterparty servers are currently available. Please try again later. ERROR: %s”
The devs will fix it shortly, Adam is working on https://github.com/CounterpartyXCP/counterparty-lib/tree/crash-prevention (this branch may be deleted soon as the fix gets ready for develop)

1 Like

Update at http://counterparty.io/news/outage-and-error-handling-improvements/

Thank you for your patience with this as we fixed it.

1 Like

Thanks, just updated to 9.54.0

1 Like