FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
290 views 4 comments
by anonymous

Hello,

I have the following backtrace in the logs:

2022-05-03T12:59:36+02:00 lgrrutx vuci[22766]: /usr/bin/lua: /usr/lib/lua/luci/tools/ddns.lua:24: attempt to call global 'call' (a\
 table value)
2022-05-03T12:59:36+02:00 lgrrutx vuci[22766]: stack traceback:
2022-05-03T12:59:36+02:00 lgrrutx vuci[22766]: #011/usr/lib/lua/luci/tools/ddns.lua:24: in function 'has_wgetssl'
2022-05-03T12:59:36+02:00 lgrrutx vuci[22766]: #011/usr/lib/lua/luci/tools/ddns.lua:73: in function 'env_info'
2022-05-03T12:59:36+02:00 lgrrutx vuci[22766]: #011/usr/lib/lua/ubus/services/ddns.lua:166: in function </usr/lib/lua/ubus/services/ddns.lua:165>
2022-05-03T12:59:36+02:00 lgrrutx vuci[22766]: #011[C]: in function 'run'
2022-05-03T12:59:36+02:00 lgrrutx vuci[22766]: #011/usr/sbin/vuci:98: in function 'main'
2022-05-03T12:59:36+02:00 lgrrutx vuci[22766]: #011/usr/sbin/vuci:101: in main chunk
2022-05-03T12:59:36+02:00 lgrrutx vuci[22766]: #011[C]: ?

This error occurs at random when selecting Services->Dynamic DNS and edit the current configuration. The UI stays unresponsive for several tens of seconds.

Regards,

1 Answer

0 votes
by anonymous
Hello Flebourse,

As the first step for troubleshooting, I suggest rebooting your device and checking whether the issue presents again.  If rebooting doesn't work, it would be good to check whether the device loads or rejects the configuration after it is no longer unresponsive. Furthermore, it would be helpful to know if the DDNS service and other services still work when this event appears. It would also be good to have more details about the steps you followed to get these log messages and know if you recently tried to upgrade your service packages because this may lead to unexpected results on your device operation.

I look forward to reading your comments.
by anonymous

This issue is minor for me, just to point that the code should do better validating its inputs the package wget-ssl may not be present on the device (or it should be mandatory). The long delay for recovery is abnormal however.

Furthermore, it would be helpful to know if the DDNS service and other services still work when this event appears

DDNS doesn't do what I expect, ie registering an IPv6 address on no-ip.com. But this is another issue. 

It would also be good to have more details about the steps you followed to get these log messages

Unfortunately I have no idea about a precise sequence.

> and know if you recently tried to upgrade your service packages

Pristine 07.01.4 version.

Regards,

by anonymous

Hi Flebours,

Could you confirm your current ddns-scripts package version installed on your device? You can get this information by executing on the CLI this command: 'opkg info ddns-scripts.' Also, please share your ddns configuration settings and check if it has the option highlighted in the picture of the link below:

https://community.teltonika-networks.com/?qa=blob&qa_blobid=15865382072237440064

Whenever this issue appears again, on the CLI window, enter the following command: 'cat /tmp/log/ddns/{myddns.log}', and send us those logs with the troubleshoot file as well.

Comments:

Replace {myddns.log} for your ddns service name.

To download the Tshoot file, refer to the link below:

https://wiki.teltonika-networks.com/view/RUTX11_Administration#Troubleshoot

For more information about ddns package, please refer to the links below: 

https://openwrt.org/docs/guide-user/services/ddns/client

https://oldwiki.archive.openwrt.org/doc/howto/ddns.client

I'll look forward for your answer.

by anonymous

ddns-scripts:

root@lgrrutx:~# opkg info ddns-scripts
Package: ddns-scripts
Version: 2.8.2-12
Depends: libc, ddns-scripts-services
Status: unknown ok not-installed
Section: net
Architecture: all
Size: 24762
Filename: ddns-scripts_2.8.2-12_all.ipk
Description: Dynamic DNS Client scripts (with IPv6 support)
 A highly configurable set of scripts for doing dynamic dns updates.
 - IPv6 support
 - DNS server support
 - Glue Record support (require BIND host or KNOT host)
 - DNS requests via TCP
 - Proxy server support
 - log file support
 - support to run once
 Version: 2.8.2-12
 Info   : https://openwrt.org/docs/guide-user/services/ddns/client

Package: ddns-scripts
Version: 2020-09-10-1
Status: install user installed
Architecture: all
Conffiles:
 /etc/config/ddns 47e3dbdd6af987e1874fad9df5e982dc7804ea94d5c0066b7ea920ef183950af
Installed-Time: 1630448408

use_curl is set.

Logs: I haven't kept the old logs, as this issue is minor for me. I have another ticket (47414) registering an IPv6 address always fail this one is more important.

by anonymous
Hi Flesbourse,

I've just commented on your other query; I hope it solves your current issue. Regarding this query, I will keep an eye on your comments, and when this reported router behavior happens again, please send us the requested logs and file previously commented.

Regards