From the Web3 JS API I've written:
var Web3 = require('web3');
var web3 = new Web3(new Web3.providers.HttpProvider("https://ropsten.infura.io/MYTOKEN"));
console.log(web3.currentProvider);
which produces:
HttpProvider {
host: 'https://ropsten.infura.io/MYTOKEN',
timeout: 0,
connected: false }
So far I've tried removing the token and just using https://ropsten.infura.io
, and I've also tried the Infura mainnet and Kovan, neither of which worked.
I suspect this is unrelated to Web3/Infura and maybe related to firewall settings or something? Any help is appreciated.