Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded 的解决办法

简介: Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded 的解决办法

一、前置说明


Appium 在使用华为mate 30 pro 做自动化测试时,在确定"元素在页面"的前提下,一直定位不到元素。在添加隐式等待和显示等待之后,仍无效,并且抛出错误:


E selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded


二、解决办法


参考 https://github.com/appium/appium/issues/14998


对这三个应用:Appium Settings, io.appium.uiautomator2.server, io.appium.uiautomator2.server.test,进行如下操作:


  1. 向左滑动,关闭自动管理;
  2. 此时会弹出三个选项:允许自启动、允许关联启动、允许后台活动;
  3. 把这三个选项都开启。
目录
相关文章
|
3月前
|
Java Spring
成功解决Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings
这篇文章提供了解决Spring Initializr网站初始化失败问题的方法,包括检查URL、网络和代理设置。
成功解决Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings
|
5月前
|
Ubuntu Linux C语言
Could not establish connection to “xx.xx.xx.xx“:The VS Code Server faild to start.【重要解决方案】
Could not establish connection to “xx.xx.xx.xx“:The VS Code Server faild to start.【重要解决方案】
152 0
|
6月前
|
Java Spring
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings.
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings.
1012 0
Error from server error dialing backend remote error tls internal error
Error from server error dialing backend remote error tls internal error
116 0
|
Java Spring
Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings解决办法
Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings解决办法
3503 1
Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings解决办法
|
Linux
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
614 0
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
|
网络协议 Oracle MySQL
从源码解析ERROR 1129 (HY000):Host is blocked because of many connection errors
原创水平有限,有错请指出 源码版本5.7.14 今天群里一个朋友出现如下错误: ERROR 1129 (HY000): Host '10.0.0.8' is blocked because of many connection errors; unblock w...
2528 0
|
缓存 网络协议 关系型数据库
从Host blocked报错学习max_connect_errors
1.案发现场-Host blocked 一个案例场景是大数据抽取job任务连接MySQL实例抽数,任务报错如下图所示:报错表示,host被锁是由于有大量的连接错误,如果要解锁就执行mysqladmin flush-hosts;知识点!!!线索:host被锁,大量连接错误证人提示线索:确认最近新加p.
1474 0
从Host blocked报错学习max_connect_errors
|
应用服务中间件 nginx
[error] 17755#0: *58522 readv() failed (104: Connection reset by peer) while reading upstream
[error] 17755#0: *58522 readv() failed (104: Connection reset by peer) while reading upstream
5076 0