RE: SocketTimeOutException is coming even after increasing http.timeout
Hello - http.timeout is in milliseconds. Apparently, those sites are not able to deliver a page in 7 seconds, for any reason. Increase to 30000 and it should work just fine for most sites. If you are blocked by a firewall, any timeout is never going to be high enough.