首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Gauge:无法启动gauge API:连接到python #1932超时

Gauge:无法启动gauge API:连接到python #1932超时
EN

Stack Overflow用户
提问于 2021-03-09 07:57:35
回答 1查看 159关注 0票数 0

描述启动gauge API失败的错误:连接到python超时

要复制步骤(或项目)以复制行为,请执行以下操作:

初始化gauge项目运行gauge命令查看错误日志

代码语言:javascript
复制
08-03-2021 15:42:39.185 [Gauge] [DEBUG] Created gauge_screenshots_dir at /Users/xapirija/Development/Career/WB/tmz-qa/app/.gauge/screenshots
08-03-2021 15:42:39.191 [Gauge] [DEBUG] Plugin screenshot is already installed.
08-03-2021 15:42:39.196 [Gauge] [DEBUG] Plugin reportserver is already installed.
08-03-2021 15:42:39.199 [Gauge] [DEBUG] Plugin python is already installed.
08-03-2021 15:42:39.202 [Gauge] [DEBUG] Plugin html-report is already installed.
08-03-2021 15:42:39.205 [Gauge] [DEBUG] Plugin xml-report is already installed.
08-03-2021 15:42:39.208 [Gauge] [DEBUG] Plugin spectacle is already installed.
08-03-2021 15:42:39.214 [Gauge] [DEBUG] Plugin flash is already installed.
08-03-2021 15:42:39.220 [Gauge] [DEBUG] Parsing started.
08-03-2021 15:42:39.221 [Gauge] [DEBUG] Started concepts parsing.
08-03-2021 15:42:39.946 [Gauge] [DEBUG] 0 concepts parsing completed.
08-03-2021 15:42:39.977 [Gauge] [DEBUG] Started specifications parsing.
08-03-2021 15:42:40.134 [Gauge] [DEBUG] 178 specifications parsing completed.
08-03-2021 15:42:40.134 [Gauge] [DEBUG] Applying tags filter: tmz-share & \!analytics
08-03-2021 15:42:40.159 [Gauge] [DEBUG] The following specifications satisfy filter criteria:
08-03-2021 15:42:40.159 [Gauge] [DEBUG] specs/projects/share/tmz/share_tmz__articles.spec
08-03-2021 15:42:40.159 [Gauge] [DEBUG] specs/projects/share/tmz/share_tmz__videos.spec
08-03-2021 15:42:40.159 [Gauge] [DEBUG] Parsing completed.
08-03-2021 15:42:41.891 [Gauge] [DEBUG] Checking updates...
08-03-2021 15:42:41.896 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/flash?l=python&p=flash,html-report,python,reportserver,screenshot,spectacle,xml-report&o=darwin&a=amd64
08-03-2021 15:42:42.023 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/html-report?l=python&p=flash,html-report,python,reportserver,screenshot,spectacle,xml-report&o=darwin&a=amd64
08-03-2021 15:42:42.081 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/python?l=python&p=flash,html-report,python,reportserver,screenshot,spectacle,xml-report&o=darwin&a=amd64
08-03-2021 15:42:42.151 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/reportserver?l=python&p=flash,html-report,python,reportserver,screenshot,spectacle,xml-report&o=darwin&a=amd64
08-03-2021 15:42:42.183 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/screenshot?l=python&p=flash,html-report,python,reportserver,screenshot,spectacle,xml-report&o=darwin&a=amd64
08-03-2021 15:42:42.222 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/spectacle?l=python&p=flash,html-report,python,reportserver,screenshot,spectacle,xml-report&o=darwin&a=amd64
08-03-2021 15:42:42.270 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/xml-report?l=python&p=flash,html-report,python,reportserver,screenshot,spectacle,xml-report&o=darwin&a=amd64
08-03-2021 15:42:44.956 [python] [INFO] Python: 3.9.1
08-03-2021 15:42:44.956 [python] [DEBUG] Loading step implementations from /Users/xapirija/Development/Career/WB/tmz-qa/app/step_impl dirs.
08-03-2021 15:43:10.217 [Gauge] [CRITICAL] Failed to start gauge API: Timed out connecting to python

Expected behavior
Should execute test suite

Versions: 1.1.6

gauge -v
OS [e.g. MacOS 10.15.6 (19G2021) please be specific ] macOS 10.15.7
Runner info (Please specify the correct version of Java/Node/Python/Dotnet/Ruby) Python 3.9.1
IDE info (If using VS Code or Intellij IDEA) VS Code
Additional context```
EN

回答 1

Stack Overflow用户

发布于 2021-10-21 21:14:45

您可以尝试在gauge.properties中设置以下2个配置

代码语言:javascript
复制
runner_connection_timeout 200000
runner_request_timeout 500000

https://docs.gauge.org/configuration.html?os=macos&language=javascript&ide=vscode

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66538929

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档