-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Newman doesn't appear to be able to download Postman Collections in Node 12 #1991
Comments
(Original issue wasn't encountered with the weather collection, but it showcases identical behavior.) |
Ah, running them from a local file succeeds. |
Since three days, all my Newman builds on CircleCi fail with the error 😭 :
On my setup the collection file is not donwloaded but already in the project (running the tests from local works fine). I found a solution to fix it on CircleCi, sticking node to the lts version :
|
I'm having the same issue with the current latest version in homebrew:
When running:
Output:
Downgrading to the LTS version ( |
Yep. We are observing anomalies with Node12. @codenirvana - maybe we can put some of our observations updated here. I suggest downgrading to node 11 / 10 - until we figure out what changed in 12. |
I observed the same problem in Bitbucket Pipelines, Newman 4.4.1, and latest node image in Bitbucket Pipelines. It failed in the middle of the test (after 300 of 905 tests). Specifying Node 10.15 fixed the problem. _tls_wrap.js:534 |
This is fixed in Newman v4.5.0 |
Issue is still present in 4.5.0, my tests are working fine and then this exception appears:
|
I am also still getting the error with newman 4.5.0 and Node version v12.2.0:
Not sure if this is relevant: In my case it comes up when querying a URL with a self-signed SSL certificate. Can this issue be re-opened or should @juchom or I open a fresh issue? Best regards Jannis |
Are you facing issue while fetching collection from url or while running a collection that has this url? @codenirvana if @janniswarnat says it’s the latter, then let’s track that as a separate issue |
A test inside a local collection fails. I will try to reproduce the error with a minimal example and open a new issue. |
New issue has been created with info on how to reproduce: Update to one of my comments: The error is not related to self-signed certificates. |
Confirming that downgrading from nodejs 12.2 to 10.15 solves this issue for me (see repro: #2015 (comment)) |
I am still getting the same issue while generating the URL via sharing collection: |
newman -v
): 4.4.1newman run https://raw.githubusercontent.com/heremaps/postman-collections/master/weather.postman_collection
Node 12.1.0:
Node 10:
Node 12:
The text was updated successfully, but these errors were encountered: