sip_reliable_xmit error

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

sip_reliable_xmit error

Postby mubeen » Tue May 05, 2020 12:28 pm

Hi

I have just installed
vicibox 9.0.2
VERSION: 2.14-751a
BUILD: 200425-0949

After installing certbot, keepalive script somehow got removed from the corntab. Everything seemed smooth after that but when we registered multiple extensions I started getting following errors

Code: Select all
[May  5 11:20:50] ERROR[2819]: utils.c:1499 ast_careful_fwrite: fflush() returned error: Bad file descriptor
[May  5 11:20:50] ERROR[2819]: tcptls.c:466 tcptls_stream_close: SSL_shutdown() failed: error:00000005:lib(0):func(0):DH lib, Underlying BIO error: Bad file descriptor
[May  5 11:20:50]   == WebSocket connection from '59.103.xxx.xxx:37745' forcefully closed due to fatal write error


Code: Select all
[May  5 11:38:33] ERROR[5870]: chan_sip.c:4271 __sip_reliable_xmit: Serious Network Trouble; __sip_xmit returns error for pkt data


I restarted the server and in asterisk
Code: Select all
sip show peers
was showing all the extensions as registered but when I checked
Code: Select all
hangup request
there were no extension to hangup
ViciBox v.8.0.1
VERSION: 2.14-667a
BUILD: 180331-1715
mubeen
 
Posts: 116
Joined: Mon Feb 19, 2018 1:49 pm

Re: sip_reliable_xmit error

Postby williamconley » Wed May 13, 2020 2:37 pm

mubeen wrote:
Code: Select all
ERROR[5870]: chan_sip.c:4271 __sip_reliable_xmit: Serious Network Trouble; __sip_xmit returns


Serious network trouble sounds like a much more relevant problem than anything else.

sip show peers shows "configured devices", not related to live calls.

hangup request immediately after a restart will not terminate any calls because there are NO calls immediately after a restart.

Based on this I'd say the system is working exactly as it should, but you have a network problem. Especially since you have provided no symptoms aside from xmit error, which clearly states its cause as serious network problem.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20220
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: sip_reliable_xmit error

Postby mubeen » Wed May 13, 2020 7:13 pm

Hi William,

I have this server hosted and is a physical server. I have couple of other vicidial servers with same hosting provider but older versions and without WebRTC, never had this issue with them. Today I also got another server from them and installed vicibox 9.0.1 with WebRTC, getting same issue on that as well.

Code: Select all
[May 13 20:06:29] ERROR[2355]: chan_sip.c:4271 sip_reliable_xmit: Serious Network Trouble; sip_xmit returns error for pkt data
[May 13 20:06:34] ERROR[26111]: utils.c:1499 ast_careful_fwrite: fflush() returned error: Bad file descriptor
[May 13 20:06:34] ERROR[26111]: tcptls.c:466 tcptls_stream_close: SSL_shutdown() failed: error:00000005:lib(0):func(0):DH lib, Underlying BIO error: Bad file descriptor
[May 13 20:06:34]   == WebSocket connection from '111.119.xxx.xxx:14124' forcefully closed due to fatal write error


I'm not sure if the Network issue is in server or hosting. How can I check this?

BTW I didn't modified the default FW and did installed fail2ban with ssh and asterisk chains enabled.

I'm also unable to play the recordings from the web but able to download them. Another thing is that by using server IP for "Sounds Web Server", I was not able to browse sounds but once I replace the IP with URL (domain I used while installing certbot), I was able to browse sounds. I guess for some reason its not resolving IP to domain which is causing this issue as well but not sure where to look
ViciBox v.8.0.1
VERSION: 2.14-667a
BUILD: 180331-1715
mubeen
 
Posts: 116
Joined: Mon Feb 19, 2018 1:49 pm

Re: sip_reliable_xmit error

Postby carpenox » Wed May 13, 2020 8:00 pm

try adding it to hosts file in /etc

cd /etc
nano hosts
then add the IP tab over and add host
ctrl x and save

fail2ban is prolly your issue, try turning it off
Alma Linux 9.4 | SVN Version: 3878 | DB Schema Version: 1718 | Asterisk 18.18.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2392
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: sip_reliable_xmit error

Postby mubeen » Wed May 13, 2020 8:05 pm

Already added in below format

144.76.xxx.xxx dialer.URL.com dialer
ViciBox v.8.0.1
VERSION: 2.14-667a
BUILD: 180331-1715
mubeen
 
Posts: 116
Joined: Mon Feb 19, 2018 1:49 pm

Re: sip_reliable_xmit error

Postby carpenox » Wed May 13, 2020 9:54 pm

u tried turning off fail2ban?
Alma Linux 9.4 | SVN Version: 3878 | DB Schema Version: 1718 | Asterisk 18.18.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2392
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: sip_reliable_xmit error

Postby mubeen » Thu May 14, 2020 10:49 am

No I didn't, but it shouldn't be an issue, have been using in all previous vicidial versions I have installed. anyway I'll try after turning it off and using iptables instead
ViciBox v.8.0.1
VERSION: 2.14-667a
BUILD: 180331-1715
mubeen
 
Posts: 116
Joined: Mon Feb 19, 2018 1:49 pm

Re: sip_reliable_xmit error

Postby mubeen » Thu May 14, 2020 12:18 pm

Still getting
Code: Select all
ERROR[2355]: chan_sip.c:4271 __sip_reliable_xmit: Serious Network Trouble; __sip_xmit returns
ViciBox v.8.0.1
VERSION: 2.14-667a
BUILD: 180331-1715
mubeen
 
Posts: 116
Joined: Mon Feb 19, 2018 1:49 pm

Re: sip_reliable_xmit error

Postby williamconley » Thu May 14, 2020 1:14 pm

turn OFF all firewalls for a single test. If that fixes the problem, you know it's in the firewall and may attack that problem. If that does not resolve the issue, then you must find out why the SIP module believes there is a networking issue.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20220
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: sip_reliable_xmit error

Postby mubeen » Thu May 14, 2020 1:18 pm

Okay William, let me test this as well.

I think the issue is with the URL, for some reason server is not resolving it because I cannot browse "audio store", it says "server(dialer.URL.com) does not match sounds web server ip(144.76.xxx.xxx)"
But once I replace the IP with URL (dialer.URL.com), I was able to browse sounds.
ViciBox v.8.0.1
VERSION: 2.14-667a
BUILD: 180331-1715
mubeen
 
Posts: 116
Joined: Mon Feb 19, 2018 1:49 pm

Re: sip_reliable_xmit error

Postby williamconley » Thu May 14, 2020 1:29 pm

That's not a problem with the URL. That's a "by design" block to stop you from trying to interact with the store incorrectly. If you upload files to the store at the wrong URL, you may "think" you uploaded a file to the store, but actually be on the wrong server. This blocks that behavior and forces you to access the store on the correct server. There is a setting for this under admin->System Settings if you want to specify where the audio store is. Just don't be wrong. lol.

It's much more important in a multi-server scenario.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20220
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: sip_reliable_xmit error

Postby mubeen » Mon May 18, 2020 4:17 pm

Oh thats great, I didn't thought about it that way. But my issue is still there. I tried turning off all the firewalls but still same

Another weird thing is which I guess I was not able to make clear earlier was when I restart the server, "sip show peers" should show all the configured phones but "host" should be shown as "unspecified" and "Status"" should be "Unknown" but here when I restarted the server; without logging in any where; sip show peers was showing the last status

1001/1001 182.176.xxx.xxx D No Yes 1589 OK (146 ms)

At first I thought its getting registered in some tab but I couldn't find it so I changed the password and restarted the server but still same.
ViciBox v.8.0.1
VERSION: 2.14-667a
BUILD: 180331-1715
mubeen
 
Posts: 116
Joined: Mon Feb 19, 2018 1:49 pm

Re: sip_reliable_xmit error

Postby mubeen » Mon May 18, 2020 5:36 pm

After sometime I again checked and found that phone got unregistered, may be is some how saved the state and loaded the state even after rebooting
1001/1001 (Unspecified) D No Yes 0 UNKNOWN
ViciBox v.8.0.1
VERSION: 2.14-667a
BUILD: 180331-1715
mubeen
 
Posts: 116
Joined: Mon Feb 19, 2018 1:49 pm

Re: sip_reliable_xmit error

Postby carpenox » Sat Aug 22, 2020 7:24 am

did you ever resolve this issue?
Alma Linux 9.4 | SVN Version: 3878 | DB Schema Version: 1718 | Asterisk 18.18.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2392
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: sip_reliable_xmit error

Postby mubeen » Fri Aug 28, 2020 2:34 pm

Nope, I tried VICI 8.0.1, 8.0.2, 8.1.2 and 9.0.1, 9.0.2, with certbot script and even by installing certificates manually but invain
ViciBox v.8.0.1
VERSION: 2.14-667a
BUILD: 180331-1715
mubeen
 
Posts: 116
Joined: Mon Feb 19, 2018 1:49 pm

Re: sip_reliable_xmit error

Postby carpenox » Wed Sep 30, 2020 9:19 am

I am constantly getting these errors on new servers, not sure how to resolve it either. any updates?
Alma Linux 9.4 | SVN Version: 3878 | DB Schema Version: 1718 | Asterisk 18.18.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2392
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: sip_reliable_xmit error

Postby cvillarreal77 » Sun Oct 11, 2020 1:29 pm

i too see this errors

but all workings fine
cvillarreal77
 
Posts: 92
Joined: Wed Dec 16, 2015 3:38 pm

Re: sip_reliable_xmit error

Postby Zaraab » Thu Sep 16, 2021 12:13 pm

Any concrete solution to this error?

In my case another error is added => WebSocket connection from 'xxx.xxx.xxx.xxx:8587' forcefully closed due to fatal write error
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 151
Joined: Fri May 22, 2020 1:21 pm

Re: sip_reliable_xmit error

Postby Sufyan Khan » Sun Sep 04, 2022 1:44 am

mubeen wrote:Nope, I tried VICI 8.0.1, 8.0.2, 8.1.2 and 9.0.1, 9.0.2, with certbot script and even by installing certificates manually but invain


I was getting this same message "ERROR[2559]: chan_sip.c:4271 __sip_reliable_xmit" continuously, so after a lot searching I removed g729 and alaw from the carrier "Account Setting" and only used ulaw, So now this error is gone. Also in sip.conf I am only using Ulaw.

Thanks
Sufyan Khan
 
Posts: 15
Joined: Wed Oct 16, 2019 3:36 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 80 guests