Describe the bug
Payment processing always fails on first attempt for KT keys. It now fails on the second attempt since cycle 642.
Here is the log from the applog:
2023-08-23 12:28:06,451 - consumer0 - DEBUG - [TwitterPlugin] Admin notifications not implemented
2023-08-23 12:28:07,208 - consumer0 - INFO - [TelegramPlugin] Sent ADMIN notification to chatId: -682865717
2023-08-23 12:28:07,878 - consumer0 - INFO - [TelegramPlugin] Sent ADMIN notification to chatId: 750537544
2023-08-23 12:28:07,879 - consumer0 - INFO - Sending anonymous statistics; See docs/statistics.rst for more information.
2023-08-23 12:28:07,880 - consumer0 - DEBUG - stats_publisher data: {'uuid': '3912875b-6dc8-3b07-ac98-f2ba6c867b33', 'cycle': 643, 'network': 'MAINNET', 'total_amount': 379, 'nb_pay': 301, 'nb_failed': 22, 'nb_unknown': 279, 'total_attmpts': 4, 'nb_founders': 0, 'nb_owners': 0, 'nb_merged': 3, 'nb_delegators': 298, 'pay_xfer_fee': 1, 'pay_ra_fee': 0, 'rewards_type': 'A', 'trdver': '11.0', 'm_run': 0, 'm_prov': 'tzkt', 'm_relov': 0, 'm_offset': 0, 'm_docker': 0, 'pythonver': '3.10', 'os': 'Linux-5.15.0-78-generic-x86_64-with-glibc2.35'}
2023-08-23 13:16:38,502 - producer_retry_fail - DEBUG - retry_failed_payments started
2023-08-23 13:16:38,508 - producer_retry_fail - DEBUG - Failed payment files found are: '/home/master/Hayek/reports/tz1SohptP53wDPZhzTWzDUFAUcWF6DMBpaJV/payments/failed/643.csv'
2023-08-23 13:16:38,508 - producer_retry_fail - INFO - Working on failed payment file /home/master/Hayek/reports/tz1SohptP53wDPZhzTWzDUFAUcWF6DMBpaJV/payments/failed/643.csv
2023-08-23 13:16:38,534 - producer_retry_fail - INFO - Summary 0 paid, 0 done, 279 injected, 22 fail, 0 avoided
Environment
Source Code Build
Chain mainnet,
I am running code from the Nairobi branch.
I run with the following command:
/usr/bin/python3 /home/name/tezos-reward-distributor/src/main.py -E http://x.y -N MAINNET -O 30 -P tzkt -b /home/name/xxx
From the report every transaction to a tz address has the timeout line, and if I check the payment went through,
tz1gaiXGRA2RmQvSL3ER9ajA9ft1DpGMzbzr,M,26234943,ono5LfkVq9ZnrVfeFaVeNodLxbZfim9orDE4wUoq5urwi2NHBiD,injected,Investigate on https://tzkt.io - Operation ono5LfkVq9ZnrVfeFaVeNodLxbZfim9orDE4wUoq5urwi2NHBiD wait is timed out.
Every Kt address has the following:
KT1AievNQFeWwRN5PRUqRxn1uz31YJih8tdq,D,4608144,ooqRyprAxEMiiXbYuQB2WEEmebHf32aSWf8PFrWufFUccVJhgTd,paid,Error in inject operation
And if I check on tzkt the payment went through.
It seems to be an issue with getting the status of transactions that fails.
Describe the bug Payment processing always fails on first attempt for KT keys. It now fails on the second attempt since cycle 642.
Here is the log from the applog: 2023-08-23 12:28:06,451 - consumer0 - DEBUG - [TwitterPlugin] Admin notifications not implemented 2023-08-23 12:28:07,208 - consumer0 - INFO - [TelegramPlugin] Sent ADMIN notification to chatId: -682865717 2023-08-23 12:28:07,878 - consumer0 - INFO - [TelegramPlugin] Sent ADMIN notification to chatId: 750537544 2023-08-23 12:28:07,879 - consumer0 - INFO - Sending anonymous statistics; See docs/statistics.rst for more information. 2023-08-23 12:28:07,880 - consumer0 - DEBUG - stats_publisher data: {'uuid': '3912875b-6dc8-3b07-ac98-f2ba6c867b33', 'cycle': 643, 'network': 'MAINNET', 'total_amount': 379, 'nb_pay': 301, 'nb_failed': 22, 'nb_unknown': 279, 'total_attmpts': 4, 'nb_founders': 0, 'nb_owners': 0, 'nb_merged': 3, 'nb_delegators': 298, 'pay_xfer_fee': 1, 'pay_ra_fee': 0, 'rewards_type': 'A', 'trdver': '11.0', 'm_run': 0, 'm_prov': 'tzkt', 'm_relov': 0, 'm_offset': 0, 'm_docker': 0, 'pythonver': '3.10', 'os': 'Linux-5.15.0-78-generic-x86_64-with-glibc2.35'} 2023-08-23 13:16:38,502 - producer_retry_fail - DEBUG - retry_failed_payments started 2023-08-23 13:16:38,508 - producer_retry_fail - DEBUG - Failed payment files found are: '/home/master/Hayek/reports/tz1SohptP53wDPZhzTWzDUFAUcWF6DMBpaJV/payments/failed/643.csv' 2023-08-23 13:16:38,508 - producer_retry_fail - INFO - Working on failed payment file /home/master/Hayek/reports/tz1SohptP53wDPZhzTWzDUFAUcWF6DMBpaJV/payments/failed/643.csv 2023-08-23 13:16:38,534 - producer_retry_fail - INFO - Summary 0 paid, 0 done, 279 injected, 22 fail, 0 avoided
Environment
I am running code from the Nairobi branch.
I run with the following command: /usr/bin/python3 /home/name/tezos-reward-distributor/src/main.py -E http://x.y -N MAINNET -O 30 -P tzkt -b /home/name/xxx
From the report every transaction to a tz address has the timeout line, and if I check the payment went through,
tz1gaiXGRA2RmQvSL3ER9ajA9ft1DpGMzbzr,M,26234943,ono5LfkVq9ZnrVfeFaVeNodLxbZfim9orDE4wUoq5urwi2NHBiD,injected,Investigate on https://tzkt.io - Operation ono5LfkVq9ZnrVfeFaVeNodLxbZfim9orDE4wUoq5urwi2NHBiD wait is timed out.
Every Kt address has the following: KT1AievNQFeWwRN5PRUqRxn1uz31YJih8tdq,D,4608144,ooqRyprAxEMiiXbYuQB2WEEmebHf32aSWf8PFrWufFUccVJhgTd,paid,Error in inject operation
And if I check on tzkt the payment went through.
It seems to be an issue with getting the status of transactions that fails.