CounterpartyXCP / counterparty-core

Counterparty Protocol Reference Implementation
http://counterparty.io
MIT License
284 stars 206 forks source link

API Watcher Crashing #2475

Open adamkrellenstein opened 2 hours ago

adamkrellenstein commented 2 hours ago
2024-10-19T14:04:00.550+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:04:00.721+00:00 - [   DEBUG] - API Request - Get Address Balances (limit=1000 address=bc1qxyf08cunmhjmjnw2ukcglxf86vavxp35z92udq)                                                                     
2024-10-19T14:04:00.723+00:00 - [   DEBUG] - API Request - Get Address Balances (limit=1000 address=bc1qxyf08cunmhjmjnw2ukcglxf86vavxp35z92udq) - Response 200 - 2ms                                                
2024-10-19T14:04:02.466+00:00 - [   DEBUG] - API Request - Get Balances By Addresses (verbose=true addresses=bc1qu3nvt3fadku3nzr43uy7xe59wchk3zf46scpm6 limit=50)                                                   
2024-10-19T14:04:02.468+00:00 - [   DEBUG] - API Request - Get Balances By Addresses (verbose=true addresses=bc1qu3nvt3fadku3nzr43uy7xe59wchk3zf46scpm6 limit=50) - Response 200 - 2ms                              
2024-10-19T14:04:03.926+00:00 - [   DEBUG] - API Request - Get Dispensers By Asset (status=open verbose=true asset=KAYLAGRUN)                                                                                       
2024-10-19T14:04:03.947+00:00 - [   DEBUG] - API Request - Get Dispensers By Asset (status=open verbose=true asset=KAYLAGRUN) - Response 200 - 21ms                                                                 
2024-10-19T14:04:04.159+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                                                                                                                           
2024-10-19T14:04:04.171+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...                                                                                                              
2024-10-19T14:04:04.429+00:00 - [   DEBUG] - API Request - Get Events By Addresses (verbose=true addresses=1Fkr1gET3LcCbaSSazNbyhTJ46j1pomTi9 limit=1000 show_unconfirmed=true event_name=ENHANCED_SEND,ASSET_ISSUAN
CE,DISPENSE,OPEN_DISPENSER,REFILL_DISPENSER,RESET_ISSUANCE,ASSET_CREATION,DISPENSER_UPDATE,NEW_FAIRMINT)                                                                                                            
2024-10-19T14:04:04.459+00:00 - [   DEBUG] - API Request - Get Events By Addresses (verbose=true addresses=1Fkr1gET3LcCbaSSazNbyhTJ46j1pomTi9 limit=1000 show_unconfirmed=true event_name=ENHANCED_SEND,ASSET_ISSUAN
CE,DISPENSE,OPEN_DISPENSER,REFILL_DISPENSER,RESET_ISSUANCE,ASSET_CREATION,DISPENSER_UPDATE,NEW_FAIRMINT) - Response 200 - 31ms                                                                                      
2024-10-19T14:04:05.480+00:00 - [   DEBUG] - API Request - Redirect To Rpc V1                                                                                                                                       
2024-10-19T14:04:05.485+00:00 - [   DEBUG] - API Request - 35.191.36.118 POST http://api.counterparty.io:4000/ - Response 200 - 5ms                                                                                 
2024-10-19T14:04:05.703+00:00 - [   DEBUG] - API Request - Redirect To Rpc V1                                                                                                                                       
2024-10-19T14:04:05.707+00:00 - [   DEBUG] - API Request - 35.191.10.33 POST http://api.counterparty.io:4000/ - Response 200 - 4ms                                                                                  
2024-10-19T14:04:06.067+00:00 - [   DEBUG] - API Request - Redirect To Rpc V1                                                                                                                                       
2024-10-19T14:04:06.071+00:00 - [   DEBUG] - API Request - 35.191.22.81 POST http://api.counterparty.io:4000/ - Response 200 - 4ms                                                                                  
2024-10-19T14:04:06.933+00:00 - [   DEBUG] - API Request - Redirect To Rpc V1                                                                                                                                       
2024-10-19T14:04:06.937+00:00 - [   DEBUG] - API Request - 35.191.19.130 POST http://api.counterparty.io:4000/api/ - Response 200 - 4ms                                                                             
2024-10-19T14:04:10.622+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:04:11.348+00:00 - [    INFO] - Stopping API Watcher...                                                                                                                                                
2024-10-19T14:04:11.348+00:00 - [    INFO] - Stopping API Watcher...                                                                                                                                                
2024-10-19T14:04:20.694+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:04:30.766+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:04:38.943+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                                                                                                                           
2024-10-19T14:04:38.953+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...                                                                                                              
2024-10-19T14:04:40.837+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:04:50.910+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:05:00.981+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:05:05.030+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                                                                                                                           
2024-10-19T14:05:05.042+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...                                                                                                              
2024-10-19T14:05:11.052+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:05:11.077+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                                                                                                                           
2024-10-19T14:05:11.087+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...                                                                                                              
2024-10-19T14:05:21.124+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:05:31.196+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:05:32.342+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                                                                                                                           
2024-10-19T14:05:32.352+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...                                                                                                              
2024-10-19T14:05:41.269+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:05:49.663+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                                                                                                                           
2024-10-19T14:05:49.673+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...                                                                                                              
2024-10-19T14:05:51.345+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:05:56.734+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                                                                                                                           
2024-10-19T14:05:56.742+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...                                                                                                              
2024-10-19T14:06:01.420+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:06:11.494+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                                                                                                                          
2024-10-19T14:06:21.566+00:00 - [   DEBUG] - API Watcher - 104 mempool events synchronized                            
adamkrellenstein commented 2 hours ago

Different node:

2024-10-19T13:51:01.597+00:00 - [   EVENT] - Mempool - ASSET_ISSUANCE [tx_index=2875395 tx_hash=3bb42c8 msg_index=0 block_index=9999999 asset=PEPEFAIR quantity=1000000000000 divisible=True source=1FZF4h[864/1806]
1LEVY62h transfer=False callable=False call_date=0 call_price=0.0 description=Pepe loves fairmints fee_paid=0 locked=False status=valid asset_longname= reset=False description_locked=False fair_minting=True asset
_events=fairmint]                                                                                                                                                                                                   
2024-10-19T13:51:01.597+00:00 - [    INFO] - Mempool - 1000000000000 PEPEFAIR minted for 0 XCP by 1FZF4hGuyirVZ81YDuZZHVGBM7mxUBtXU7                                                                                
2024-10-19T13:51:01.597+00:00 - [   EVENT] - Mempool - TRANSACTION_PARSED [tx_index=2875395 tx_hash=3bb42c8 supported=True]                                                                                         
2024-10-19T13:51:01.598+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...                                                                                                              
2024-10-19T13:51:01.765+00:00 - [   DEBUG] - API Request - Check Server Health (type=light)                                                                                                                         
2024-10-19T13:51:01.768+00:00 - [   DEBUG] - API Request - Check Server Health (type=light) - Response 200 - 2ms                                                                                                    
2024-10-19T13:51:08.247+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized                                                                                                                          
2024-10-19T13:51:09.398+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                                                                                                                           
2024-10-19T13:51:09.407+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...                                                                                                              
2024-10-19T13:51:14.969+00:00 - [   DEBUG] - API Status Poller - Backend state check passed.                                                                                                                        
2024-10-19T13:51:14.973+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                                                                                                                           
2024-10-19T13:51:14.983+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...                                                                                                              
2024-10-19T13:51:18.318+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized                                                                                                                          
2024-10-19T13:51:20.824+00:00 - [   DEBUG] - API Request - Check Server Health (type=light)                                                                                                                         
2024-10-19T13:51:20.827+00:00 - [   DEBUG] - API Request - Check Server Health (type=light) - Response 200 - 3ms                                                                                                    
2024-10-19T13:51:21.160+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                                                                                                                           
2024-10-19T13:51:21.168+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...    
2024-10-19T13:51:27.463+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                 
2024-10-19T13:51:27.472+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...    
2024-10-19T13:51:28.387+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized                
2024-10-19T13:51:30.905+00:00 - [    INFO] - Stopping API Watcher...                                      
2024-10-19T13:51:30.906+00:00 - [    INFO] - Stopping API Watcher...                                      
2024-10-19T13:51:33.056+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...                
2024-10-19T13:51:33.064+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...   
2024-10-19T13:51:38.456+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:51:38.609+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...
2024-10-19T13:51:38.617+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...
2024-10-19T13:51:44.288+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...
2024-10-19T13:51:44.295+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...
2024-10-19T13:51:48.528+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:51:58.599+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:52:08.246+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...
2024-10-19T13:52:08.255+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...
2024-10-19T13:52:08.669+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:52:15.286+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...
2024-10-19T13:52:15.295+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...
2024-10-19T13:52:18.740+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:52:28.812+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:52:31.377+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...
2024-10-19T13:52:31.386+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...
2024-10-19T13:52:38.882+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:52:43.365+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...
2024-10-19T13:52:43.375+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...
2024-10-19T13:52:48.953+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:52:53.042+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...
2024-10-19T13:52:53.052+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...
2024-10-19T13:52:55.875+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...
2024-10-19T13:52:55.883+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...
2024-10-19T13:52:59.024+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:53:02.693+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...
2024-10-19T13:53:02.701+00:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...
2024-10-19T13:53:09.094+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:53:19.165+00:00 - [   DEBUG] - API Watcher - 113 mempool events synchronized
2024-10-19T13:53:19.195+00:00 - [   DEBUG] - Parsing 100 raw transactions from mempool...
adamkrellenstein commented 2 hours ago

We get Stopping API Watcher... and then no more requests :/

adamkrellenstein commented 2 hours ago

(This is with Gunicorn.)

adamkrellenstein commented 2 hours ago

Related #2397