skygragon / leetcode-cli

A cli tool to enjoy leetcode!
MIT License
3.65k stars 457 forks source link

[ERROR] http error [code=400] #226

Open Xtscat opened 3 years ago

Xtscat commented 3 years ago

~ # leetcode version -v root@localhost


| | | | | | | | | |_ | | _ | |/ \/ \ |/ _|/ \ / ` |/ \ | | / / |_ (| () | (| | / ||\|_|_|\|_/ _,|_| CLI v2.6.2

[Environment] Node v12.0.0 OS linux 4.14.116 Cache /root/.lc/leetcode.cn/cache Config /root/.lc/config.json

[Configuration] autologin {"enable":true,"retry":2} code {"editor":"vim","lang":"java"} file {"show":"${fid}.${slug}","submission":"${fid}.${slug}.${sid}.${ac}"} color {"enable":true,"theme":"green"} icon {"theme":""} network {"concurrency":10,"delay":1} app "leetcode.cn"

[Themes] Colors blue,dark,default,molokai,orange,pink,solarized,solarized.light Icons ascii,default,win7

[Plugins] cache default retry default leetcode.cn 2018.11.25 leetcode default

~ # leetcode list root@localhost [ERROR] http error [code=400]

~ # leetcode show 1 -g -l java root@localhost [ERROR] http error [code=400]

~ # node -v 130 ↵ root@localhost v12.0.0

~ # npm -v root@localhost 6.14.12

I have tried reinstallation, re-login, etc. And ruled out network problems. But it still reports an error.

Xtscat commented 3 years ago

By the way, my operating system doesn't have a desktop, and I don't know if it has an effect

Li-4 commented 2 years ago

+1

Li-4 commented 2 years ago

this will help for leetcode.cn 400 ERROR #216