-
Notifications
You must be signed in to change notification settings - Fork 760
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
when calling https on locahost I get "Cannot read property 'status' of undefined" #370
Comments
+1 |
1 similar comment
+1 |
Putting I'll create a pull request to add it to the docs. |
@royts do you want to upgrade to 2.0.1 and see if that resolves the issue? |
+1 Having same issue after upgrading from 1.0.1 to 2.0.1 without any code changes. Neither NODE_TLS_REJECT_UNAUTHORIZED nor 2.0.1 helps. |
+1 at Test.< anonymous > (src/xxxxx.js:81:29) |
Fixed it for me, thanks! Maybe SSL could be a boolean option passed in somewhere? |
#446 should help reveal the underlying error here. |
V3.1.0 has been published which includes #446 to solve handling for this error case. |
Hi,
here is my test code:
when I run it get the error:
while with curl I get a valid answer:
the answer:
any idea what am I doing wrong?
btw - I'm using latest version (2.0.0)
thanks.
The text was updated successfully, but these errors were encountered: