Comments (7)
I don't observe the chromedriver_autodownload
is enabled in the attached log
from appium-chromedriver.
Is this part is not showing enable insecure server flags?
"...
2020-01-20 14:47:36:230 - [Appium] allowInsecure: {
2020-01-20 14:47:36:230 - [Appium] 0: chromedriver_autodownload
2020-01-20 14:47:36:231 - [Appium] 1: adb_shell
2020-01-20 14:47:36:231 - [Appium] }.."
from appium-chromedriver.
True, it is enabled. Most likely the server does not have a possibility to connect to the chromedrivers storage at: https://chromedriver.storage.googleapis.com
So this is where the timeout exception is coming from
2020-01-20 14:48:01:029 - [Chromedriver] RequestError: Error: ETIMEDOUT
2020-01-20 14:48:01:030 - [Chromedriver] at new RequestError (/opt/testdroid/appium-1.16.0/node_modules/appium/node_modules/request-promise-core/lib/errors.js:14:15)
2020-01-20 14:48:01:030 - [Chromedriver] at Request.plumbing.callback (/opt/testdroid/appium-1.16.0/node_modules/appium/node_modules/request-promise-core/lib/plumbing.js:87:29)
2020-01-20 14:48:01:030 - [Chromedriver] at Request.RP$callback [as _callback] (/opt/testdroid/appium-1.16.0/node_modules/appium/node_modules/request-promise-core/lib/plumbing.js:46:31)
2020-01-20 14:48:01:031 - [Chromedriver] at self.callback (/opt/testdroid/appium-1.16.0/node_modules/appium/node_modules/request/request.js:185:22)
2020-01-20 14:48:01:031 - [Chromedriver] at Request.emit (events.js:198:13)
2020-01-20 14:48:01:032 - [Chromedriver] at Timeout._onTimeout (/opt/testdroid/appium-1.16.0/node_modules/appium/node_modules/request/request.js:852:16)
2020-01-20 14:48:01:032 - [Chromedriver] at ontimeout (timers.js:436:11)
2020-01-20 14:48:01:032 - [Chromedriver] at tryOnTimeout (timers.js:300:5)
2020-01-20 14:48:01:033 - [Chromedriver] at listOnTimeout (timers.js:263:5)
2020-01-20 14:48:01:033 - [Chromedriver] at Timer.processTimers (timers.js:223:10)
from appium-chromedriver.
Thank You it looks like this is the case.
from appium-chromedriver.
Hi,
I'm facing a similar issue, but its not due to connection issues.
Started Appium server using the command mentioned in docs, log as follows:
appium --allow-insecure chromedriver_autodownload
[Appium] Welcome to Appium v1.15.1
[Appium] Non-default server args:
[Appium] allowInsecure: {
[Appium] 0: chromedriver_autodownload
[Appium] }
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
Capabilities which I've used in code:
capabilities.setCapability("chromedriverChromeMappingFile", "@pathtofile");
capabilities.setCapability("chromedriverExecutableDir", "D:\Mobile_Android");
Error log:
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1612277418201 (20:20:18 GMT+0530 (India Standard Time))
[debug] [W3C] Encountered internal error running command: Error: No Chromedrivers found in 'D:\Mobile_Android'
[debug] [W3C] at Object.wrappedLogger.errorAndThrow (C:\Users\aakash.r\AppData\Roaming\npm\node_modules\appium\node_modules\appium-support\lib\logging.js:79:13)
[debug] [W3C] at Chromedriver.errorAndThrow [as start] (C:\Users\aakash.r\AppData\Roaming\npm\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:540:11)
[debug] [W3C] at AndroidUiautomator2Driver.setupNewChromedriver (C:\Users\aakash.r\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\context.js:429:3)
[debug] [W3C] at AndroidUiautomator2Driver.startChromeSession (C:\Users\aakash.r\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\context.js:245:23)
[debug] [W3C] at AndroidUiautomator2Driver.startUiAutomator2Session (C:\Users\aakash.r\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:353:7)
[debug] [W3C] at AndroidUiautomator2Driver.createSession (C:\Users\aakash.r\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:211:7)
[debug] [W3C] at AppiumDriver.createSession (C:\Users\aakash.r\AppData\Roaming\npm\node_modules\appium\lib\appium.js:353:35)
[debug] [W3C] at AppiumDriver.executeCommand (C:\Users\aakash.r\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:376:13)
[debug] [W3C] at AppiumDriver.executeCommand (C:\Users\aakash.r\AppData\Roaming\npm\node_modules\appium\lib\appium.js:482:14)
[debug] [W3C] at asyncHandler (C:\Users\aakash.r\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:306:21)
Its searching for existing drivers instead of downloading I guess.
Please let me know how to fix this if there is an issue on my side.
from appium-chromedriver.
Please try out the latest Appium version with chromedriver_autodownload
in http://appium.io/docs/en/writing-running-appium/security/#insecure-features
from appium-chromedriver.
Thank you @KazuCocoa. Upgrading appium worked for me.
I tried with 1.15.1 as it is mentioned in appium docs that this feature is supported from 1.8.0 onwards. Please consider updating the version number in docs. Thank you for your help.
from appium-chromedriver.
Related Issues (20)
- Action required: Greenkeeper could not be activated 🚨
- Original error: unknown error: unable to discover open pages HOT 1
- Appium session times out after a long time waiting to interact with the Chrome browser HOT 2
- Chromedriver needs updating HOT 1
- Need update on npm HOT 5
- Test Script not able to locate element on Real Device post switching to webview of a hybrid app. HOT 9
- Cannot install - Socket Hang Up [OSX 10.11.4] HOT 1
- Expose all the arguments of chromedriver. HOT 2
- startSession() should have restartAdb logic as present in previous versions of appium HOT 1
- Trying to use a chromedriver binary at the path /Users/automation/.appium/node_modules/appium-device-farm/chromedriver/chromedriver_mac64_v124.0.6367.207, but it doesn't exist! HOT 1
- Issue in installing appium on mac through terminal window nom install appium command HOT 8
- Node install failure on version 2.9.2 HOT 4
- Unit tests are failing on gulp.once HOT 5
- Error with chromedriver when installing appium HOT 7
- ChromeDriver cannot switch context to webview in another app HOT 8
- Add Support for Installing Chromedriver 2.23+ on OS X HOT 5
- The Added Support for Installing Chromedriver 2.23+ on OS X HOT 8
- Error with chromedriver when installing appium1.6.0 HOT 12
- Action required: Greenkeeper could not be activated 🚨
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium-chromedriver.