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

Failing due to an SSL error. #5

Closed
kareemserry opened this issue Nov 1, 2020 · 2 comments
Closed

Failing due to an SSL error. #5

kareemserry opened this issue Nov 1, 2020 · 2 comments

Comments

@kareemserry
Copy link

kareemserry commented Nov 1, 2020

TypeError: Cannot read property 'statusCode' of undefined
    at D:\guc9th\cms-downloader\index.js:33:15
    at D:\guc9th\cms-downloader\node_modules\httpntlm\httpntlm.js:99:18
    at finalCallback (D:\guc9th\cms-downloader\node_modules\httpreq\lib\httpreq.js:98:7)
    at ClientRequest.<anonymous> (D:\guc9th\cms-downloader\node_modules\httpreq\lib\httpreq.js:428:5)
    at ClientRequest.emit (events.js:315:20)
    at TLSSocket.socketErrorListener (_http_client.js:426:9)
    at TLSSocket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:92:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

image

this request is failing, and returning and error instead of a response. Logging the error returns this.

Error: unable to verify the first certificate
    at TLSSocket.onConnectSecure (_tls_wrap.js:1496:34)
    at TLSSocket.emit (events.js:315:20)
    at TLSSocket._finishInit (_tls_wrap.js:938:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:696:12) {
  code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}

nodejs/node#33705

this seems to be a server side issue, but maybe there is a way to work around it.

@AhmedAshrafAZ
Copy link
Owner

Hello Kareem,
This issue was solved earlier today. Can you please try "git pull origin main" then "npm start"? Then tell me again if there is still an issue.

@kareemserry
Copy link
Author

can confirm this is working in the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants