tdl icon indicating copy to clipboard operation
tdl copied to clipboard

[Bug] Please complete title/chat ls报错,怀疑为代理失败

Open sean0157 opened this issue 1 year ago • 2 comments

Describe the bug

login后,chat ls报错,提示未登陆,怀疑为代理失败,请问要如何处理

To Reproduce

[wu@Sean-2 ~]$tdl --proxy socks5://127.0.0.1:7890 login WARN: If data exists in the namespace, data will be overwritten Importing session from desktop client: /Users/wu/Library/Application Support/Telegram Desktop/tdata

? Choose a user id: 20977305 Import 20977305 successfully to 'default' namespace! ? Do you want to logout existing desktop session? No [wu@Sean-2 ~]$tdl --proxy socks5://127.0.0.1:7890 -n default chat ls Error: callback: github.com/gotd/td/telegram.(*Client).Run.func3 github.com/gotd/[email protected]/telegram/connect.go:151

  • not authorized. please login first

Expected behavior

消除报错

Version

[wu@Sean-2 ~]$tdl version Version: 0.17.2 Commit: 291d7f5 Date: 2024-06-19T17:16:23Z

go1.21.11 darwin/amd64

Which OS are you running tdl on?

macOS

Additional context

No response

sean0157 avatar Nov 05 '24 21:11 sean0157

This is a very strange error. I may need more context.

Before that, try logging in using your phone number or scanning a QR code.

iyear avatar Nov 06 '24 12:11 iyear

Try logging in with your phone number.

Caseyll avatar Apr 14 '25 16:04 Caseyll