This problem starting happening on 2/17/22 6:00pm cst. Before that time, Infura’s Polygon connection worked great.
I am using web3 and Infura to call the “approve” function in the Polygon USDC contract:
When I call that function from polygonscan.com connected to Metamask, it completes in 1 or 2 blocks (2 - 4 seconds).
When I call the same function using web3 and Infura, it takes at least 10 blocks to complete (more than 20 seconds). Sometimes it does not complete at all.
In both scenarios, the gas fee is 60 gwei, which is twice the minimum that is recommended here: https://gasstation-mainnet.matic.network