Cert error

Đang mở
#515 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
aws, javascript
Lĩnh vực
cli, cloud, networking

Hướng nghiên cứu

Start by reproducing the documented deploy command with --proxy and the shown self-signed certificate error, then trace where proxy and TLS settings are handled. Done means deployments through a proxy with this certificate setup either succeed or the supported certificate configuration and limitation are clearly documented.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

question

When trying to deploy, I keep getting a cert error. I am behind a proxy, which i've specified via --proxy "http://myproxy.com:8080". The error is as follows:

Error: self signed certificate in certificate chain
    at TLSSocket.onConnectSecure (_tls_wrap.js:1051:34)
    at TLSSocket.emit (events.js:189:13)
    at TLSSocket.EventEmitter.emit (domain.js:441:20)
    at TLSSocket._finishInit (_tls_wrap.js:633:8)
  message: 'self signed certificate in certificate chain',
  code: 'NetworkingError',
  region: 'us-east-1',
  hostname: 'lambda.us-east-1.amazonaws.com',
  retryable: true,
  time: 2020-01-13T19:42:16.842Z }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! helloworld@1.0.0 deploy: `node-lambda deploy --configFile .env --proxy http://myproxy.com:8080`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the helloworld@1.0.0 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\myuser\AppData\Roaming\npm-cache\_logs\2020-01-13T19_42_16_905Z-debug.log
Ngôn ngữ chính
JavaScript
Star
1.4k
Fork
185
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của motdotla/node-lambda

Tất cả issue của motdotla/node-lambda

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.