Many "ERROR: session expired" printed when do "submission -a"
When I use command "submission -a -x" to download all the solutions to my submitted questions, only a few get downloaded and most questions shows "ERROR: session expired, please login again". I attached the screenshot below.
I tried to re-login again but this issue still existed. Then I tried to use "submission" command to download a single solution instead of "submission -a", and then it succeeded. So it seems that "-a" option has some problem leading this issue. Any ideas?

seems leetcode.com is thresholding concurrent requests of submissions...
Does anyone solve this problem I also met this problem
Does anyone solve this problem I also met this problem
You can lower concurrency to 1, and add a setTimout here https://github.com/skygragon/leetcode-cli/blob/8dc0b2ab9b04771bfeef29f02e52371ff8f16db6/lib/commands/submission.js#L77.
Not ideal, but will pull most of your submissions.
Does anyone solve this problem I also met this problem
You can lower concurrency to 1, and add a setTimout here
https://github.com/skygragon/leetcode-cli/blob/8dc0b2ab9b04771bfeef29f02e52371ff8f16db6/lib/commands/submission.js#L77 .
Not ideal, but will pull most of your submissions.
Could you please provide code if it won't take you much time?
Does anyone solve this problem I also met this problem
You can lower concurrency to 1, and add a setTimout here https://github.com/skygragon/leetcode-cli/blob/8dc0b2ab9b04771bfeef29f02e52371ff8f16db6/lib/commands/submission.js#L77
. Not ideal, but will pull most of your submissions.
Could you please provide code if it won't take you much time?
- exportSubmission(problem, argv, onTaskDone);
+ setTimeout(() => {
+ exportSubmission(problem, argv, onTaskDone);
+ }, 3000);