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

Windows connect ECONNREFUSED #369

Closed
utimur opened this issue Mar 6, 2022 · 2 comments · Fixed by #377
Closed

Windows connect ECONNREFUSED #369

utimur opened this issue Mar 6, 2022 · 2 comments · Fixed by #377

Comments

@utimur
Copy link

utimur commented Mar 6, 2022

Trying to run tests on windows 10

npx loki test

loki test v0.28.1
 FAIL  chrome.app
       Starting
       connect ECONNREFUSED ::1:50499

configuration

"loki": {
    "configurations": {
      "chrome.laptop": {
        "target": "chrome.app",
        "width": 1366,
        "height": 768,
        "deviceScaleFactor": 1,
        "mobile": false
      }
    }
  }

At the same time, everything works fine in the same repository on the mac os

Is there a solution? did not find similar issues

@geigerzaehler
Copy link
Contributor

I’m seeing the same problem on Linux. For me it was caused by GoogleChrome/chrome-launcher#251. That bug has been fixed but loki sill uses an old version of chrome-launcher.

geigerzaehler added a commit to geigerzaehler/loki that referenced this issue Apr 2, 2022
This fixes an issue where chrome would fail to launch if `localhost`
resolved to the IPv6 address `::1` on Node 17.

Fixes oblador#369.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
oblador pushed a commit to geigerzaehler/loki that referenced this issue Apr 29, 2022
This fixes an issue where chrome would fail to launch if `localhost`
resolved to the IPv6 address `::1` on Node 17.

Fixes oblador#369.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
oblador pushed a commit to geigerzaehler/loki that referenced this issue Apr 29, 2022
This fixes an issue where chrome would fail to launch if `localhost`
resolved to the IPv6 address `::1` on Node 17.

Fixes oblador#369.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
oblador pushed a commit that referenced this issue Apr 29, 2022
This fixes an issue where chrome would fail to launch if `localhost`
resolved to the IPv6 address `::1` on Node 17.

Fixes #369.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
@bonesoul
Copy link

bonesoul commented Jul 15, 2022

any fixes for this?

still getting the error with windows witn node 18.

λ loki update
loki update v0.30.3
 FAIL  chrome.app
       Fetching stories
       connect ECONNREFUSED ::1:55504
Some visual tests failed to run

any chances to test with chrome-launcher 0.15.1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants