Hi Bhanu, you might be facing this error in username due to the use of '@' , while accessing remote webdriver url. If you are using Selenium Webdriver with Ruby, then you should keep in mind that special character like @ aren't allowed in URLs and won't get accepted by Ruby in URL Encoding. So to enter a username like abc@gmail.com, instead of using @ use %40. %40 is equivalent to @ in URL encoding. So your driver command should look like this:
driver = Selenium::WebDriver.for(:remote, :url =>; "http://#{abc%40gmail.com}:#{authkey}@hub.abc.com:80/wd/hub", :desired_capabilities =>; caps)