Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sean0157 opened this issue Nov 5, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@sean0157
Copy link

sean0157 commented Nov 5, 2024

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 sean0157 added the bug Something isn't working label Nov 5, 2024
@iyear
Copy link
Owner

iyear commented Nov 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants