ESOCKETTIMEDOUT ERROR while trying to deploy to Rinkeby

Unable to deploy a simple smart contract to Rinkeby successfully due to this error

:computer: Environment
Truffle v5.2.2 (core: 5.2.2)
Solidity v0.5.16 (solc-js)
Node v12.19.0
Web3.js v1.2.9

:memo:Details

:1234: Code to reproduce

1 Like

Sorry, I am not sure for this issue, maybe you can ask Truffle Team for help.
Maybe you should use a new infura key, I am not sure.

2 Likes

Hi @Altaergo,

You didn’t say which provider you were using. I would check if they had any issues at the time.

You could try another provider (e.g. Alchemy or Infura). See: https://docs.openzeppelin.com/learn/connecting-to-public-test-networks

Using Infura. Thanks for recommending Alchemy, I didn’t know about it

1 Like

Hi @Altaergo,

I use both Infura and Alchemy. I generally don’t run into problems.

Did you have any luck deploying?