AllStarLink / app_rpt

Refactoring and upgrade of AllStarLink's app_rpt, etc.
5 stars 4 forks source link

app_rpt: Defined node with domain name lookup fails #216

Closed KB4MDD closed 11 months ago

KB4MDD commented 12 months ago

I have a node defined in the [nodes] stanza

53431 = radio@kk4vsd.tplinkdns.com:4569/53431,NONE

When I issue the link command to this defined node, I see the following errors:

wa4kik*CLI> rpt fun 53812 *353431
[2023-08-24 19:46:33.895] ERROR[1317]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("kk4vsd.tplinkdns.com", "(null)", ...): Name or service not known
[2023-08-24 19:46:33.895] WARNING[1317]: acl.c:890 resolve_first: Unable to lookup 'kk4vsd.tplinkdns.com'
[2023-08-24 19:46:33.896] WARNING[1317]: chan_iax2.c:4641 create_addr: No such host: kk4vsd.tplinkdns.com
[2023-08-24 19:46:33.896] WARNING[1317]: chan_iax2.c:5152 iax2_call: No address associated with 'kk4vsd.tplinkdns.com'

I can ping the domain name. To resolve the issue, I uncommented the [node] entry and was able to connect with no problem.

KB4MDD commented 11 months ago

Information from the command line.

[2023-09-12 14:18:01.445] DEBUG[10128]: app_rpt/rpt_config.c:439 node_lookup: Resolved by internal: node 53431 to radio@kk4vsd.tplinkdns.com:4569/53431,NONE
[2023-09-12 14:18:01.445] DEBUG[10128]: app_rpt/rpt_link.c:530 connect_link: Connect attempt to node 53431, Mode = Transceive, Connection type: Normal
[2023-09-12 14:18:01.540] DEBUG[10128]: app_rpt/rpt_call.c:58 rpt_setup_call: Requested channel IAX2/47.13.254.107:4569-15980
[2023-09-12 14:18:01.540] DEBUG[10128]: app_rpt/rpt_call.c:46 rpt_disable_cdr: No CDR present on IAX2/47.13.254.107:4569-15980
[2023-09-12 14:18:01.540] DEBUG[10128]: app_rpt/rpt_call.c:69 rpt_setup_call: rpt ((Remote Rx)) initiating call to IAX2/radio@kk4vsd.tplinkdns.com:4569/53431 on IAX2/47.13.254.107:4569-15980
[2023-09-12 14:18:01.548] ERROR[10128]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("kk4vsd.tplinkdns.com", "(null)", ...): Name or service not known
[2023-09-12 14:18:01.548] WARNING[10128]: acl.c:890 resolve_first: Unable to lookup 'kk4vsd.tplinkdns.com'
[2023-09-12 14:18:01.549] WARNING[10128]: chan_iax2.c:4641 create_addr: No such host: kk4vsd.tplinkdns.com
[2023-09-12 14:18:01.549] WARNING[10128]: chan_iax2.c:5152 iax2_call: No address associated with 'kk4vsd.tplinkdns.com'
.
.
.
[2023-09-12 14:18:07.069] DEBUG[10128]: chan_usbradio.c:2285 usbradio_indicate: chan_usbradio ACRK  dev=usb_53812  code=(null) TX ON
[2023-09-12 14:18:07.110]     -- Remote UNIX connection
[2023-09-12 14:18:07.110] DEBUG[10237]: app_rpt/rpt_config.c:439 node_lookup: Resolved by internal: node 53431 to radio@kk4vsd.tplinkdns.com:4569/53431,NONE
[2023-09-12 14:18:07.110] DEBUG[10237]: app_rpt/rpt_config.c:439 node_lookup: Resolved by internal: node 53431 to radio@kk4vsd.tplinkdns.com:4569/53431,NONE
[2023-09-12 14:18:07.111]     -- Remote UNIX connection disconnected
tsawyer commented 11 months ago

I works for me. Connect to it with rpt fun 2509 *353431. And lookup works:

NewASL*CLI> rpt lookup 53431
Node: 2509       Data: radio@kk4vsd.tplinkdns.com:4569/53431,NONE
Node: 25334      Data: radio@kk4vsd.tplinkdns.com:4569/53431,NONE
KB4MDD commented 11 months ago

This was a dns issue on the local computer. Closing this issue.