You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/ubuntu/unitrader/coin_trader.py", line 553, in <module>
uniswap_trade = uniswap.make_trade(chk_address,dai, int(quantity)*10**18)
File "/home/ubuntu/.local/lib/python3.8/site-packages/uniswap/decorators.py", line 26, in approved
is_approved = self._is_approved(token)
File "/home/ubuntu/.local/lib/python3.8/site-packages/uniswap/uniswap.py", line 866, in _is_approved
_load_contract_erc20(self.w3, token)
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/contract.py", line 957, in call
return call_contract_function(
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/contract.py", line 1501, in call_contract_function
return_data = web3.eth.call(
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/module.py", line 57, in caller
result = w3.manager.request_blocking(method_str, params, error_formatters)
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/manager.py", line 154, in request_blocking
response = self._make_request(method, params)
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/manager.py", line 133, in _make_request
return request_func(method, params)
File "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/middleware/formatting.py", line 76, in apply_formatters
response = make_request(method, params)
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/middleware/gas_price_strategy.py", line 35, in middleware
return make_request(method, params)
File "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/middleware/formatting.py", line 74, in apply_formatters
response = make_request(method, formatted_params)
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/middleware/attrdict.py", line 33, in middleware
response = make_request(method, params)
File "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/middleware/formatting.py", line 74, in apply_formatters
response = make_request(method, formatted_params)
File "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/middleware/formatting.py", line 74, in apply_formatters
response = make_request(method, formatted_params)
File "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/middleware/formatting.py", line 74, in apply_formatters
response = make_request(method, formatted_params)
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/middleware/buffered_gas_estimate.py", line 40, in middleware
return make_request(method, params)
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/providers/ipc.py", line 252, in make_request
timeout.sleep(0)
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/_utils/threads.py", line 89, in sleep
self.check()
File "/home/ubuntu/.local/lib/python3.8/site-packages/web3/_utils/threads.py", line 82, in check
raise self
web3._utils.threads.Timeout: 10 seconds
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting a timeout when I run make_trade(). Anybody know if there's a way to fix this? Can I increase the timeout?
output:
Beta Was this translation helpful? Give feedback.
All reactions