The following code runs fine in my flask server, but when run by a celery worker it hangs.
from web3.auto.infura import w3 contract = w3.eth.contract(checksu