tdl icon indicating copy to clipboard operation
tdl copied to clipboard

[Bug] No responce for using Chat or Download cmd

Open hketernal opened this issue 2 years ago • 11 comments

Describe the bug

Hello there, I was using the tdl perfectly, but it was no responce few days before. I can login to my account in tdl, but I cannot using CHAT LS and DOWNLOAD cmd, It had the error like the following message `Error: group: github.com/gotd/td/internal/mtproto.(*Conn).Run github.com/gotd/[email protected]/internal/mtproto/conn.go:214

  • task userCallback: github.com/gotd/td/internal/tdsync.(*LogGroup).Go.func1 github.com/gotd/[email protected]/internal/tdsync/log_group.go:48
  • initConnection: github.com/gotd/td/telegram/internal/manager.(*Conn).init github.com/gotd/[email protected]/telegram/internal/manager/conn.go:230
  • invoke: github.com/gotd/td/telegram/internal/manager.(*Conn).init.func1 github.com/gotd/[email protected]/telegram/internal/manager/conn.go:221
  • rpcDoRequest: github.com/gotd/td/internal/mtproto.(*Conn).Invoke github.com/gotd/[email protected]/internal/mtproto/rpc.go:44
  • retryUntilAck: github.com/gotd/td/internal/rpc.(*Engine).Do github.com/gotd/[email protected]/internal/rpc/engine.go:141
  • retry limit reached after 1 attempts`

What is the problem? Thank you for your help.

To Reproduce

tdl dl -u URL tdl chat ls

Expected behavior

My chat lists should be shown but no reponse for more than 5 mins, it was working before.

Version

Version: 0.16.0 Commit: 0e1ce1d Date: 2024-02-15T02:51:19Z

go1.21.7 windows/amd64

Which OS are you running tdl on?

Windows

Additional context

No response

hketernal avatar Mar 14 '24 17:03 hketernal

I encounter the same problem. After I try to reinstall the telegram downloader and run the command "tdl chat ls", the problem remains unsolved.

808834 avatar Mar 20 '24 03:03 808834

Still get the same error after few days

Error: group: github.com/gotd/td/mtproto.(*Conn).Run github.com/gotd/[email protected]/mtproto/conn.go:214

  • task userCallback: github.com/gotd/td/tdsync.(*LogGroup).Go.func1 github.com/gotd/[email protected]/tdsync/log_group.go:48
  • initConnection: github.com/gotd/td/telegram/internal/manager.(*Conn).init github.com/gotd/[email protected]/telegram/internal/manager/conn.go:230
  • invoke: github.com/gotd/td/telegram/internal/manager.(*Conn).init.func1 github.com/gotd/[email protected]/telegram/internal/manager/conn.go:221
  • rpcDoRequest: github.com/gotd/td/mtproto.(*Conn).Invoke github.com/gotd/[email protected]/mtproto/rpc.go:44
  • retryUntilAck: github.com/gotd/td/rpc.(*Engine).Do github.com/gotd/[email protected]/rpc/engine.go:141
  • retry limit reached after 1 attempts

hketernal avatar Mar 20 '24 15:03 hketernal

Try set --reconnect-timeout 0 flag

iyear avatar Mar 20 '24 16:03 iyear

It doesnt work, the command reconnects over and over again without throwing any exception.

808834 avatar Mar 21 '24 06:03 808834

I second that. I can't download anything. It used to work.

gab-luz avatar Mar 26 '24 08:03 gab-luz

I often have this situation since using tdl. Could not find the cause.

tungtrinh1402 avatar Apr 08 '24 22:04 tungtrinh1402

Or have you set correct --proxy flag?

iyear avatar Apr 17 '24 15:04 iyear

I have a pretty similar issue:

tdl dl --skip-same -f tdl-export.json -d /directoy/to/download

OS: Mac OS Big Sur

tdl version details: Version: 0.16.2 Commit: 2ef95bc Date: 2024-04-15T13:50:47Z go1.21.9 darwin/amd6

Logs:

Error: group:
    github.com/gotd/td/mtproto.(*Conn).Run
        github.com/gotd/[email protected]/mtproto/conn.go:214
  - task readLoop:
    github.com/gotd/td/tdsync.(*LogGroup).Go.func1
        github.com/gotd/[email protected]/tdsync/log_group.go:48
  - read:
    github.com/gotd/td/mtproto.(*Conn).readLoop
        github.com/gotd/[email protected]/mtproto/read.go:193
  - read:
    github.com/gotd/td/transport.(*connection).Recv
        github.com/gotd/[email protected]/transport/connection.go:70
  - read intermediate:
    github.com/gotd/td/proto/codec.Intermediate.Read
        github.com/gotd/[email protected]/proto/codec/intermediate.go:73
  - read length:
    github.com/gotd/td/proto/codec.readLen
        github.com/gotd/[email protected]/proto/codec/codec.go:35
  - EOF

caracoloco avatar Apr 18 '24 17:04 caracoloco

@caracoloco Try set --reconnect-timeout 0 flag

iyear avatar Apr 19 '24 06:04 iyear

I worked it done. Here is my solution(My proxy is Clash): "tdl --proxy socks5://localhost:7890 chat ls"

808834 avatar Apr 20 '24 13:04 808834

@caracoloco Try set --reconnect-timeout 0 flag

This works perfectly. Is this a bug or should be the documentation added it?

caracoloco avatar May 03 '24 17:05 caracoloco

useful for me! 😍

尝试设置 --reconnect-timeout 0 标志

iyzyi avatar May 30 '24 12:05 iyzyi

@caracoloco Try set --reconnect-timeout 0 flag

it's solution for me!!

igs-qilincai avatar Jun 08 '24 16:06 igs-qilincai

Screenshot (51) showing this...how to do it? im newbie i dont know how to use it any time i try to download something it gives blank nd do nothing Screenshot (52)

yuvii12347 avatar Sep 01 '24 08:09 yuvii12347