Search Criteria
Package Details: mtproxy-git 47.dc0c7f3-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/mtproxy-git.git (read-only, click to copy) |
---|---|
Package Base: | mtproxy-git |
Description: | Proxy server for Telegram messaging app |
Upstream URL: | https://github.com/TelegramMessenger/MTProxy |
Licenses: | GPLv2, LGPLv2 |
Submitter: | None |
Maintainer: | legeana |
Last Packager: | legeana |
Votes: | 6 |
Popularity: | 0.000357 |
First Submitted: | 2018-05-31 12:40 (UTC) |
Last Updated: | 2020-07-08 11:07 (UTC) |
Dependencies (2)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
Latest Comments
1 2 Next › Last »
shervinkh commented on 2020-07-07 23:27 (UTC)
The latest version does not compile with gcc-10. One needs to add "-fcommon" to CFLAGS and/or LDFLAGS in the Makefile in order to compile successfully.
Nebulosa commented on 2019-12-07 19:09 (UTC) (edited on 2019-12-07 19:09 (UTC) by Nebulosa)
Yep, that was my mistake. Thanks a lot!
legeana commented on 2019-12-04 22:53 (UTC) (edited on 2019-12-04 22:55 (UTC) by legeana)
Hi Nebulosa, the service files sets EnvironmentFile to /etc/mtproxy.conf, could you please take a look if you have every single variable present there? /etc/mtproxy.conf should look similar to:
Are you able to run it without service file?
Do you have ipv6 enabled/disabled by any chance? Could it be somehow affecting the startup?
If the binary fails to run with just a command line (without systemd) you could also try to run it with strace, aka
strace -f -s 100000 actual_command
and see where it fails.Nebulosa commented on 2019-12-03 18:27 (UTC) (edited on 2019-12-03 18:37 (UTC) by Nebulosa)
Smthg wrong with parameter substitution in mtproxy.service:
mtproxy.service - Telegram proxy server
Loaded: loaded (/usr/lib/systemd/system/mtproxy.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code)
Process: 29148 ExecStart=/usr/bin/mtproto-proxy --user=${USER} --port=${STATS_PORT} --http-ports=${CLIENT_PORT} --mtproto-secret=${SECRET} --aes-pwd=/var/lib/mtproxy/secret.conf $ARGS /var/lib/mtproxy/multi.conf (code=exited, status=2)
Main PID: 29148 (code=exited, status=2)
systemd[1]: mtproxy.service: Service RestartSec=100ms expired, scheduling restart.
systemd[1]: mtproxy.service: Scheduled restart job, restart counter is at 3.
systemd[1]: Stopped Telegram proxy server.
systemd[1]: mtproxy.service: Start request repeated too quickly.
systemd[1]: mtproxy.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Telegram proxy server.
legeana commented on 2019-11-18 22:05 (UTC)
Unfortunately it's too too late to fix that :)
dronskii commented on 2019-11-18 22:02 (UTC)
Sorry, shouldn't have been so hasty to upload my patch. Thanks for making it better. BTW the commit message should've been "removed pid is 16 bit assertion" - i miswrote...
legeana commented on 2019-11-18 13:17 (UTC) (edited on 2019-11-18 13:17 (UTC) by legeana)
Hi Yaroslav, thank you for the patch. I've mostly applied the patch you crafted with the exception of few details.
https://wiki.archlinux.org/index.php/PKGBUILD#makedepends The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.
try-restart instead of restart in order to avoid bringing the service up if it is not already running.
ExecStartPost instead of ExecStart to emphasize the post-update nature of the command.
dronskii commented on 2019-11-15 10:59 (UTC) (edited on 2019-11-15 13:12 (UTC) by dronskii)
Patched for newer systemd: removed 32-bit pid assertion, also restart proxy after config update. Also put Restart=on-failure in mtproxy.service: stats are borked in ipv6 mode, some assertions need fixing... Also added makedepends: not everybody has make/patch installed :-)
<deleted-account> commented on 2018-06-06 10:23 (UTC)
Good catch, thank you.
levitsky commented on 2018-06-06 10:11 (UTC) (edited on 2018-06-06 10:13 (UTC) by levitsky)
The main service fails to start on boot with a dependency error on my VPS:
The failed dependency is actually mtproxy-config.service, which fails when called because the network is still not configured:
I fixed this by adding
in the mtproxy-config.service file.
1 2 Next › Last »