【问题标题】:Unable to run browserstack-cypress无法运行 browserstack-cypress
【发布时间】:2021-03-15 15:47:05
【问题描述】:

我正在尝试运行browserstack-cypress-cli: browserstack-cypress run --sync

我不断收到:

[3/15/2021, 4:34:03 PM] - info: Reading config from C:\test\browserstack.json
[3/15/2021, 4:34:03 PM] - info: Validating the config
[3/15/2021, 4:34:03 PM] - info: Creating tests.zip with files in .
[3/15/2021, 4:34:04 PM] - info: Uploading the tests to BrowserStack
[3/15/2021, 4:34:04 PM] - error:
{
  message: 'Client network socket disconnected before secure TLS connection was established',
  stack: 'Error: Client network socket disconnected before secure TLS connection was established\n' +
    '    at connResetException (internal/errors.js:604:14)\n' +
    '    at TLSSocket.onConnectEnd (_tls_wrap.js:1513:19)\n' +
    '    at Object.onceWrapper (events.js:417:28)\n' +
    '    at TLSSocket.emit (events.js:323:22)\n' +
    '    at endReadableNT (_stream_readable.js:1204:12)\n' +
    '    at processTicksAndRejections (internal/process/task_queues.js:84:21)',
  code: 'ECONNRESET',
  path: null,
  host: 'api-cloud.browserstack.com',
  port: 443,
  localAddress: undefined
}
[3/15/2021, 4:34:04 PM] - error: Zip Upload failed.
[3/15/2021, 4:34:04 PM] - info: Deleted tests.zip successfully.

Here你可以找到我已经跟进的指南

【问题讨论】:

    标签: cypress browserstack


    【解决方案1】:

    如果你切换到不同的网络并执行相同的命令会发生什么?

    对我来说似乎是网络问题。原因可能是您网络上带有 SSL 检查的代理。

    【讨论】:

    猜你喜欢
    • 2022-01-18
    • 2019-04-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-04
    • 1970-01-01
    • 2022-06-17
    • 2021-06-06
    相关资源
    最近更新 更多