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

Fix bot breaking on invalid SSL chain #26

Closed
kokarn opened this issue Jun 13, 2016 · 1 comment
Closed

Fix bot breaking on invalid SSL chain #26

kokarn opened this issue Jun 13, 2016 · 1 comment
Assignees

Comments

@kokarn
Copy link
Owner

kokarn commented Jun 13, 2016

{ [Error: unable to verify the first certificate] code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' }
/var/www/ircbot/node_modules/cheerio/lib/parse.js:55
    var oldParent = node.parent || node.root,
                        ^

TypeError: Cannot read property 'parent' of undefined
    at Function.exports.update (/var/www/ircbot/node_modules/cheerio/lib/parse.js:55:25)
    at module.exports (/var/www/ircbot/node_modules/cheerio/lib/parse.js:17:11)
    at Function.exports.load (/var/www/ircbot/node_modules/cheerio/lib/static.js:19:14)
    at UrlcheckerBotPlug.detectEncoding (/var/www/ircbot/plugins/Urlchecker.js:18:25)
    at Request._callback (/var/www/ircbot/plugins/Urlchecker.js:65:29)
    at self.callback (/var/www/ircbot/node_modules/request/request.js:200:22)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at Request.onRequestError (/var/www/ircbot/node_modules/request/request.js:831:8)
    at emitOne (events.js:77:13)
    at ClientRequest.emit (events.js:169:7)
    at TLSSocket.socketErrorListener (_http_client.js:256:9)
    at emitOne (events.js:77:13)
    at TLSSocket.emit (events.js:169:7)
    at emitErrorNT (net.js:1253:8)
    at nextTickCallbackWith2Args (node.js:442:9)
@kokarn
Copy link
Owner Author

kokarn commented Jun 13, 2016

Fixed with a3ab01e.

@kokarn kokarn closed this as completed Jun 13, 2016
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