Skip to content

Using Past Mode: Messages stop forwarding after a while, what's wrong and how to fix? #653

Description

@sondhg

Describe the bug
A clear and concise description of what the bug is.

This is terminal log:

❯ tgcf-web
/home/sondhg/Projects/my-tgcf/.venv/lib/python3.11/site-packages/tgcf/web_ui
2026-09-06 03:05:42.917 Uvicorn server started on :::8501

  You can now view your Streamlit app in your browser.

  Local URL: http://localhost:8501
  Network URL: http://192.168.1.9:8501
  External URL: http://103.156.42.197:8501

2026-09-06 03:05:46.491 Please replace `st.components.v1.html` with `st.iframe`.

`st.components.v1.html` will be removed after 2026-06-01.
rm: cannot remove 'logs_n_lines.txt': No such file or directory
rm: cannot remove 'logs_n_lines.txt': No such file or directory
rm: cannot remove 'logs_n_lines.txt': No such file or directory
2026-09-06 03:07:26.309 Please replace `st.components.v1.html` with `st.iframe`.

`st.components.v1.html` will be removed after 2026-06-01.
rm: cannot remove 'logs_n_lines.txt': No such file or directory
rm: cannot remove 'logs_n_lines.txt': No such file or directory

^C  Stopping...

The log files weren't helpful either. For example, logs.txt, old_logs.txt and logs_n_lines.txt only had these lines:

tgcf
Running latest tgcf version 1.1.8

To Reproduce
Steps to reproduce the behavior:

  • Run tgcf-web
  • Config source, destination channels.
  • Choose Past mode
  • Click "Run"
  • Around 2000 messages were forwarded successfully, but then it just stops.
  • I tried Stop and Run again multiple times but nothing happened. No message got forwarded since then.

Expected behavior
A clear and concise description of what you expected to happen.

Every messages until the most recent message in Source channel should get forwarded to my Destination channel, right?

Screenshots
If applicable, add screenshots and gifs to help explain your problem.

Image Image

System information:
In which OS are you running? Give all details of where you have deployed the application. Make sure to give detailed version information.

OS: Linux CachyOS
No deployment, just normal tgcf-web run in terminal.

Additional context
Add any other context about the problem here.

I'd appreciate any help. If any more info is needed for debug, please let me know.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions