error: Failed to start an Appium session, err was: Error: Requested a new session but one was in progress

info: <-- POST /wd/hub/session 500 1.463 ms - 250

debug: Error: Requested a new session but one was in progress
at Appium.start (/Users/derek/Downloads/Appium.app/Contents/Resources/node_modules/appium/lib/appium.js:112:15)
at Object.exports.createSession as handle
at next_layer (/Users/derek/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/route.js:113:13)
at Route.dispatch (/Users/derek/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/route.js:117:5)
at /Users/derek/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:222:24
at Function.proto.process_params (/Users/derek/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:288:12)
at next (/Users/derek/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:216:19)
at next (/Users/derek/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:180:38)
at next (/Users/derek/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:180:38)
at next (/Users/derek/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:180:38)
debug: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Requested a new session but one was in progress)","origValue":"Requested a new session but one was in progress"},"sessionId":"ad9b2056-1119-4646-8820-e2ebfa4954cc"}

appium 配置如下:

eclipse 配置如下:


↙↙↙阅读原文可查看相关链接,并与作者交流