Closed vuisme closed 1 year ago
maybe you'll need to flushall
to redis.
maybe you'll need to
flushall
to redis.
Not working. I've tried creating a new deloyment, but it didn't work either. Not sure if special permissions are needed for the Bot on the Archive group?
I have no idea what's going on..Maybe your archive group is private group?
I have no idea what's going on..Maybe your archive group is private group?
I will create other bot api, new group and respone late
2022-12-08 09:48:32,544 INFO Set uid to user 0 succeeded
2022-12-08 09:48:32,546 INFO supervisord started with pid 1
2022-12-08 09:48:33,550 INFO spawned: 'ytdl' with pid 7
2022-12-08 09:48:33,553 INFO spawned: 'log' with pid 8
2022-12-08 09:48:33,558 INFO spawned: 'vnstat' with pid 9
2022-12-08 09:48:34,614 INFO success: log entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-12-08 09:48:34,614 INFO success: vnstat entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[2022-12-08 09:48:35 ytdl_bot.py:46 I] Authorized users are
[2022-12-08 09:48:35 base.py:444 I] Adding job tentatively -- it will be properly scheduled when the scheduler starts
[2022-12-08 09:48:35 base.py:444 I] Adding job tentatively -- it will be properly scheduled when the scheduler starts
[2022-12-08 09:48:35 base.py:444 I] Adding job tentatively -- it will be properly scheduled when the scheduler starts
[2022-12-08 09:48:35 base.py:444 I] Adding job tentatively -- it will be properly scheduled when the scheduler starts
[2022-12-08 09:48:35 base.py:885 I] Added job "Redis.reset_today" to job store "default"
[2022-12-08 09:48:35 base.py:885 I] Added job "auto_restart" to job store "default"
[2022-12-08 09:48:35 base.py:885 I] Added job "InfluxDB.collect_data" to job store "default"
[2022-12-08 09:48:35 base.py:885 I] Added job "periodic_sub_check" to job store "default"
[2022-12-08 09:48:35 base.py:171 I] Scheduler started
[2022-12-08 09:48:35 auth.py:82 I] Start creating a new auth key on DC2
[2022-12-08 09:48:35 connection.py:56 I] Connecting...
[2022-12-08 09:48:35 connection.py:63 I] Connected! Production DC2 - IPv4 - TCPAbridgedO
[2022-12-08 09:48:37 auth.py:249 I] Done auth key exchange: DhGenOk
[2022-12-08 09:48:37 connection.py:77 I] Disconnected
[2022-12-08 09:48:37 connection.py:56 I] Connecting...
[2022-12-08 09:48:37 connection.py:63 I] Connected! Production DC2 - IPv4 - TCPAbridgedO
[2022-12-08 09:48:37 session.py:272 I] NetworkTask started
[2022-12-08 09:48:38 msg_id.py:45 I] Time synced: 2022-12-08 01:48:38.153089 UTC
2022-12-08 09:48:38,560 INFO success: ytdl entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)
[2022-12-08 09:48:38 session.py:131 I] Session initialized: Layer 140
[2022-12-08 09:48:38 session.py:132 I] Device: CPython 3.10.8 - Pyrogram 1.4.16
[2022-12-08 09:48:38 session.py:133 I] System: Linux 5.15.0-1018-oracle (EN)
[2022-12-08 09:48:38 session.py:148 I] Session started
[2022-12-08 09:48:38 session.py:250 I] PingTask started
[2022-12-08 09:48:38 session.py:269 I] PingTask stopped
[2022-12-08 09:48:38 connection.py:77 I] Disconnected
[2022-12-08 09:48:38 session.py:288 I] NetworkTask stopped
[2022-12-08 09:48:38 session.py:174 I] Session stopped
[2022-12-08 09:48:38 auth.py:82 I] Start creating a new auth key on DC5
[2022-12-08 09:48:38 connection.py:56 I] Connecting...
[2022-12-08 09:48:38 connection.py:63 I] Connected! Production DC5 - IPv4 - TCPAbridgedO
[2022-12-08 09:48:39 auth.py:249 I] Done auth key exchange: DhGenOk
[2022-12-08 09:48:39 connection.py:77 I] Disconnected
[2022-12-08 09:48:40 connection.py:56 I] Connecting...
[2022-12-08 09:48:40 connection.py:63 I] Connected! Production DC5 - IPv4 - TCPAbridgedO
[2022-12-08 09:48:40 session.py:272 I] NetworkTask started
[2022-12-08 09:48:40 session.py:131 I] Session initialized: Layer 140
[2022-12-08 09:48:40 session.py:132 I] Device: CPython 3.10.8 - Pyrogram 1.4.16
[2022-12-08 09:48:40 session.py:133 I] System: Linux 5.15.0-1018-oracle (EN)
[2022-12-08 09:48:40 session.py:148 I] Session started
[2022-12-08 09:48:40 session.py:250 I] PingTask started
[2022-12-08 09:48:40 dispatcher.py:136 I] Started 100 HandlerTasks
[2022-12-08 09:49:39 ytdl_bot.py:275 I] start https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:49:40 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:49:40 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:49:40 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:49:40 db.py:69 I] Setting metrics: video_request
[2022-12-08 09:49:41 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:49:41 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:49:41 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[facebook] 811783203255077: Downloading webpage
▌ ▌ ▀▛▘ ▌ ▛▀▖ ▜ ▌
▝▞ ▞▀▖ ▌ ▌ ▌ ▌ ▌ ▛▀▖ ▞▀▖ ▌ ▌ ▞▀▖ ▌ ▌ ▛▀▖ ▐ ▞▀▖ ▝▀▖ ▞▀▌
▌ ▌ ▌ ▌ ▌ ▌ ▌ ▌ ▌ ▌ ▛▀ ▌ ▌ ▌ ▌ ▐▐▐ ▌ ▌ ▐ ▌ ▌ ▞▀▌ ▌ ▌
▘ ▝▀ ▝▀▘ ▘ ▝▀▘ ▀▀ ▝▀▘ ▀▀ ▝▀ ▘▘ ▘ ▘ ▘ ▝▀ ▝▀▘ ▝▀▘
By @BennyThink, VIP mode: enable, Distribution: False
Version: c8c04b4
[facebook] 811783203255077: Downloading MPD manifest
[2022-12-08 09:49:43 downloader.py:334 I] https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V max size is 0
[2022-12-08 09:49:43 downloader.py:221 I] Downloading for https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V with format bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio
[download] 0.0% of 2.25MiB at Unknown B/s ETA Unknown
[download] 0.1% of 2.25MiB at 11.57KiB/s ETA 03:18
[download] 0.3% of 2.25MiB at 26.89KiB/s ETA 01:25
[download] 0.7% of 2.25MiB at 57.43KiB/s ETA 00:39
[download] 1.3% of 2.25MiB at 118.29KiB/s ETA 00:19
[download] 2.7% of 2.25MiB at 239.52KiB/s ETA 00:09
[download] 5.5% of 2.25MiB at 478.83KiB/s ETA 00:04
[download] 11.1% of 2.25MiB at 948.72KiB/s ETA 00:02
[download] 22.2% of 2.25MiB at 1.81MiB/s ETA 00:00
[download] 44.5% of 2.25MiB at 3.53MiB/s ETA 00:00
[download] 89.0% of 2.25MiB at 6.82MiB/s ETA 00:00
[download] 100.0% of 2.25MiB at 7.60MiB/s ETA 00:00
[download] 100% of 2.25MiB in 00:00:00 at 7.21MiB/s
[download] 0.7% of 151.51KiB at Unknown B/s ETA Unknown
[download] 2.0% of 151.51KiB at 1.75MiB/s ETA 00:00
[download] 4.6% of 151.51KiB at 2.50MiB/s ETA 00:00
[download] 9.9% of 151.51KiB at 3.98MiB/s ETA 00:00
[download] 20.5% of 151.51KiB at 6.50MiB/s ETA 00:00
[download] 41.6% of 151.51KiB at 11.05MiB/s ETA 00:00
[download] 83.8% of 151.51KiB at 13.47MiB/s ETA 00:00
[download] 100.0% of 151.51KiB at 14.36MiB/s ETA 00:00
[download] 100% of 151.51KiB in 00:00:00 at 6.53MiB/s
[2022-12-08 09:49:45 downloader.py:235 I] https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V - {'status': True, 'error': '', 'filepath': []}
[2022-12-08 09:49:45 tasks.py:257 I] Download complete.
ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.2.1 (Alpine 12.2.1_git20220924-r3) 20220924
configuration: --prefix=/usr --enable-avfilter --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libpulse --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-libdav1d --enable-lto --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --enable-librist --enable-libsrt --enable-libssh --enable-libvidstab --disable-stripping --disable-static --disable-librtmp --disable-lzma --enable-libaom --enable-libopus --enable-libsoxr --enable-libwebp --enable-vaapi --enable-vdpau --enable-vulkan --enable-libdrm --enable-libzmq --optflags=-O2 --disable-debug
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, matroska,webm, from '/tmp/ytdl-c_1bvchs/1 phút qc ddvs hơi lỗi tý😂😁😆 | By Sơn Lê.mkv':
Metadata:
ENCODER : Lavf59.27.100
Duration: 00:00:25.03, start: 0.000000, bitrate: 801 kb/s
Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 480x852, SAR 1:1 DAR 40:71, 30 fps, 30 tbr, 1k tbn (default)
Metadata:
DURATION : 00:00:24.901000000
Stream #0:1: Audio: aac (HE-AAC), 44100 Hz, stereo, fltp (default)
Metadata:
HANDLER_NAME : SoundHandler
VENDOR_ID : [0][0][0][0]
DURATION : 00:00:25.031000000
Stream mapping:
Stream #0:0 (vp9) -> scale:default
scale:default -> Stream #0:0 (png)
Press [q] to stop, [?] for help
[swscaler @ 0xffff7c13b010] [swscaler @ 0xffff7c09e020] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b010] [swscaler @ 0xffff7c082030] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b010] [swscaler @ 0xffff7c06c040] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b010] [swscaler @ 0xffff7c05f010] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b010] [swscaler @ 0xffff7c041070] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b010] [swscaler @ 0xffff7c09e020] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b010] [swscaler @ 0xffff7c091030] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b010] [swscaler @ 0xffff7c077040] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b010] [swscaler @ 0xffff7c06a010] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b010] [swscaler @ 0xffff7c04c070] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b030] [swscaler @ 0xffff7c09e040] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b030] [swscaler @ 0xffff7c091050] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b030] [swscaler @ 0xffff7c077060] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b030] [swscaler @ 0xffff7c06a030] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b030] [swscaler @ 0xffff7c04c010] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b050] [swscaler @ 0xffff7c09e060] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b050] [swscaler @ 0xffff7c091070] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b050] [swscaler @ 0xffff7c077010] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b050] [swscaler @ 0xffff7c06a050] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff7c13b050] [swscaler @ 0xffff7c04c030] No accelerated colorspace conversion found from yuv420p to rgb24.
Output #0, image2, to '/tmp/ytdl-c_1bvchs/957bf56f7c0c46ffaa09573702a0f779-thunmnail.png':
Metadata:
encoder : Lavf59.27.100
Stream #0:0: Video: png, rgb24(pc, gbr/bt709/bt709, progressive), 480x852 [SAR 1:1 DAR 40:71], q=2-31, 200 kb/s, 30 fps, 30 tbn
Metadata:
encoder : Lavc59.37.100 png
frame= 1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed= 0x
[image2 @ 0xffff7f5f63c0] The specified filename '/tmp/ytdl-c_1bvchs/957bf56f7c0c46ffaa09573702a0f779-thunmnail.png' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0xffff7f5f63c0] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.03 bitrate=N/A speed=0.374x
video:411kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[2022-12-08 09:49:45 tasks.py:315 I] Sending as video
[2022-12-08 09:49:45 connection.py:56 I] Connecting...
[2022-12-08 09:49:45 connection.py:63 I] Connected! Production DC5 (media) - IPv4 - TCPAbridgedO
[2022-12-08 09:49:45 session.py:272 I] NetworkTask started
[2022-12-08 09:49:45 session.py:131 I] Session initialized: Layer 140
[2022-12-08 09:49:45 session.py:132 I] Device: CPython 3.10.8 - Pyrogram 1.4.16
[2022-12-08 09:49:45 session.py:133 I] System: Linux 5.15.0-1018-oracle (EN)
[2022-12-08 09:49:45 session.py:148 I] Session started
[2022-12-08 09:49:45 session.py:250 I] PingTask started
[2022-12-08 09:49:45 session.py:269 I] PingTask stopped
[2022-12-08 09:49:45 connection.py:77 I] Disconnected
[2022-12-08 09:49:45 session.py:288 I] NetworkTask stopped
[2022-12-08 09:49:45 session.py:174 I] Session stopped
[2022-12-08 09:49:45 connection.py:56 I] Connecting...
[2022-12-08 09:49:45 connection.py:63 I] Connected! Production DC5 (media) - IPv4 - TCPAbridgedO
[2022-12-08 09:49:45 session.py:272 I] NetworkTask started
[2022-12-08 09:49:45 session.py:131 I] Session initialized: Layer 140
[2022-12-08 09:49:45 session.py:132 I] Device: CPython 3.10.8 - Pyrogram 1.4.16
[2022-12-08 09:49:45 session.py:133 I] System: Linux 5.15.0-1018-oracle (EN)
[2022-12-08 09:49:45 session.py:148 I] Session started
[2022-12-08 09:49:45 session.py:250 I] PingTask started
[2022-12-08 09:49:46 session.py:269 I] PingTask stopped
[2022-12-08 09:49:46 connection.py:77 I] Disconnected
[2022-12-08 09:49:46 session.py:288 I] NetworkTask stopped
[2022-12-08 09:49:46 session.py:174 I] Session stopped
[2022-12-08 09:49:46 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:49:46 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:49:46 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:49:46 db.py:69 I] Setting metrics: video_success
[2022-12-08 09:50:14 ytdl_bot.py:275 I] start https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:50:14 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:50:14 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:50:14 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:50:14 db.py:69 I] Setting metrics: video_request
[2022-12-08 09:50:16 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:50:16 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:50:16 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:50:16 tasks.py:315 I] Sending as video
Traceback (most recent call last):
File "/ytdlbot/ytdlbot/tasks.py", line 111, in forward_video
res_msg: "Message" = upload_processor(client, bot_msg, url, cached_fid)
File "/ytdlbot/ytdlbot/tasks.py", line 316, in upload_processor
res_msg = client.send_video(chat_id, vp_or_fid,
File "/usr/local/lib/python3.10/site-packages/pyrogram/sync.py", line 78, in async_to_sync_wrap
return asyncio.run_coroutine_threadsafe(coroutine, main_loop).result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 458, in result
return self.__get_result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/messages/send_video.py", line 227, in send_video
r = await self.send(
File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
r = await self.session.send(
File "/usr/local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
return await self._send(data, timeout=timeout)
File "/usr/local/lib/python3.10/site-packages/pyrogram/session/session.py", line 332, in _send
RPCError.raise_it(result, type(data))
File "/usr/local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 80, in raise_it
raise getattr(
pyrogram.errors.exceptions.bad_request_400.BadRequest: Telegram says: [400 Bad Request] - [400 ENTITY_BOUNDS_INVALID] (caused by "messages.SendMedia")
[2022-12-08 09:50:16 tasks.py:129 E] Failed to forward message Telegram says: [400 Bad Request] - [400 ENTITY_BOUNDS_INVALID] (caused by "messages.SendMedia")
[2022-12-08 09:50:16 db.py:69 I] Setting metrics: cache_miss
[facebook] 811783203255077: Downloading webpage
[facebook] 811783203255077: Downloading MPD manifest
[2022-12-08 09:50:17 downloader.py:334 I] https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V max size is 0
[2022-12-08 09:50:17 downloader.py:221 I] Downloading for https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V with format bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio
[download] 0.0% of 2.25MiB at Unknown B/s ETA Unknown
[download] 0.1% of 2.25MiB at 3.50KiB/s ETA 10:55
[download] 0.2% of 2.25MiB at 6.23KiB/s ETA 06:08
[download] 0.4% of 2.25MiB at 11.67KiB/s ETA 03:16
[download] 0.8% of 2.25MiB at 22.55KiB/s ETA 01:41
[download] 1.7% of 2.25MiB at 44.26KiB/s ETA 00:51
[download] 3.3% of 2.25MiB at 87.67KiB/s ETA 00:25
[download] 6.5% of 2.25MiB at 174.10KiB/s ETA 00:12
[download] 13.0% of 2.25MiB at 346.24KiB/s ETA 00:05
[download] 26.1% of 2.25MiB at 689.24KiB/s ETA 00:02
[download] 52.1% of 2.25MiB at 1.34MiB/s ETA 00:00
[download] 100.0% of 2.25MiB at 2.55MiB/s ETA 00:00
[download] 100% of 2.25MiB in 00:00:00 at 2.50MiB/s
[download] 0.7% of 151.51KiB at 402.14KiB/s ETA 00:00
[download] 2.0% of 151.51KiB at 892.85KiB/s ETA 00:00
[download] 4.6% of 151.51KiB at 1.65MiB/s ETA 00:00
[download] 9.9% of 151.51KiB at 2.88MiB/s ETA 00:00
[download] 20.5% of 151.51KiB at 5.02MiB/s ETA 00:00
[download] 41.6% of 151.51KiB at 8.73MiB/s ETA 00:00
[download] 83.8% of 151.51KiB at 13.26MiB/s ETA 00:00
[download] 100.0% of 151.51KiB at 14.19MiB/s ETA 00:00
[download] 100% of 151.51KiB in 00:00:00 at 6.36MiB/s
[2022-12-08 09:50:20 downloader.py:235 I] https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V - {'status': True, 'error': '', 'filepath': []}
[2022-12-08 09:50:20 tasks.py:257 I] Download complete.
ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.2.1 (Alpine 12.2.1_git20220924-r3) 20220924
configuration: --prefix=/usr --enable-avfilter --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libpulse --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-libdav1d --enable-lto --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --enable-librist --enable-libsrt --enable-libssh --enable-libvidstab --disable-stripping --disable-static --disable-librtmp --disable-lzma --enable-libaom --enable-libopus --enable-libsoxr --enable-libwebp --enable-vaapi --enable-vdpau --enable-vulkan --enable-libdrm --enable-libzmq --optflags=-O2 --disable-debug
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, matroska,webm, from '/tmp/ytdl-j_o0d36q/1 phút qc ddvs hơi lỗi tý😂😁😆 | By Sơn Lê.mkv':
Metadata:
ENCODER : Lavf59.27.100
Duration: 00:00:25.03, start: 0.000000, bitrate: 801 kb/s
Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 480x852, SAR 1:1 DAR 40:71, 30 fps, 30 tbr, 1k tbn (default)
Metadata:
DURATION : 00:00:24.901000000
Stream #0:1: Audio: aac (HE-AAC), 44100 Hz, stereo, fltp (default)
Metadata:
HANDLER_NAME : SoundHandler
VENDOR_ID : [0][0][0][0]
DURATION : 00:00:25.031000000
Stream mapping:
Stream #0:0 (vp9) -> scale:default
scale:default -> Stream #0:0 (png)
Press [q] to stop, [?] for help
[swscaler @ 0xffff983d8010] [swscaler @ 0xffff9833b020] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8010] [swscaler @ 0xffff9831f030] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8010] [swscaler @ 0xffff98309040] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8010] [swscaler @ 0xffff982fc010] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8010] [swscaler @ 0xffff982de070] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8010] [swscaler @ 0xffff9833b020] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8010] [swscaler @ 0xffff9832e030] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8010] [swscaler @ 0xffff98314040] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8010] [swscaler @ 0xffff98307010] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8010] [swscaler @ 0xffff982e9070] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8030] [swscaler @ 0xffff9833b040] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8030] [swscaler @ 0xffff9832e050] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8030] [swscaler @ 0xffff98314060] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8030] [swscaler @ 0xffff98307030] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8030] [swscaler @ 0xffff982e9010] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8050] [swscaler @ 0xffff9833b060] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8050] [swscaler @ 0xffff9832e070] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8050] [swscaler @ 0xffff98314010] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8050] [swscaler @ 0xffff98307050] No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0xffff983d8050] [swscaler @ 0xffff982e9030] No accelerated colorspace conversion found from yuv420p to rgb24.
Output #0, image2, to '/tmp/ytdl-j_o0d36q/fc4e85e8002b4acb9f1c3fe8831b93f4-thunmnail.png':
Metadata:
encoder : Lavf59.27.100
Stream #0:0: Video: png, rgb24(pc, gbr/bt709/bt709, progressive), 480x852 [SAR 1:1 DAR 40:71], q=2-31, 200 kb/s, 30 fps, 30 tbn
Metadata:
encoder : Lavc59.37.100 png
frame= 1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed= 0x
[image2 @ 0xffff9b8933c0] The specified filename '/tmp/ytdl-j_o0d36q/fc4e85e8002b4acb9f1c3fe8831b93f4-thunmnail.png' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0xffff9b8933c0] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.03 bitrate=N/A speed=0.401x
video:411kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[2022-12-08 09:50:20 tasks.py:315 I] Sending as video
[2022-12-08 09:50:20 connection.py:56 I] Connecting...
[2022-12-08 09:50:20 connection.py:63 I] Connected! Production DC5 (media) - IPv4 - TCPAbridgedO
[2022-12-08 09:50:20 session.py:272 I] NetworkTask started
[2022-12-08 09:50:20 session.py:131 I] Session initialized: Layer 140
[2022-12-08 09:50:20 session.py:132 I] Device: CPython 3.10.8 - Pyrogram 1.4.16
[2022-12-08 09:50:20 session.py:133 I] System: Linux 5.15.0-1018-oracle (EN)
[2022-12-08 09:50:20 session.py:148 I] Session started
[2022-12-08 09:50:20 session.py:250 I] PingTask started
[2022-12-08 09:50:20 session.py:269 I] PingTask stopped
[2022-12-08 09:50:20 connection.py:77 I] Disconnected
[2022-12-08 09:50:20 session.py:288 I] NetworkTask stopped
[2022-12-08 09:50:20 session.py:174 I] Session stopped
[2022-12-08 09:50:20 connection.py:56 I] Connecting...
[2022-12-08 09:50:20 connection.py:63 I] Connected! Production DC5 (media) - IPv4 - TCPAbridgedO
[2022-12-08 09:50:20 session.py:272 I] NetworkTask started
[2022-12-08 09:50:20 session.py:131 I] Session initialized: Layer 140
[2022-12-08 09:50:20 session.py:132 I] Device: CPython 3.10.8 - Pyrogram 1.4.16
[2022-12-08 09:50:20 session.py:133 I] System: Linux 5.15.0-1018-oracle (EN)
[2022-12-08 09:50:20 session.py:148 I] Session started
[2022-12-08 09:50:20 session.py:250 I] PingTask started
[2022-12-08 09:50:21 session.py:269 I] PingTask stopped
[2022-12-08 09:50:21 connection.py:77 I] Disconnected
[2022-12-08 09:50:21 session.py:288 I] NetworkTask stopped
[2022-12-08 09:50:21 session.py:174 I] Session stopped
[2022-12-08 09:50:21 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:50:21 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:50:21 limit.py:130 W] Canonical exception https://www.facebook.com/reel/811783203255077?mibextid=0NULKw&fs=e&s=TIeQ9V
[2022-12-08 09:50:21 db.py:69 I] Setting metrics: video_success
This is full log brandnew deloyment. My config is docker-compose.yaml
version: '3.1'
services:
socat:
image: bennythink/socat
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
entrypoint: [ "socat", "tcp-listen:2375,fork,reuseaddr","unix-connect:/var/run/docker.sock" ]
redis:
image: redis:7-alpine
restart: always
logging:
driver: none
mysql:
image: ubuntu/mysql:8.0-22.04_beta
restart: always
volumes:
- ./db_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: 'root'
logging:
driver: none
ytdl:
image: bennythink/ytdlbot
env_file:
- env/ytdl.env
restart: always
depends_on:
- socat
- redis
volumes:
- ./data/instagram.com_cookies.txt:/ytdlbot/ytdlbot/instagram.com_cookies.txt
- ./data/vnstat/:/var/lib/vnstat/
flower:
image: bennythink/ytdlbot
env_file:
- env/ytdl.env
restart: on-failure
command: [ "/usr/local/bin/celery",
"-A", "flower_tasks", "flower",
"--basic_auth=benny:123456",
"--address=0.0.0.0", "--persistent","--purge_offline_workers=3600" ]
volumes:
- ./data/flower:/ytdlbot/ytdlbot/flower
ports:
- "5555:5555"
env
APP_ID=xxxx
APP_HASH=xxxxxxxxxxxx
TOKEN=xxxxxxxxxxxxxx
REDIS=redis
ARCHIVE_ID=botlogstbb
VIP=enable
Group is public and bot have full access to message
Problem solved after update to pyrogram 2
Another problem with pyrogram 2. Celery mode is not working
Problem from Markdown text. Fixed by remove markdown character on caption
Traceback (most recent call last): File "/ytdlbot/ytdlbot/tasks.py", line 111, in forward_video res_msg: "Message" = upload_processor(client, bot_msg, url, cached_fid) File "/ytdlbot/ytdlbot/tasks.py", line 357, in upload_processor res_msg = client.send_video(chat_id, vp_or_fid, File "/usr/local/lib/python3.10/site-packages/pyrogram/sync.py", line 78, in async_to_sync_wrap return asyncio.run_coroutine_threadsafe(coroutine, main_loop).result() File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 458, in result return self.__get_result() File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result raise self._exception File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/messages/send_video.py", line 227, in send_video r = await self.send( File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/advanced/send.py", line 77, in send r = await self.session.send( File "/usr/local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send return await self._send(data, timeout=timeout) File "/usr/local/lib/python3.10/site-packages/pyrogram/session/session.py", line 332, in _send RPCError.raise_it(result, type(data)) File "/usr/local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 80, in raise_it raise getattr( pyrogram.errors.exceptions.bad_request_400.BadRequest: Telegram says: [400 Bad Request] - [400 ENTITY_BOUNDS_INVALID] (caused by "messages.SendMedia") [2022-11-29 10:02:14 tasks.py:127 E] Failed to forward message Telegram says: [400 Bad Request] - [400 ENTITY_BOUNDS_INVALID] (caused by "messages.SendMedia") [2022-11-29 10:02:14 db.py:69 I] Setting metrics: cache_miss
I try many times always got this error on cached link. Anyone got this ?