Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browserstack: Build not created, Error: connect ECONNREFUSED #1460

Closed
caendesilva opened this issue Dec 9, 2023 · 3 comments
Closed

Browserstack: Build not created, Error: connect ECONNREFUSED #1460

caendesilva opened this issue Dec 9, 2023 · 3 comments
Labels
🐛 bug Something isn't working

Comments

@caendesilva
Copy link

The problem

Recently, without having made any changes to the environment, our GitHub Actions visual regression testing using Browserstack stopped working. This could be related to #1459.

Environment

This happens in GitHub Actions.

  • Node version: built-in actions version
  • @percy/cli version: latest release
  • OS version: ubuntu-latest

Debug logs

Run npx percy snapshot _site/ -v
  npx percy snapshot _site/ -v
  shell: /usr/bin/bash -e {0}
  env:
    PERCY_TOKEN: ***
[percy:config] Config file not found (0ms)
[percy:core:install] Downloading Chromium 9295[1](https://github.com/hydephp/develop/actions/runs/7150918096/job/19474699781?pr=1487#step:6:1)1...
[percy:core:install] Successfully downloaded Chromium 9[2](https://github.com/hydephp/develop/actions/runs/7150918096/job/19474699781?pr=1487#step:6:2)9511 ([3](https://github.com/hydephp/develop/actions/runs/7150918096/job/19474699781?pr=1487#step:6:3)695ms)
[percy:core:browser] Launching browser (29ms)
[percy:core:browser] Browser connected [1993]: HeadlessChrome/96.0.[4](https://github.com/hydephp/develop/actions/runs/7150918096/job/19474699781?pr=1487#step:6:4)664.0 (382ms)
[percy:core] Percy has started! (0ms)
[percy:core:queue] Clearing discovery queue, queued state: 0, pending state: 0 (272ms)
[percy:core:queue] Clearing snapshot queue, queued state: 0, pending state: 0 (0ms)
[percy:core] Stopping percy... (0ms)
[percy:core:queue] Clearing discovery queue, queued state: 0, pending state: 0 (0ms)
[percy:core:browser] Closing browser (1ms)
[percy:core:browser] Browser closed (1[5](https://github.com/hydephp/develop/actions/runs/7150918096/job/19474699781?pr=1487#step:6:5)ms)
[percy:core:queue] Clearing snapshot queue, queued state: 0, pending state: 0 (0ms)
[percy:core] Build not created (1ms)
[percy:cli] Error: connect ECONNREFUSED ::1:40751
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:1[6](https://github.com/hydephp/develop/actions/runs/7150918096/job/19474699781?pr=1487#step:6:7)) (0ms)
Error: Process completed with exit code 1.

Code to reproduce issue

- name: Install Percy
  run: npm install --save-dev @percy/cli

- name: Upload build to Percy
  run: npx percy snapshot _site/ -v
  env:
    PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

Please see test run https://github.com/hydephp/develop/actions/runs/7150918096/job/19474699781?pr=1487

@itsjwala
Copy link
Contributor

We'll be checking this today.

@itsjwala itsjwala added the 🐛 bug Something isn't working label Dec 11, 2023
@itsjwala
Copy link
Contributor

Thankyou for reporting we've narrowed down the issue, #1459 (comment)

closing this issue as duplicate of other one.

@caendesilva
Copy link
Author

Thankyou for reporting we've narrowed down the issue, #1459 (comment)

closing this issue as duplicate of other one.

Thanks! I figured it might have been related, but thought I should report it just in case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants