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

Pact test give an "API handler start failed" error while test is successful #216

Open
BenDurmishllariEP opened this issue Jun 14, 2022 · 2 comments

Comments

@BenDurmishllariEP
Copy link

BenDurmishllariEP commented Jun 14, 2022

Expected behaviour

Successful PASS without seeing any unrelated error

Actual behaviour

Successful PASS with seeing an unrelated error - For e.g [ERROR] API handler start failed: accept tcp [::]:37875: use of closed network connection

Steps to reproduce

Use a pact v1.6.7, it seems that the issue came from this change: 01b8e81

@mefellows
Copy link
Member

Thanks.

It would be great to get actual repro steps - e.g. a GH actions build that shows this, and the specific configuration you have leading to that behaviour.

It could be something specific to certain environments (e.g. it looks like an IPv6 issue, and perhaps that's not allowed in your env).

@dlouwers
Copy link

Hi,

I am having a similar issue ([ERROR] API handler start failed: accept tcp [::]:) using pact 1.7.0. I am willing to try and reproduce it in isolation but would first like to know if pact-go requires ipv6 support and in what way exactly. Because if it does I'd rather try to approach a fix from that direction first.

Kind regards.

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

No branches or pull requests

3 participants