hustuhao / bdntoy

百度网盘玩具,唯一的功能是打印分享文件库列表
GNU General Public License v3.0
3 stars 0 forks source link

接近一万条后出现错误 #2

Open 1203746884 opened 3 months ago

1203746884 commented 3 months ago

输出了9339条文件名后,报错了: "https://pan.baidu.com/mbox/msg/shareinfo?........": net/http: request canceled time=2024-05-13T11:10:56.501+08:00 level=INFO msg="Post \"https://pan.baidu.com/mbox/msg/shareinfo?t......": POST https://pan.baidu.com/mbox/msg/shareinfo?...... giving up after 1 attempt(s): context deadline exceeded (Client.Timeout exceeded while awaiting headers)"

hustuhao commented 3 months ago

谢谢反馈,看报错是因为访问超时导致的,有可能是你的说的原因造成的,具体我近期试试看。

1203746884 commented 3 months ago

输出了9339条文件名后,报错了: "https://pan.baidu.com/mbox/msg/shareinfo?........": net/http: request canceled" https://pan.baidu.com/mbox/msg/shareinfo?........": net/http: 请求已取消 time=2024-05-13T11:10:56.501+08:00 level=INFO msg="Post "https://pan.baidu.com/mbox/msg/shareinfo?t......": POST https://pan.baidu.com/mbox/msg/shareinfo?...... giving up after 1 attempt(s): context deadline exceeded (Client.Timeout exceeded while awaiting headers)"time=2024-05-13T11:10:56.501+08:00 level=INFO msg="Post " https://pan.baidu.com/mbox/msg/shareinfo?t......": POST https ://pan.baidu.com/mbox/msg/shareinfo?...... 1 次尝试后放弃:超出上下文截止时间(等待标头时超出 Client.Timeout)”

有时候还会报错: time=2024-05-13T15:20:52.345+08:00 level=INFO msg="net/http: request canceled (Client.Timeout or context cancellation while reading body)"