Observed that the Web3 provider subscription occasionally stops under certain conditions. Once the subscription listener stops, the balance poller can no longer fetch updated balances, which prevents the service from generating valid quotes.
2025-07-31T02:01:29.246Z app.evm.erc20_service ERROR: Error getting balance for token 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9, account 0x28dD63f87d28db3d2ec784f57Ba5EFBB0aA22Ed3: {'code': -32004, 'message': 'failed to serve request'}
2025-07-31T02:01:29.256Z app.evm.erc20_service ERROR: Error getting balance for token 0xaf88d065e77c8cC2239327C5EDb3A432268e5831, account 0x28dD63f87d28db3d2ec784f57Ba5EFBB0aA22Ed3: {'code': -32004, 'message': 'failed to serve request'}
2025-07-31T02:01:29.266Z app.evm.erc20_service ERROR: Error getting balance for token 0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1, account 0x28dD63f87d28db3d2ec784f57Ba5EFBB0aA22Ed3: {'code': -32004, 'message': 'failed to serve request'}
2025-07-31T02:01:47.621Z web3.providers.persistent.subscription_manager ERROR: Message listener background task for the provider has stopped unexpectedly. Stopping subscription handling.
Impact
- Balance poller cannot update balances.
- Service cannot generate valid quotes.
- Effectively halts quote generation until manual intervention or provider restart.
Expected
Should auto-recover or retry instead of stopping permanently, allowing the balance poller to continue.
Observed that the Web3 provider subscription occasionally stops under certain conditions. Once the subscription listener stops, the balance poller can no longer fetch updated balances, which prevents the service from generating valid quotes.
Impact
Expected
Should auto-recover or retry instead of stopping permanently, allowing the balance poller to continue.