If there is something wrong with proxy or proxyName, eg. typo, will this crash? We need to handle this kind of crash.