Truffle deploy failed in Polygon testnet(mumbai) with Infura https url due to timeout error

Same smart contract with Remix working
Same with Ropsten also working fine
can anyone suggest me on the same – Thanks in advance

I am facing the error as follows

Error: There was a timeout while attempting to connect to the network at undefined.
Check to see that your provider is valid.
If you have a slow internet connection, try configuring a longer timeout in your Truffle config. Use the networks[networkName].networkCheckTimeout property to do this.
at Timeout._onTimeout (/usr/lib/node_modules/truffle/build/webpack:/packages/provider/index.js:57:1)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7)

Hey, @A_Nani! Welcome to the community! Is the add-on Polygon enabled in your account? If yes, can you share the code?

Thank you for response, In add-on, checked Polygon Pos, but it is not saving if refresh the page.
can i have to add my payment details to save this?

Solved the problem, Thank you

1 Like