Skip to content

Failed to establish a connection on Jenkins #216

@nyjacson

Description

@nyjacson

I running percy on my jenkins and getting error but getting,
Failed to establish a connection with http://localhost:3999/percy/healthcheck

This is the log from my Jenkins

percy exec -- percy health-check
[percy] created build #59: https://percy.io/x/xxxxx/builds/xxxxxx
[percy] percy has started.
[percy] Failed to establish a connection with http://localhost:5338/percy/healthcheck
[percy] stopping percy...
[percy] waiting for 0 snapshots to complete...
[percy] done.
[percy] finalized build #59: https://percy.io/x/xxxxx/builds/xxxxxx

I am using this version.

@percy/agent/0.4.9 linux-x64 node-v10.12.0

Curl command works, so port 5338 is available.

percy exec -- curl localhost:5338
[percy] created build #61: https://percy.io/x/xxxxx/builds/xxxxxx
[percy] percy has started.
<!DOCTYPE html>
<html lang="en">
....
</html>
[percy] stopping percy...
[percy] waiting for 0 snapshots to complete...
[percy] done.
[percy] finalized build #61: https://percy.io/x/xxxxx/builds/xxxxxx

Could you give me some advise?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions