[asterisk-bugs] [JIRA] (ASTERISK-28543) When Asterisk cannot connect to SIP socket it starts to flood with "Bad descriptor" errors and hangs

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Sep 18 02:39:49 CDT 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248053#comment-248053 ] 

Asterisk Team commented on ASTERISK-28543:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

>     When Asterisk cannot connect to SIP socket it starts to flood with "Bad descriptor" errors and hangs
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28543
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28543
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 16.3.0, 16.5.1
>         Environment:     CentOS Linux release 7.6.1810 (Core) x64
>            Reporter: John Smith
>
>     When some endpoint goes offline the following messages appear in the console: ERROR[2889]: tcptls.c:553 ast_tcptls_client_start: Unable to connect SIP socket to IP:5060: Connection refused followed by ERROR[2751]: iostream.c:569 ast_iostream_close: close() failed: Bad file descriptor Error occurs only for endpoints with protocol=tcp in sip.conf (and probably tls) after some time calls started to drop with "Bad file descriptor" errors and finally after some time Asterisk becomes unresponsible: all endpoints lose their registrations, no calls can be made/received. Service restart does not help. Server restart can help on a short time. Workaround is to remove offline endpoint from sip.conf sip.conf example: [sfb] type=friend host=10.30.8.90 port=5060 dtmfmode=rfc2833 context=office directmedia=no qualify=yes transport=tcp allow=!all,alaw,ulaw,g722 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list