title: Appium: 504 error gateway timeout
body: <p>Appium launches the safari browser, clicks on Launch Safari Button and errors out</p>
  
  <p>2016-09-22 19:57:32:206 - [MJSONWP] Encountered internal error running command: Error: Could not navigate to webview! Err: 504 - 504 Gateway Timeout
  Gateway Timeout</p>
  
  <p>Server error - server 127.0.0.1 is unreachable at this moment.</p>
  
  <p>Please retry the request or contact your administrator.</p>
  
  <p>Environment</p>
  
  <p>Appium version (or git revision) that exhibits the issue:15.3
  Desktop OS/version used to run Appium: MAC
  IOS Mobile platform: 9.2
  Real device: Ipad Air
  libimobiledevice : HEAD
  Details</p>
  
  <p>Link to Appium logs</p>
  
  <p><a href="https://gist.github.com/rjmadhu/c77fe1753af07c8bc337174fc5501d24" rel="nofollow">https://gist.github.com/rjmadhu/c77fe1753af07c8bc337174fc5501d24</a></p>