[asterisk-bugs] [JIRA] (ASTERISK-27245) Access to AMI always raise a tls exception even if tls is disable

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Sep 11 06:05:08 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp closed ASTERISK-27245.
----------------------------------

    Resolution: Not A Bug

The code in question is common TCP/TLS code. It handles both TCP and TLS, thus the "tcptls" name. Since you are connecting using TCP it is being used. I'd suggest upgrading to the latest version of Asterisk 13, and then using one of the community methods[1] to try to figure out why your AMI connection is not working. If after that it is determined this is a bug then it can be reopened.

[1] https://community.asterisk.org/

> Access to AMI always raise a tls exception even if tls is disable
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-27245
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27245
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.9.1
>         Environment: LEDE 17.01.2
>            Reporter: Fabio Masini
>            Severity: Minor
>
> Trying to access the manager with a simple telnet command:
> ```
> telnet 192.168.10.26 5038
> ```
> results in:
> ```
> Trying 192.168.10.26...
> Connected to 192.168.10.26.
> Escape character is '^]'.
> Connection closed by foreign host.
> ```
> and in the asterisk console this warning (verbosity is vvv):
> ```
> tcptls.c:684 handle_tcptls_connection: FILE * open failed!
> ```
> The error message is really, really, really cryptic, and the manager page is not working. I'm not enabling tls in manager, this is my conf:
> ```
> [general]
> enabled = yes
> webenabled = yes
> port = 5038
> bindaddr = 0.0.0.0
> [admin]
> secret = ****
> permit=0.0.0.0/0.0.0.0
> read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
> write = system,call,agent,user,config,command,reporting,originate,message
> ```



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



More information about the asterisk-bugs mailing list