[asterisk-bugs] [JIRA] (ASTERISK-29041) manager: Logging in results in connection closure
Dalius Mockevicius (JIRA)
noreply at issues.asterisk.org
Mon Aug 24 09:30:43 CDT 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-29041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251738#comment-251738 ]
Dalius Mockevicius commented on ASTERISK-29041:
-----------------------------------------------
On working node console shows
{noformat}
<--- Examining AMI action: -->
Action: Login
Username: random
Secret: <redacted from logging>
[Aug 24 17:11:48] NOTICE[20222]: manager.c:3523 authenticate: 127.0.0.1 tried to authenticate with nonexistent user 'random'
[Aug 24 17:11:48] NOTICE[20222]: manager.c:3560 authenticate: 127.0.0.1 failed to authenticate as 'random'
<-- Examining AMI event: -->
Event: InvalidAccountID
Privilege: security,all
SequenceNumber: 20310
File: manager.c
Line: 1864
Func: manager_default_msg_cb
EventTV: 2020-08-24T17:11:48.400+0300
Severity: Error
Service: AMI
EventVersion: 1
AccountID: random
SessionID: 0x7f1b9614c380
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/127.0.0.1/56636
SessionTV: 1970-01-01T03:00:00.000+0300
{noformat}
On node there managed does not works it does not show my connection and that is strange
I think that connection limit is not reached.
> manager: Logging in results in connection closure
> -------------------------------------------------
>
> Key: ASTERISK-29041
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29041
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/ManagerInterface
> Affects Versions: 16.12.0
> Environment: CentOS Linux release 7.7.1908 (Core)
> Reporter: Dalius Mockevicius
> Assignee: Dalius Mockevicius
> Severity: Minor
> Attachments: ami_notworking.pcap, ami_working.pcap
>
>
> Hello,
> Sometimes Asterisk manager stops working and responding:
> Normal behaviour on working:
> {noformat}
> root at host1 ~]# telnet 127.0.0.2 5038
> Trying 127.0.0.2...
> Connected to 127.0.0.2.
> Escape character is '^]'.
> Asterisk Call Manager/5.0.2
> Action: Login
> Username: random
> Secret: random1234
> Response: Error
> Message: Authentication failed
> Connection closed by foreign host.
> {noformat}
> Not normal behaviout on host2:
> {noformat}
> [root at host2~]# telnet 127.0.0.2 5038
> Trying 127.0.0.2...
> Connected to 127.0.0.2.
> Escape character is '^]'.
> Action: Login
> Username: random
> Secret: random1234
> Connection closed by foreign host.
> {noformat}
> In host1 and host2 Asterisk version is same: 16.12.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list