Closed tzarebczan closed 5 years ago
Also running into this when syncing the spee.ch wallet locally to my spv server. On lbryumx1/2, get a different error (not sure if related).
Task exception was never retrieved
future: <Task finished coro=<BaseLedger.update_history() done, defined at c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\baseledger.py:369> exception=RPCError(-32600, 'response too large (over 1,000,000 bytes')>
Traceback (most recent call last):
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\baseledger.py", line 379, in update_history
remote_history = await self.network.get_history(address)
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\basenetwork.py", line 32, in send_request
raise e
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\basenetwork.py", line 29, in send_request
return await super().send_request(method, args)
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\rpc\session.py", line 481, in send_request
raise result
torba.rpc.jsonrpc.RPCError: (-32600, 'response too large (over 1,000,000 bytes')
x1/x2
future: <Task finished coro=<BaseLedger.subscribe_account() done, defined at c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\baseledger.py:344> exception=InterfaceError('Error binding parameter 0 - probably unsupported type.')>
Traceback (most recent call last):
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\baseledger.py", line 347, in subscribe_account
await account.ensure_address_gap()
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\baseaccount.py", line 375, in ensure_address_gap
new_addresses = await address_manager.ensure_address_gap()
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\baseaccount.py", line 139, in ensure_address_gap
new_keys = await self._generate_keys(start, end-1)
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\baseaccount.py", line 147, in _generate_keys
await self.account.ledger.db.add_keys(self.account, self.chain_number, keys)
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\basedatabase.py", line 511, in add_keys
for position, pubkey in keys)
File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\basedatabase.py", line 61, in __run_transaction
result = fun(self.connection, *args, **kwargs) # type: ignore
File "c:\users\thoma\documents\lbry\fresh3-27\lib\site-packages\torba\client\basedatabase.py", line 39, in __executemany_in_a_transaction
return conn.executemany(*args, **kwargs)
sqlite3.InterfaceError: Error binding parameter 0 - probably unsupported type.```
This max_size parameter can be adjusted on the wallet server. @shyba can we do this with the next restarts. Will see if 1.5 MB fixes the spee.ch wallet sync issue, but I'm more concerned about larger resolve calls (i.e. homepage, list of channels).
This has been adjusted on the wallet server side, closing.
Anything Else
Screenshots
Internal Use
Acceptance Criteria
1. 2. 3.
Definition of Done