Skip to content

Mtg work as simple-run, but not work as classic run with same options #524

@xintrea

Description

@xintrea

Hello!

I have small server with Debian 12.13.

At this server running SOCKS5 Tor-server at port 127.0.0.1:9050.

If I'm run mtg on this server in simple-run mode, the Telegram client is connect from server port 8081:

/opt/mtg/mtg simple-run 0.0.0.0:8081 eeb1...7275 -s socks5://127.0.0.1:9050

Ok, next I'm, create config file with same options:

/opt/mtg/data/config.toml

secret =     "eeb1...7275"

bind-to = "0.0.0.0:8081"

proxies = [
    "socks5://127.0.0.1:9050"
]

And run mtg in classic run mode:

/opt/mtg/mtg run /opt/mtg/data/config.toml

But in this mode the Telegram client is NOT connect from server port 8081.

In both running mode, in console not print any log message.

Why mtg not work in classic run mode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions