Hi all,I have done a lot on native app's for both iPhone and Android but am new to MobileWeb. I just tried my hands on it today and got the following error:info: Welcome to Appium v0.8.0 (REV 0c1eba53f255cd322fe854aae9dcf4e179e97f85)
info: Appium REST http interface listener started on 10.101.23.155:4723
info: socket.io started
info: Looks like we want chrome on android, setting pkg/activity
debug: Appium request initiated at /wd/hub/session
info: Creating new appium session f24aeb39-232c-406f-bd43-3d4a190a17fd
debug: Request received with params: {"desiredCapabilities":{"platform":"MAC","app":"chrome","Device":"Android","browserName":"Android","version":"4.1.2"}}
info: Ensuring Chromedriver exists
info: Spawning chromedriver with: /usr/bin/chromedriver
info: [CHROMEDRIVER] Starting ChromeDriver (v2.2) on port 9515
info: [CHROMEDRIVER STDERR] objc[2450]: Object 0x127ea70 of class NSThread autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
info: Creating Chrome session
info: Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","jar":false,"headers":{"Content-Length":98,"Content-Type":"application/json;charset=UTF-8","Host":"127.0.0.1:9515"},"body":"{\"sessionId\":null,\"desiredCapabilities\":{\"chromeOptions\":{\"androidPackage\":\"com.android.chrome\"}}}"}
error: Chromedriver create session did not work. Status was 200 and body was [object Object]
info: Responding to client with error: {"status":6,"value":{"message":"A session is either terminated or not started (Original error: Did not get session redirect from Chromedriver)","origValue":"Did not get session redirect from Chromedriver"},"sessionId":"f24aeb39-232c-406f-bd43-3d4a190a17fd"}
error: Failed to start an Appium session, err was: Error: Did not get session redirect from Chromedriver
POST /wd/hub/session 500 543ms - 285
info: Clearing out appium devices
Here i am not even able to understand the problem. Is is due to chrome, or appium or my code!!!
Thanks,
Ritika
--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/groups/opt_out.
info: Welcome to Appium v0.8.3 (REV 8b947cf9f5a8772553af12b8096d77b2ac7fd2af)
debug: Appium request initiated at /wd/hub/session
info: Looks like we want chrome on android
debug: Request received with params: {"desiredCapabilities":{"platform":"MAC","app":"chrome","Device":"Android","browserName":"Android","version":"4.1.2"}}
info: Clearing out any previous sessions
info: Creating new appium session 68a58493-ba3f-49c6-9cdb-6cee252b8bf0
info: Ensuring Chromedriver exists
info: Spawning chromedriver with: /usr/bin/chromedriver
info: Creating Chrome session
info: Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","jar":false,"headers":{"Content-Length":98,"Content-Type":"application/json;charset=UTF-8","Host":"127.0.0.1:9515"},"body":"{\"sessionId\":null,\"desiredCapabilities\":{\"chromeOptions\":{\"androidPackage\":\"com.android.chrome\"}}}"}
info: [CHROMEDRIVER STDERR] [0.743][INFO]: received WebDriver request: POST /wd/hub/session {
"desiredCapabilities": {
"chromeOptions": {
"androidPackage": "com.android.chrome"
}
},
"sessionId": null
}
error: Chromedriver create session did not work. Status was 200 and body was {"sessionId":"","status":13,"value":{"message":"unknown error: Adb command \"host:devices\" failed, is the Adb server running?\n (Driver info: chromedriver=2.0,platform=Mac OS X 10.7.5 x86_64)"}}
info: [CHROMEDRIVER STDERR] [0.764][INFO]: sending WebDriver response: 200 {
"sessionId": "",
"status": 13,
"value": {
"message": "unknown error: Adb command \"host:devices\" failed, is the Adb server running?\n (Driver info: chromedriver=2.0,platform=Mac OS X 10.7.5 x86_64)"
}
}
info: Responding to client with error: {"status":6,"value":{"message":"A session is either terminated or not started (Original error: Did not get session redirect from Chromedriver)","origValue":"Did not get session redirect from Chromedriver"},"sessionId":"68a58493-ba3f-49c6-9cdb-6cee252b8bf0"}
POST /wd/hub/session 500 813ms - 285
info: Clearing out appium devices
info: Clearing out any previous sessions
error: Failed to start an Appium session, err was: Error: Did not get session redirect from Chromedriver
Please do not hack the threads, start the new ones for new issues.
--
You received this message because you are subscribed to a topic in the Google Groups "Appium-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/appium-discuss/GKec-_dCp-4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to appium-discus...@googlegroups.com.