[Bug] Unable to log in and download
Describe the bug
之前用过 没有任何问题,最近报错无法使用 用了代理,环境变量里设置 TDL_PROXY = socks5://localhost:10808 TDL_NS = admin 以下分别是登录和下载的报错情况:
To Reproduce
tdl login -d "D:\soft\Telegram Desktop" Error: decrypt keyEncrypted: github.com/gotd/td/session/tdesktop.readKeyData github.com/gotd/[email protected]/session/tdesktop/key_data.go:33
- msg_key mismatch: github.com/gotd/td/session/tdesktop.decryptLocal github.com/gotd/[email protected]/session/tdesktop/local_key.go:67
tdl dl -u https://t.me/xxx/1 -d "D:\Downloads" Error: create client: github.com/iyear/tdl/cmd.tRun github.com/iyear/tdl/cmd/root.go:159
- create network clock: github.com/iyear/tdl/core/tclient.New github.com/iyear/tdl/[email protected]/tclient/tclient.go:47
- read udp 192.168.0.106:54775->108.59.2.24:123: i/o timeout
Expected behavior
正常使用
Version
0.17.3
Which OS are you running tdl on?
Windows
Additional context
No response
电脑登录tg后,再用tdl下载报错: Error: callback: github.com/gotd/td/telegram.(*Client).Run.func3 github.com/gotd/[email protected]/telegram/connect.go:151
- not authorized. please login first
再次运行报此错,尝试了切换tun模式就又行了
电脑登录tg后,再用tdl下载报错: Error: callback: github.com/gotd/td/telegram.(*Client).Run.func3 github.com/gotd/[email protected]/telegram/connect.go:151
- not authorized. please login first
我也是同样的报错,即使从新登陆在下载也不行。
not authorized. please login first Perform the login operation again.
I found the reason, it was caused by setting the lock screen password for the desktop client, I hope the author can optimize it in the future, thanks!
@nikkoozz If you set the desktop client passcode, you should set flags: tdl login -p YOUR_PASSCODE