exception handling to connect web url in phue