Server Side error and ProtocolError: ('Connection aborted.', BadStatusLine('No status line received - the server has closed the connection',))

How to solve these errors Server side and protocol error while running the app?

Perhaps you need to provide error logs to investigate the error in batter way.
from this error it seems like there is issue with your connection request. may be there is some typo in your connection request/URL etc.

1 Like

[HTTP] <-- POST /wd/hub/session/42611ba8-8e7e-4793-9edb-07cfc977fd1c/element 404 3129 ms - 421

[HTTP]

[HTTP] --> DELETE /wd/hub/session/42611ba8-8e7e-4793-9edb-07cfc977fd1c

[HTTP] {}

[W3C (42611ba8)] Calling AppiumDriver.deleteSession() with args: [“42611ba8-8e7e-4793-9edb-07cfc977fd1c”]

[BaseDriver] Event ‘quitSessionRequested’ logged at 1581937103245 (16:28:23 GMT+0530 (India Standard Time))

[Appium] Removing session 42611ba8-8e7e-4793-9edb-07cfc977fd1c from our master session list

[UiAutomator2] Deleting UiAutomator2 session

[UiAutomator2] Deleting UiAutomator2 server session

[WD Proxy] Matched ‘/’ to command name ‘deleteSession’

[WD Proxy] Proxying [DELETE /] to [DELETE http://localhost:8201/wd/hub/session/9348ac07-474a-4197-8810-82514fe039d1] with no body

[WD Proxy] Got response with status 200: {“sessionId”:“9348ac07-474a-4197-8810-82514fe039d1”,“value”:null}

[ADB] Running ‘C:\Users\Nirmal Jones\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.indreamer.jiffybook’

[Logcat] Stopping logcat capture

[ADB] Removing forwarded port socket connection: 8201

[ADB] Running ‘C:\Users\Nirmal Jones\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8201’

[UiAutomator2] Restoring hidden api policy to the device default configuration

[ADB] Running ‘C:\Users\Nirmal Jones\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell settings delete global hidden_api_policy_pre_p_apps’

[ADB] Running ‘C:\Users\Nirmal Jones\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell settings delete global hidden_api_policy_p_apps’

[ADB] Running ‘C:\Users\Nirmal Jones\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell settings delete global hidden_api_policy’

[Instrumentation] .

[BaseDriver] Event ‘quitSessionFinished’ logged at 1581937104161 (16:28:24 GMT+0530 (India Standard Time))

[W3C (42611ba8)] Received response: null

[W3C (42611ba8)] But deleting session, so not returning

[W3C (42611ba8)] Responding to client with driver.deleteSession() result: null

[HTTP] <-- DELETE /wd/hub/session/42611ba8-8e7e-4793-9edb-07cfc977fd1c 200 917 ms - 14

[HTTP]

[Instrumentation] Time: 204.843

[Instrumentation]

[Instrumentation] OK (1 test)

[Instrumentation] The process has exited with code 0

[HTTP] {“id”:“39c65bfc-6387-45ae-b8df-5115f381e824”}

[W3C (6164f166)] Calling AppiumDriver.click() with args: [“39c65bfc-6387-45ae-b8df-5115f381e824”,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[WD Proxy] Matched ‘/element/39c65bfc-6387-45ae-b8df-5115f381e824/click’ to command name ‘click’

[WD Proxy] Proxying [POST /element/39c65bfc-6387-45ae-b8df-5115f381e824/click] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/39c65bfc-6387-45ae-b8df-5115f381e824/click] with body: {“element”:“39c65bfc-6387-45ae-b8df-5115f381e824”}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:null}

[W3C (6164f166)] Responding to client with driver.click() result: null

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/39c65bfc-6387-45ae-b8df-5115f381e824/click 200 46 ms - 14

[HTTP]

[HTTP] --> GET /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/text

[HTTP] {}

[W3C (6164f166)] Driver proxy active, passing request on via HTTP proxy

[WD Proxy] Matched ‘/wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/text’ to command name ‘getText’

[WD Proxy] Proxying [GET /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/text] to [GET http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/text] with body: {}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:“Nirmal#1234”}

[WD Proxy] Replacing sessionId 2d21941a-e740-4875-ad64-32d73826ff55 with 6164f166-9c7d-4aea-9460-8898b87b4e59

[HTTP] <-- GET /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/text 200 13 ms - 74

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/click

[HTTP] {“id”:“a587557e-f8c0-4568-9ff9-cea3be6a8777”}

[W3C (6164f166)] Calling AppiumDriver.click() with args: [“a587557e-f8c0-4568-9ff9-cea3be6a8777”,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[WD Proxy] Matched ‘/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/click’ to command name ‘click’

[WD Proxy] Proxying [POST /element/a587557e-f8c0-4568-9ff9-cea3be6a8777/click] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/click] with body: {“element”:“a587557e-f8c0-4568-9ff9-cea3be6a8777”}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:null}

[W3C (6164f166)] Responding to client with driver.click() result: null

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/click 200 78 ms - 14

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/clear

[HTTP] {“id”:“a587557e-f8c0-4568-9ff9-cea3be6a8777”}

[W3C (6164f166)] Calling AppiumDriver.clear() with args: [“a587557e-f8c0-4568-9ff9-cea3be6a8777”,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[WD Proxy] Matched ‘/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/clear’ to command name ‘clear’

[WD Proxy] Proxying [POST /element/a587557e-f8c0-4568-9ff9-cea3be6a8777/clear] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/clear] with body: {“elementId”:“a587557e-f8c0-4568-9ff9-cea3be6a8777”}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:null}

[W3C (6164f166)] Responding to client with driver.clear() result: null

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/a587557e-f8c0-4568-9ff9-cea3be6a8777/clear 200 17 ms - 14

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/appium/device/hide_keyboard

[HTTP] {“strategy”:“tapOutside”}

[W3C (6164f166)] Calling AppiumDriver.hideKeyboard() with args: [“tapOutside”,null,null,null,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[ADB] Running ‘C:\Users\Nirmal Jones\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys input_method’

[ADB] Running ‘C:\Users\Nirmal Jones\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell input keyevent 111’

[ADB] Running ‘C:\Users\Nirmal Jones\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys input_method’

[W3C (6164f166)] Responding to client with driver.hideKeyboard() result: true

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/appium/device/hide_keyboard 200 762 ms - 14

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/timeouts

[HTTP] {“implicit”:3000}

[W3C (6164f166)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,3000,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[BaseDriver] W3C timeout argument: {“implicit”:3000}}

[BaseDriver] Set implicit wait to 3000ms

[W3C (6164f166)] Responding to client with driver.timeouts() result: null

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/timeouts 200 2 ms - 14

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element

[HTTP] {“using”:“accessibility id”,“value”:“Password”}

[W3C (6164f166)] Calling AppiumDriver.findElement() with args: [“accessibility id”,“Password”,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator

[BaseDriver] Waiting up to 3000 ms for condition

[WD Proxy] Matched ‘/element’ to command name ‘findElement’

[WD Proxy] Proxying [POST /element] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element] with body: {“strategy”:“accessibility id”,“selector”:“Password”,“context”:"",“multiple”:false}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:{“ELEMENT”:“27658ae3-d7cc-4e87-8b0e-c689122dcfff”,“element-6066-11e4-a52e-4f735466cecf”:“27658ae3-d7cc-4e87-8b0e-c689122dcfff”}}

[W3C (6164f166)] Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“27658ae3-d7cc-4e87-8b0e-c689122dcfff”,“ELEMENT”:“27658ae3-d7cc-4e87-8b0e-c689122dcfff”}

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element 200 15 ms - 137

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/value

[HTTP] {“text”:“123456”,“id”:“27658ae3-d7cc-4e87-8b0e-c689122dcfff”,“value”:[“1”,“2”,“3”,“4”,“5”,“6”]}

[W3C (6164f166)] Calling AppiumDriver.setValue() with args: [[“1”,“2”,“3”,“4”,“5”,“6”],“27658ae3-d7cc-4e87-8b0e-c689122dcfff”,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[WD Proxy] Matched ‘/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/value’ to command name ‘setValue’

[Protocol Converter] Added ‘value’ property [“1”,“2”,“3”,“4”,“5”,“6”] to ‘setValue’ request body

[WD Proxy] Proxying [POST /element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/value] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/value] with body: {“elementId”:“27658ae3-d7cc-4e87-8b0e-c689122dcfff”,“text”:“123456”,“replace”:false,“value”:[“1”,“2”,“3”,“4”,“5”,“6”]}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:null}

[W3C (6164f166)] Responding to client with driver.setValue() result: null

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/value 200 533 ms - 14

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element

[HTTP] {“using”:“xpath”,“value”:"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup[5]/android.view.ViewGroup/android.widget.TextView"}

[W3C (6164f166)] Calling AppiumDriver.findElement() with args: [“xpath”,"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup[5]/android.view.ViewGroup/android.widget.TextView",“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator

[BaseDriver] Waiting up to 3000 ms for condition

[WD Proxy] Matched ‘/element’ to command name ‘findElement’

[WD Proxy] Proxying [POST /element] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element] with body: {“strategy”:“xpath”,“selector”:"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup[5]/android.view.ViewGroup/android.widget.TextView",“context”:"",“multiple”:false}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:{“ELEMENT”:“14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed”,“element-6066-11e4-a52e-4f735466cecf”:“14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed”}}

[W3C (6164f166)] Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed”,“ELEMENT”:“14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed”}

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element 200 137 ms - 137

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed/click

[HTTP] {“id”:“14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed”}

[W3C (6164f166)] Calling AppiumDriver.click() with args: [“14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed”,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[WD Proxy] Matched ‘/element/14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed/click’ to command name ‘click’

[WD Proxy] Proxying [POST /element/14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed/click] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed/click] with body: {“element”:“14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed”}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:null}

[W3C (6164f166)] Responding to client with driver.click() result: null

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed/click 200 41 ms - 14

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element

[HTTP] {“using”:“xpath”,“value”:"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.widget.TextView[2]"}

[W3C (6164f166)] Calling AppiumDriver.findElement() with args: [“xpath”,"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.widget.TextView[2]",“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator

[BaseDriver] Waiting up to 3000 ms for condition

[WD Proxy] Matched ‘/element’ to command name ‘findElement’

[WD Proxy] Proxying [POST /element] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element] with body: {“strategy”:“xpath”,“selector”:"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.widget.TextView[2]",“context”:"",“multiple”:false}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:{“ELEMENT”:“8f499f7f-9ece-4773-9923-3f8e70fd3381”,“element-6066-11e4-a52e-4f735466cecf”:“8f499f7f-9ece-4773-9923-3f8e70fd3381”}}

[W3C (6164f166)] Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“8f499f7f-9ece-4773-9923-3f8e70fd3381”,“ELEMENT”:“8f499f7f-9ece-4773-9923-3f8e70fd3381”}

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element 200 85 ms - 137

[HTTP]

[HTTP] --> GET /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/8f499f7f-9ece-4773-9923-3f8e70fd3381/text

[HTTP] {}

[W3C (6164f166)] Driver proxy active, passing request on via HTTP proxy

[WD Proxy] Matched ‘/wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/8f499f7f-9ece-4773-9923-3f8e70fd3381/text’ to command name ‘getText’

[WD Proxy] Proxying [GET /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/8f499f7f-9ece-4773-9923-3f8e70fd3381/text] to [GET http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/8f499f7f-9ece-4773-9923-3f8e70fd3381/text] with body: {}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:“Email ID or password is incorrect”}

[WD Proxy] Replacing sessionId 2d21941a-e740-4875-ad64-32d73826ff55 with 6164f166-9c7d-4aea-9460-8898b87b4e59

[HTTP] <-- GET /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/8f499f7f-9ece-4773-9923-3f8e70fd3381/text 200 13 ms - 96

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/clear

[HTTP] {“id”:“27658ae3-d7cc-4e87-8b0e-c689122dcfff”}

[W3C (6164f166)] Calling AppiumDriver.clear() with args: [“27658ae3-d7cc-4e87-8b0e-c689122dcfff”,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[WD Proxy] Matched ‘/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/clear’ to command name ‘clear’

[WD Proxy] Proxying [POST /element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/clear] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/clear] with body: {“elementId”:“27658ae3-d7cc-4e87-8b0e-c689122dcfff”}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:null}

[W3C (6164f166)] Responding to client with driver.clear() result: null

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/clear 200 22 ms - 14

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/value

[HTTP] {“text”:“Nirmal#1234”,“id”:“27658ae3-d7cc-4e87-8b0e-c689122dcfff”,“value”:[“N”,“i”,“r”,“m”,“a”,“l”,"#",“1”,“2”,“3”,“4”]}

[W3C (6164f166)] Calling AppiumDriver.setValue() with args: [[“N”,“i”,“r”,“m”,“a”,“l”,"#",“1”,“2”,“3”,“4”],“27658ae3-d7cc-4e87-8b0e-c689122dcfff”,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[WD Proxy] Matched ‘/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/value’ to command name ‘setValue’

[Protocol Converter] Added ‘value’ property [“N”,“i”,“r”,“m”,“a”,“l”,"#",“1”,“2”,“3”,“4”] to ‘setValue’ request body

[WD Proxy] Proxying [POST /element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/value] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/value] with body: {“elementId”:“27658ae3-d7cc-4e87-8b0e-c689122dcfff”,“text”:“Nirmal#1234”,“replace”:false,“value”:[“N”,“i”,“r”,“m”,“a”,“l”,"#",“1”,“2”,“3”,“4”]}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:null}

[W3C (6164f166)] Responding to client with driver.setValue() result: null

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/27658ae3-d7cc-4e87-8b0e-c689122dcfff/value 200 568 ms - 14

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed/click

[HTTP] {“id”:“14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed”}

[W3C (6164f166)] Calling AppiumDriver.click() with args: [“14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed”,“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[WD Proxy] Matched ‘/element/14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed/click’ to command name ‘click’

[WD Proxy] Proxying [POST /element/14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed/click] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed/click] with body: {“element”:“14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed”}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:null}

[W3C (6164f166)] Responding to client with driver.click() result: null

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/14ac5cc3-b64f-4bc3-b16a-553eb4ae94ed/click 200 67 ms - 14

[HTTP]

[HTTP] --> POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element

[HTTP] {“using”:“xpath”,“value”:"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.widget.TextView[2]"}

[W3C (6164f166)] Calling AppiumDriver.findElement() with args: [“xpath”,"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.widget.TextView[2]",“6164f166-9c7d-4aea-9460-8898b87b4e59”]

[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator

[BaseDriver] Waiting up to 3000 ms for condition

[WD Proxy] Matched ‘/element’ to command name ‘findElement’

[WD Proxy] Proxying [POST /element] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element] with body: {“strategy”:“xpath”,“selector”:"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.widget.TextView[2]",“context”:"",“multiple”:false}

[WD Proxy] Got an unexpected response with status 404: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon…

[W3C] Matched W3C error code ‘no such element’ to NoSuchElementError

[BaseDriver] Waited for 289 ms so far

[WD Proxy] Matched ‘/element’ to command name ‘findElement’

[WD Proxy] Proxying [POST /element] to [POST http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element] with body: {“strategy”:“xpath”,“selector”:"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.widget.TextView[2]",“context”:"",“multiple”:false}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:{“ELEMENT”:“0bb92a49-8e99-4794-b707-376676523696”,“element-6066-11e4-a52e-4f735466cecf”:“0bb92a49-8e99-4794-b707-376676523696”}}

[W3C (6164f166)] Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“0bb92a49-8e99-4794-b707-376676523696”,“ELEMENT”:“0bb92a49-8e99-4794-b707-376676523696”}

[HTTP] <-- POST /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element 200 2013 ms - 137

[HTTP]

[HTTP] --> GET /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/0bb92a49-8e99-4794-b707-376676523696/text

[HTTP] {}

[W3C (6164f166)] Driver proxy active, passing request on via HTTP proxy

[WD Proxy] Matched ‘/wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/0bb92a49-8e99-4794-b707-376676523696/text’ to command name ‘getText’

[WD Proxy] Proxying [GET /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/0bb92a49-8e99-4794-b707-376676523696/text] to [GET http://localhost:8203/wd/hub/session/2d21941a-e740-4875-ad64-32d73826ff55/element/0bb92a49-8e99-4794-b707-376676523696/text] with body: {}

[WD Proxy] Got response with status 200: {“sessionId”:“2d21941a-e740-4875-ad64-32d73826ff55”,“value”:“Email ID is not verified with us”}

[WD Proxy] Replacing sessionId 2d21941a-e740-4875-ad64-32d73826ff55 with 6164f166-9c7d-4aea-9460-8898b87b4e59

[HTTP] <-- GET /wd/hub/session/6164f166-9c7d-4aea-9460-8898b87b4e59/element/0bb92a49-8e99-4794-b707-376676523696/text 200 11 ms - 95

You are getting Element not found exception. are you interacting with some element appearing in pop up?

No if element not found exception means first and second time shouldn’t run that script. inbetween in this error is coming, anything timing issue? i gave for each element to time.sleep(4)

@Nirmal_Jones please mentioned exact manual steps for your case along with the code that is failing. From logs I am not able to understand what you want to achieve?