Appium IDE not starting and displaying an error- "Error ECONNRESET" - appium

System info:
MacOS Sierra 10.12.6
Appium commandline version: 1.7.2
Appium IDE version: Version 1.3.1 (1.3.1)
Appium IDE location: /Applications Folder
npm version: 3.10.10
Node version: v6.10.0
Whenever I try to open a new session using Appium IDE, I am getting error:
Error ECONNRESET
I am having older version of Appium IDE Version 1.5.3 (Ara) - and it works fine.
Also note that- at the time of trying to open new Appium IDE, old IDE is kept closed.

This issue is now fixed.
Installed all updates for Appium Desktop (1.5.0)
Toggled the port once from 4723 to 4724 (on host 127.0.0.1) in inspector mode.
Once Inspector mode was up and running, shut down the appium IDE.
reset the port to 4723(on host 0.0.0.0) and Inspector started.
Also verified that older version of Appium IDE (Appium IDE Version 1.5.3 (Ara) ) is still working.

Related

“adb devices” detect my device but not Appium server, why?

Environment:
Windows 10
Python 3.7.9
Appium 1.22.3
Node v12.15.0
Android Debug Bridge version 1.0.41
Version 33.0.2-8557947
Sdkmanager 4.0.1
Appium-Python-Client==2.4.0
Problem:
Appium doesn't detect my device:
UnknownError: An unknown server-side error occurred while processing the command. Original error: Device E531XE1ZM11302266 was not in the list of connected devices
at getResponseForW3CError (C:\Users\gauth\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:804:9)
at asyncHandler (C:\Users\gauth\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:380:37)
So I run the command "adb devices" which shows correctly my device.
Is there any process to fix this kind of issue please? How could I fix that?

How to change appium version for Appium Desktop

I have Appium Desktop 1.2.7 which uses Appium 1.7.1 I also have Appium Desktop 1.6.2 which uses Appium 1.8.1. I am using Mac High Sierra.
When I launch AD 1.6.2 from Documents folder, it gave me a warning to keep the AD 1.6.2 in Applications Folder, which I did.
Now the issue is AD 1.2.7 is informed me to move to Applications Folder, which I did.
When I launch AD 1.2.7, it now connects to Appium 1.8.1. How do I change AD to connect to Appium 1.7.1?
Reason I want to do this is because the Appium Desktop Inspector is not working correctly when launching app with AD 1.6.2 and Appium 1.8.1 nor AD 1.2.7 with Appium 1.8.1.
This isn't possible from inside of the Appium Desktop app, but you can install Appium via command line and run sessions from that using the 'Custom Server' tab.

How to upgrade chromedriver version for appium?

I am getting the following error when attempting to run an Appium script on the Chrome Version 65:
selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing 'value'
(Session info: chrome=65.0.3325.109)
(Driver info: chromedriver=2.33.506106 (8a06c39c4582fbfbab6966dbb1c38a9173bfb1a2),platform=Mac OS X 10.13.4 x86_64)
I have found that the chromedriver version needs to be updated but I can't find a way to successfully do this.
So my question is how do I upgrade the chromedriver version to the latest version?
So first, with each update to Chromedriver there is an increase in the minimum supported version of Chrome => older devices are often unable to be automated with the bundled version.
So its not appium/chromdriver compatibility, its your device browser/ chromdriver versions compatibility check.
To check versions compatibility you go look here
When you figure out whats version works for you, run:
npm install appium --chromedriver_version="2.37"
This version supports Chrome v 64-66
The subjected issue can be resolved (In my case this works) if we pass the additional argument while starting the appium server in the local system.
CLI Command: appium --allow-insecure chromedriver_autodownload
The script will automatically search for the newest chromedriver version that supports the given browser/web view, download it (the hash sum is verified as well for the downloaded archive) and add to the chromedriverChromeMappingFile mapping.
For more details please refer to the official documentation of appium: Compatible chromedriver issue fixes options
Hope this helps!
Thanks.
Please download the latest chromedriver from here :
https://sites.google.com/a/chromium.org/chromedriver/downloads
Upgrade your appium server, appium java client to latest version.

How to upgrade Appium to 1.5

I followed Appium instructions to upgrade Appium version to 1.5 . But I observed below exception when I start a server from Appium UI (Appium.exe)
Launching Appium server with command: D:\Appium\node.exe lib\server\main.js --address 127.0.0.1 --port 4723 --no-reset --platform-name Android --platform-version 23 --automation-name Appium --log-no-color
> module.js:338
> throw err;
>
^
> Error: Cannot find module 'D:\Appium\node_modules\appium\lib\server\main.js'
Before starting appium server , I checked appium version & it is still 1.4.16.1
Has anyone tried to upgrade on win 64 machine ? Please suggest if any additional setting needs to be done before upgrading / starting server.
Simplest way to Upgrade Appium
Check checkbox from appium settings GUI for "Check for Updates"
Close Appium GUI and re-launch again OR
You will get a push/pop up as new market version released for Appium
Click on upgrade pop up and follow simple steps to upgrade
Appium GUI does not support version 1.5 currently.
https://github.com/appium/appium-dot-exe/issues/170
If you have installed appium using npm then you can easily upgrade appium to 1.5
Below is the command :
npm update -g appium
and if you want to upgrade to any specific version below is the command :
npm install -g appium#1.5.3
You can enter version number after '#' in the command
Following command automatically upgrade appium , internet connection should be require,
npm install appium
Install latest version of Node js application on windows and download and install latest version from Appium site.
Check your Appium version by running Appium application.
There are 2 types in Appium:
1. Appium GUI version
2. Appium Command line
To update appium GUI version, uninstall the older version and then download the latest version from https://github.com/appium/appium-desktop/releases and install.
To update the command line version run, npm install -g appium. It will automatically take the latest version and install it.
Now we can download the latest version(1.7.1) from the official website.

Appium GUI runs older version of Appium than console

when I run appium through the terminal with the command "Appium &" it runs appium 1.4.10
When I run it from my GUI (which I need to do to use the inspector) it runs 1.4.8
Any ideas how I can make it run with the latest version from the GUI? Thanks.
Itseems you have installed appium ver 1.4.10 at a system level, but the gui you installed is of version 1.4.8. So you should probably download the corresponding gui version - 1.4.10 dmg or exe and install the GUI

Resources