Infura Sepolia endpoint.
Getting error
"JsonRpcProvider failed to detect network and cannot start up; retry in 1s (perhaps the URL is wrong or the node is not started)"
when run script in Remix IDE.
Environment : Injected Web3 provider metamask connected.
script const web3 = new Web3("wss://sepolia.infura.io/ws/v3/95fea89cdf254f52bbd1f74ef23c0808");
const provider1 = new JsonRpcProvider("https://sepolia.infura.io/v3/95fea89cdf254f52bbd1f74ef23c0808");
Please help.
Best Regards Uday