0

我将 Open STF 添加到 Bitrise 工作流程,并在构建时给出以下错误消息

Could not get device serials, error: [Get http://x.x.x.x:portno/#%21/devices/api/v1/devices: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)] . 

我在构建步骤中给出了 STF_URL-> 在登录到仪表板后复制了打开 STF 中的 URL,并将 URL 粘贴到了工作流步骤中的 STF_URL 参数中。API 令牌 -> 从 Open STF 仪表板复制粘贴的 API 令牌。

4

1 回答 1

0

Client.Timeout exceeded while awaiting headers 看起来 STF 服务器端的互联网连接速度很慢。

您可以使用 curl 持续该请求的时间吗?例如使用具有此主体的脚本步骤: time curl -H "Authorization: Bearer YOUR-TOKEN-HERE" https://YOUR-HOST-HERE/api/v1/devices

于 2018-11-13T19:00:03.023 回答