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

The pact consumer core returned false at 'withResponseHeader'. #607

Open
irene604 opened this issue Feb 21, 2025 · 2 comments
Open

The pact consumer core returned false at 'withResponseHeader'. #607

irene604 opened this issue Feb 21, 2025 · 2 comments
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@irene604
Copy link

ERROR (1656): pact-core@16.0.0: !!!!!!!!! PACT CRASHED !!!!!!!!!

The pact consumer core returned false at 'withResponseHeader'. This
should only happen if the core methods were invoked out of order

This is almost certainly a bug in pact-js-core. It would be great if you could
open a bug report at: https://github.com/pact-foundation/pact-js-core/issues
so that we can fix it.

There is additional debugging information above. If you open a bug report,
please rerun with logLevel: 'debug' set in the VerifierOptions, and include the
full output.

SECURITY WARNING: Before including your log in the issue tracker, make sure you
have removed sensitive info such as login credentials and urls that you don't want
to share with the world.

@irene604 irene604 added the bug Indicates an unexpected problem or unintended behavior label Feb 21, 2025
@irene604
Copy link
Author

025-02-21T15:21:12.760562Z ERROR ThreadId(02) pact_ffi::mock_server: Failed to start mock server - Could not start server: error creating server listener: Only one usage of each socket address (protocol/network address/port) is normally permitted. (os error 10048)

@YOU54F
Copy link
Member

YOU54F commented Mar 3, 2025

Please provide some basic troubleshooting info as per the guidance when creating the issue. If we cannot reproduce it or are unable to see the test in question, it is very difficult to help

Thank you for reporting a bug! We appreciate it very much. Issues are a big input into the priorities for Pact development

All italic text in this template is safe to remove before submitting

Thanks again!

Software versions

Please provide at least OS and version of pact-js

  • OS: e.g. Mac OSX 10.11.5
  • Pact Node version: e.g. Pact Node v2.6.0
  • Node Version: node --version
  • Other Versions: Any other versions you think might be relevant (optional)

Issue Checklist

Please confirm the following:

  • I have upgraded to the latest
  • I have the read the FAQs in the Readme
  • I have triple checked, that there are no unhandled promises in my code
  • I have set my log level to debug and attached a log file showing the complete request/response cycle
  • For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem

Expected behaviour

fill in here

Actual behaviour

fill in here

Steps to reproduce

How can someone else reproduce this bug?

For extra bonus points and internet karma, provide a repository, gist or reproducible code snippet so that we can test the problem.

We recommend forking the project and modifying a relevant example in the examples folder

Relevant log files

Please ensure you set logging to DEBUG and attach any relevant log files here (or link to a gist).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants