-
Notifications
You must be signed in to change notification settings - Fork 116
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
Audio lost and only fix is to restart #168
Comments
Hi, 73, Luc |
This also occurs for d-star to d-star connections
//Johan
Den fre 8 maj 2020 kl 09:46 skrev LX1IQ <[email protected]>:
… Hi,
Normally it is not the XLX, which is crashing, but the usb port of the
AMBed server.
You should see very high packet loses in the log.
Most of the time it is sufficient to kill the AMBed task and start it
again.
In the download section, you can find a small script, which allows you to
run the AMBed as a service.
You can schedule a restart of the service at night.
We need to add some sort of watchdog to the AMBed. So if the dongle get
unresponsive the service can restarts by its own.
73, Luc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#168 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSGDX26B4IUANMKWYXVZYLRQO2ELANCNFSM4M3UOHEA>
.
|
Do to the fact that all traffic is always sent to the AMBed server. All modes are affected. 73, Luc |
Ok can you give some example on how the logentry will look like?
//Johan
Den fre 8 maj 2020 kl 09:53 skrev LX1IQ <[email protected]>:
… Do to the fact that all traffic is always sent to the AMBed server. All
modes are affected.
73, Luc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#168 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSGDX2RY2RCDWXAQEFH6VDRQO27LANCNFSM4M3UOHEA>
.
|
I ususally restart xlxd wich makes it work again.. ambeD is on another site
//Johan
Den fre 8 maj 2020 kl 09:46 skrev LX1IQ <[email protected]>:
… Hi,
Normally it is not the XLX, which is crashing, but the usb port of the
AMBed server.
You should see very high packet loses in the log.
Most of the time it is sufficient to kill the AMBed task and start it
again.
In the download section, you can find a small script, which allows you to
run the AMBed as a service.
You can schedule a restart of the service at night.
We need to add some sort of watchdog to the AMBed. So if the dongle get
unresponsive the service can restarts by its own.
73, Luc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#168 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSGDX26B4IUANMKWYXVZYLRQO2ELANCNFSM4M3UOHEA>
.
|
You are going to see in the XLX log very high packet lost for the AMBed. 73, Luc |
Why does it get "fixed" by restarting xlxd then? I usually restart only
xlxd when this happens. As ambed is on another host in my lab
//Johan
Den fre 8 maj 2020 kl 10:00 skrev LX1IQ <[email protected]>:
… You are going to see in the XLX log very high packet lost for the AMBed.
If you kill the AMbed, it takes a few seconds until the XLX disconnects
the AMBed server with a keep alive timeout.
At this point, D-Star to D-Star should already come back.
73, Luc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#168 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSGDX4PQT4SEWKDXBNQ7IDRQO3ZVANCNFSM4M3UOHEA>
.
|
If you stop the XLX, of course the connection on the AMBed side is disconnecting too. |
Tnx info
I will do a script restarting ambed.. Hopefully we can monitor it somehow
in the future
//Johan
Den fre 8 maj 2020 kl 10:10 skrev LX1IQ <[email protected]>:
… If you stop the XLX, of course the connection on the AMBed side is
disconnecting too.
When you start the XLX back on, a new connection is established to the
AMBed server which is resetting the the dongle connection, connected to the
AMbed as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#168 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSGDXZ4U7M5MFO45FWQYZ3RQO47LANCNFSM4M3UOHEA>
.
|
Seems that the easiest way will be adding this to the systemd script
Restart=always
RuntimeMaxSec=604800 (and a suitable number of seconds)
//SM0TSC
Den fre 8 maj 2020 kl 10:10 skrev LX1IQ <[email protected]>:
… If you stop the XLX, of course the connection on the AMBed side is
disconnecting too.
When you start the XLX back on, a new connection is established to the
AMBed server which is resetting the the dongle connection, connected to the
AMbed as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#168 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSGDXZ4U7M5MFO45FWQYZ3RQO47LANCNFSM4M3UOHEA>
.
|
My ambed.service as an example
[Unit]
Description=Ambed Service
Requires=network.target
After=syslog.target network.target
[Service]
Type=simple
Restart=always
RuntimeMaxSec=14400
RestartSec=3
StandardOutput=null
WorkingDirectory=/usr/local/bin
ExecStartPre=-/sbin/rmmod ftdi_sio
ExecStartPre=-/sbin/rmmod usbserial
ExecStart=/usr/bin/screen -S ambed -D -m /usr/local/bin/ambed 192.168.2.203
ExecStop=/usr/bin/screen -S ambed -X quit
[Install]
WantedBy=multi-user.target
Den fre 8 maj 2020 kl 10:10 skrev LX1IQ <[email protected]>:
… If you stop the XLX, of course the connection on the AMBed side is
disconnecting too.
When you start the XLX back on, a new connection is established to the
AMBed server which is resetting the the dongle connection, connected to the
AMbed as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#168 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSGDXZ4U7M5MFO45FWQYZ3RQO47LANCNFSM4M3UOHEA>
.
|
Seems not to help. Only helps with restarting xlxd.. Any more ideas? //Johan |
Any errors in the log ? |
Nothing that I can see out of the ordinary I see some ambed timeouts but no other errors. Restarted ambed with no change, then after some mnutes I restarted xlxd and trafic started flowing again Attached is syslog //Johan |
same problem here .when the audio not pass through .the "timed out" is appear on /var/log/message no packet loss on ambed log .only timed out message on xlxd log as below Mar 3 05:24:09 debian-reflector xlxd: ambed 170 of 216 packets timed out |
Coming back to this issue. Oct 27 06:25:12 ambed01 ambed[546]: Stream Open from XLX270 73, Luc |
The trouble is, we can put a watchdog on the AMBEd service but the XLXd stream still does not recover. You have to physically restart the XLXD service to recover! Is there a fix for this yet? Maybe add a watchdog for XLX to restart in the event of a failure? |
Hi since some time xlxd stops to pass audio. Callsigns etc is passed
Any clue how to debug? Or fix. I don´t find anything specific in logs. XLX010 is using last version
//SM0TSC
The text was updated successfully, but these errors were encountered: