Appium hangs when sending commands to webview - using 3rd party SDK

Our app uses Integral Ad Science’s latest mobile SDK which hooks in for ad metrics reporting. When this IAS SDK is enabled, Appium is unable to send any commands to the webview. Instead, it just hangs and then gets the following error:

Driver context: WEBVIEW_com.receptiv took [1 seconds]
[HTTP] --> POST /wd/hub/session/8f8fa62b-e031-47a1-bab9-84beb18a975d/element {“using”:“id”,“value”:“rallyLoader”}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[MJSONWP] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT
at doJwpProxy$ (…/…/…/lib/mjsonwp/mjsonwp.js:343:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session/8f8fa62b-e031-47a1-bab9-84beb18a975d/element 500 240022 ms - 281
Mar 24, 2017 4:40:58 PM org.openqa.selenium.support.ui.ExpectedConditions findElement
WARNING: WebDriverException thrown by findElement(By.id: rallyLoader)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 240.04 seconds

Does anybody else have a clue on what is wrong or how I can get a useful error message? I have the Appium logs and the adb logs attached.

appiumLog.txt (201.1 KB)
logcat.txt (2.3 MB)