New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working after reboot #438
Comments
@jookk turnserver.conf will have no impact on whether turnserver gets restarted after boot, you will probably need to learn about systemd (depending on your platform), and figure out whether scripts were installed depending on your method of installation. |
I'm using Debian 10
I post systemd script
Coturn installed from repo by apt.
I tried alpine linux and there it is starting without problem.
Thank You very much.
Dňa 20. septembra 2019 3:52:51 používateľ Cameron Elliott
<notifications@github.com> napísal:
… @jookk turnserver.conf will have no impact on whether turnserver gets
restarted after boot, you will probably need to learn about systemd
(depending on your platform), and figure out whether scripts were installed
depending on your method of installation.
I don't know your platform, but you might try this command: '$ ls
/lib/systemd/system/coturn'
and try reading up on systemd.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Cat /lib/systemd/system/coturn
[Unit]
Description=coTURN STUN/TURN Server
Documentation=man:coturn(1) man:turnadmin(1) man:turnserver(1)
After=network.target
[Service]
User=turnserver
Group=turnserver
Type=forking
RuntimeDirectory=turnserver
PIDFile=/run/turnserver/turnserver.pid
ExecStart=/usr/bin/turnserver --daemon -c /etc/turnserver.conf --pidfile
/run/turnserver/turnserver.pid
#FixMe: turnserver exit faster than it is finshing the setup and ready for
handling the connection.
ExecStartPost=/bin/sleep 2
Restart=on-failure
InaccessibleDirectories=/home
PrivateTmp=yes
[Install]
WantedBy=multi-user.target
Dňa 20. septembra 2019 3:52:51 používateľ Cameron Elliott
<notifications@github.com> napísal:
… @jookk turnserver.conf will have no impact on whether turnserver gets
restarted after boot, you will probably need to learn about systemd
(depending on your platform), and figure out whether scripts were installed
depending on your method of installation.
I don't know your platform, but you might try this command: '$ ls
/lib/systemd/system/coturn'
and try reading up on systemd.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
For me it seems issue solved, though I couldn't fully understood the issue from this limited info. |
simply, after server reboot I cant use turn server functionality
nevertheless coturn is running.
Dňa 24.10.2019 08:21 Mészáros Mihály napísal(a):
For me it seems issue solved, though I couldn't fully understood the issue from this limited info.
If you need further help please comment and let me know and I will reopen it.
--
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [1], or unsubscribe [2].
Links:
------
[1]
#438?email_source=notifications&email_token=ACVSRPNNHS7K2HBFRZVUOF3QQE5GNA5CNFSM4IWZRL22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECD3EKI#issuecomment-545763881
[2]
https://github.com/notifications/unsubscribe-auth/ACVSRPKW4SZTTYPRVJVYD5TQQE5GNANCNFSM4IWZRL2Q
|
What is in the syslog and coturn log? |
Same here after upgrading from Debian 9 to 10! boot.log:
syslog:
but when I start the service manually coturn is working:
|
If you paste the logs from the working manual start, you could compare. Judging from the failure log
you hit coturn/src/apps/relay/mainrelay.c Lines 2308 to 2316 in eb0565e
As it is working when manually running |
Thank's for your recommendation. I have changed |
See also #558 |
@jookk: Why this ticket is closed? |
just hit the same problem i edited now /etc/systemd/multi-user.target.wants/coturn.service and replaced hope that fixes it |
Nothing worked for me, exept this solution, that I am not very proud of: ExecStartPre=/bin/sleep 30 added before ExecStart in the [Service] part of /usr/lib/systemd/system/coturn.service |
same here, thought my first solution worked but somehow it did not. maybe was just some "luck" when it was working. |
Running This problem also occurred at a transip europe vps reboot. After changing the stuff inside the service daemon what @damnms is mentioning the problem was solved. |
Fixed by adding option -L 0.0.0.0 |
I had this issue and, as others, did
Which resolved the issue for me |
Im using coturn 4.5.1.1 on debian buster with webrtc app.
I have problem with coturn, because after server reboot cant successfully call to other party behind nat.
I must restart coturn and after that calls working fine.
Can you help me?
My turnserver.conf:
tls-listening-port=5349
external-ip=2xx.xxx.xxx.xxx/192.168.x.x
verbose
fingerprint
use-auth-secret
static-auth-secret=3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
realm=xxx.xxxxxxx.xx
total-quota=100
cert=/etc/fullchain.pem
pkey=/etc/key.pem
dh-file=/etc/dhparam.pem
no-stdout-log
log-file=/var/log/turnserver/turn.log
simple-log
no-multicast-peers
The text was updated successfully, but these errors were encountered: