iyear / tdl

📥 A Telegram toolkit written in Golang
https://docs.iyear.me/tdl
GNU Affero General Public License v3.0
4.4k stars 436 forks source link

[Bug] Issue on Forward Feature - Clone Mode - rpc error code 400: MEDIA_EMPTY #545

Open chigarow opened 7 months ago

chigarow commented 7 months ago

Describe the bug

Somehow the forward process is thrown an error. And the message is not forwarded into Saved Message

This is the example of an error

𝙰 𝚂 𝙽 - 𝙽 𝙴 𝚆(1732858514):149871 -> .(1472893513) error: send multi media: retry middleware skip: invoke pool: rpcDoRequest: rpc error code 400: MEDIA_EMPTY
𝙰 𝚂 𝙽 - 𝙽 𝙴 𝚆(1732858514):149876 -> .(1472893513) [clone]                         ... done! [8.34 MB in 9.266s; 920.36 KB/s]
𝙰 𝚂 𝙽 - 𝙽 𝙴 𝚆(1732858514):149876 -> .(1472893513) error: send multi media: retry middleware skip: invoke pool: rpcDoRequest: rpc error code 400: MEDIA_EMPTY
𝙰 𝚂 𝙽 - 𝙽 𝙴 𝚆(1732858514):149879 -> .(1472893513) [clone]                         ... done! [3.19 MB in 2.901s; 1.08 MB/s]
𝙰 𝚂 𝙽 - 𝙽 𝙴 𝚆(1732858514):149879 -> .(1472893513) error: send multi media: retry middleware skip: invoke pool: rpcDoRequest: rpc error code 400: MEDIA_EMPTY
𝙰 𝚂 𝙽 - 𝙽 𝙴 𝚆(1732858514):149881 -> .(1472893513) [clone]                         ... done! [33.00 MB in 28.413s; 1.16 MB/s]
𝙰 𝚂 𝙽 - 𝙽 𝙴 𝚆(1732858514):149881 -> .(1472893513) error: send multi media: retry middleware skip: invoke pool: rpcDoRequest: rpc error code 400: MEDIA_EMPTY
𝙰 𝚂 𝙽 - 𝙽 𝙴 𝚆(1732858514):149891 -> .(1472893513) [clone]                         ... done! [32.38 MB in 27.798s; 1.16 MB/s]
𝙰 𝚂 𝙽 - 𝙽 𝙴 𝚆(1732858514):149891 -> .(1472893513) error: send multi media: retry middleware skip: invoke pool: rpcDoRequest: rpc error code 400: MEDIA_EMPTY

Does someone have ever experiencing this issue?

PS: This issue is intermitten, not all forwarding sources experiencing this

To Reproduce

  1. Just do normal forward
  2. And the error comes (but on specific messages not all of them)

Expected behavior

It should can be forwarded without any issue

Version

Version: 0.16.1
Commit: Homebrew
Date: 2024-03-01T13:21:31Z

go1.22.0 darwin/arm64

Which OS are you running tdl on?

macOS

Additional context

image
Bleestones commented 1 month ago

I have this problem too but with v.0.17.4 version