Skip to content

login with error: [ERROR] Error: certificate has expired #213

@zxmrlc

Description

@zxmrlc

first I replace all leetcode.com with leetcode-cn.com in /usr/local/lib/node_modules/leetcode-cli
then login .
root@NC:~# leetcode user -l -vv
[TRACE] initializing all plugins
[TRACE] found plugin: cache=default
[TRACE] found plugin: leetcode=default
[TRACE] found plugin: retry=default
[TRACE] inited plugin: leetcode
[TRACE] inited plugin: retry
[TRACE] inited plugin: cache
login: myAccount
pass:
[DEBUG] running leetcode.login
[DEBUG] running leetcode.signin
⠋ Signing in leetcode-cn.com[TRACE] REQUEST %s { uri: 'https://leetcode-cn.com/accounts/login/',
callback: [Function] }
[TRACE] REQUEST %s make request https://leetcode-cn.com/accounts/login/
[ERROR] Error: certificate has expired

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions