-
Notifications
You must be signed in to change notification settings - Fork 162
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
Step 12 (Pactflow) Error when executing Pact verifier (even without broker) #92
Comments
Hmm very strange. Could you please set the log level to DEBUG and share the log file? I suspect it's a Windows related issue. I haven't properly tested on Windows, so there are likely dragons to be found there. Are you running this on a personal or work machine? Most SSL issues I see relate to corporate networks/proxy configurations, or older machines that don't have up-to-date CA bundles. |
Hi @mefellows, Thanks for your reply. To answer your question, I'm using my work laptop and it's running Windows 10 Enterprise. It is connected behind corporate networks/proxy configuration. I'm planning to work with our security guy from work on the SSL issue next week. For the time being, I'm able to move on with 'PACT_DISABLE_SSL_VERIFICATION = true'. Follow up to your comment about CA bundles, I have downloaded the chain cert following Connecting to a Pact Broker running over TLS and set "SSL_CERT_FILE" per pactflow_require_https In regards to the Pact Verifier issue, here is the Log per request.
|
I encountered a handful of broken changes in each "step branches" following the JS workshop but managed to get around/fix most of them by googling. When I get to Step 12, I was dealing with SSL error publishing to Pactlow. Spent the entire day googling, generating cert, setting 'SSL_CERT_FILE' environment var - without much luck. l finally gave up and set 'PACT_DISABLE_SSL_VERIFICATION = true'. I was able to publish PACT to pactflow.
However, when I run 'npm run test:pact --prefix provider ' to execute PACT verifier, I started getting the error below.
I have never seen before prior to Step 12. I even updated the configuration to use local PACT file instead of broker and still getting the same error.
Note: Provider verifies with local Pact was working prior to Step 12.
Please help!
ERROR Message
See attached
Or below:
provider\product\product.pact.test.js
See attached JS (renamed as txt): product.pact.test.js.txt
consumer\pacts\FrontendWebsite-ProductService.json
See attached JSON (renamed as txt): FrontendWebsite-ProductService.json.txt
The text was updated successfully, but these errors were encountered: