fs_cli not connecting to fs ( newbie question )
Hello freeswitch experts, I have installed the FreeSWITCH version: 1.10.7-release-19-883d2cb662~64bit (-release-19-883d2cb662 64bit) on Debian GNU/Linux 11 (bullseye) version. 'service freeswitch status' command shows freeswitch as running. When I run fs_cli command from the server itself ( connecting to 127.0.0.1) I get the following error -> [ERROR] fs_cli.c:1691 main() Error Connecting [] Looked at the logs kept in /var/log/freeswitch directory . Following errors are shown but they don't seem to be related fs_cli not connecting Line 199: 2022-03-09 13:12:21.550802 0.00% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 1 (RETRY IN 5 SEC) Line 203: 2022-03-09 13:12:21.550957 0.00% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 1 (RETRY IN 5 SEC) Line 246: 2022-03-09 13:12:23.045871 0.00% [WARNING] mod_verto.c:4805 Bind Error!, errno=99, Line 250: 2022-03-09 13:12:23.045898 0.00% [WARNING] mod_verto.c:4805 Bind Error!, errno=99, Line 251: 2022-03-09 13:12:23.045904 0.00% [WARNING] mod_verto.c:4972 default-v6 Client Socket Error! No Listeners! Line 464: 2022-03-09 13:12:23.562719 0.00% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'error' Line 1613: 2022-03-09 13:12:26.538136 99.90% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC) Line 1614: 2022-03-09 13:12:26.538136 99.90% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC) Line 1615: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC) Line 1616: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3307 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@ [::1]:5080;transport=udp,tcp) Line 1622: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC) Line 1623: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3307 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@ [::1]:5060;transport=udp,tcp) I also went through freeswitch books and wiki to see if there were any troubleshooting hints around issues like this but could not find any. I am a newbie to FS so any hints and tips to further troubleshoot this issue is highly appreciated Thanks in advance
On Wednesday 09 March 2022 at 14:47:02, GN Dev2 wrote:
When I run fs_cli command from the server itself ( connecting to 127.0.0.1) I get the following error -> [ERROR] fs_cli.c:1691 main() Error Connecting []
Have you changed the default "ClueCon" password in /etc/freeswitch/autoload_configs/event_socket.conf.xml ? Have you changed the default "ClueCon" password in /etc/fs_cli.conf? Do they match? Antony. -- A user interface is like a joke. If you have to explain it, it means it doesn't work. Please reply to the list; please *don't* CC me.
Perhaps it is even simpler. ${conf_dir}/autoload_configs/event_socket.conf.xml probably contains a reference to "localhost" like: <param name="listen-ip" value="localhost"/> which /etc/hosts probably lists as ::1 localhost ip6-localhost ip6-loopback which apparently is disabled on your host, based on the error messages like: "Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp" Solution: change <param name="listen-ip" value="localhost"/> to <param name="listen-ip" value="127.0.0.1"/> and fs_cli should be able to reach FreeSWITCH ESL port. You can run FreeSWITCH as a console application by omitting the "-nc" switch and see the console log messages fly by on the screen, until you get fs_cli connected. I believe these are merely the growing pains of a new system that has not been fully configured yet. Simplify the network configuration and things will work better. "What this country needs is a good FreeSWITCH startup guide." John Boteler Bote Communications -----Original Message----- From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Antony Stone Sent: Thursday, 10 March, 2022 09:24 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] fs_cli not connecting to fs ( newbie question ) On Wednesday 09 March 2022 at 14:47:02, GN Dev2 wrote:
When I run fs_cli command from the server itself ( connecting to 127.0.0.1) I get the following error -> [ERROR] fs_cli.c:1691 main() Error Connecting []
Have you changed the default "ClueCon" password in /etc/freeswitch/autoload_configs/event_socket.conf.xml ? Have you changed the default "ClueCon" password in /etc/fs_cli.conf? Do they match? Antony. -- A user interface is like a joke. If you have to explain it, it means it doesn't work. Please reply to the list; please *don't* CC me. _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (3)
-
Antony Stone
-
Bote Man
-
GN Dev2