[asterisk-bugs] [JIRA] (ASTERISK-28679) stasis application is destroyed after its creation

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Wed Jan 8 09:44:26 CST 2020


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

Kevin Harwell commented on ASTERISK-28679:
------------------------------------------

Oh and I also removed the patch mentioned to have caused this behavior, and things did seem to work. But even with the patch removed Asterisk seems to keep track of the application even when not connected as  "GET /applications/{applicationName}" returned "okay" even though the application had disconnected (probably a different bug though).

> stasis application is destroyed after its creation
> --------------------------------------------------
>
>                 Key: ASTERISK-28679
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28679
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 16.7.0
>         Environment: Debian buster
>            Reporter: Francois Blackburn
>
> Given I create bridge (type=holding)
> Given I create Stasis application (by connecting the websocket)
> Given I subscribe the bridge to the application
> Given I close the websocket connection
> Given I destroy the bridge
> When I reconnect the websocket
> When I get the application with ARI
> Then I get 404 application not found
> Expected I get the application
> I have the following log for my last websocket connection :
> {code}
> [Jan  6 09:00:22]  Activating Stasis app 'MY_APPLICATION'
> [Jan  6 09:00:22]   == WebSocket connection from '127.0.0.1:49876' for protocol '' accepted using version '13'
> [Jan  6 09:00:22]  Destroying Stasis app MY_APPLICATION
> [Jan  6 09:00:22]     -- Remove stasis-MY_APPLICATION/h/1, registrar=res_stasis; con=stasis-MY_APPLICATION(0x7fd5f000fe70); con->root=0x7fd5f00102a0
> [Jan  6 09:00:22]     -- Remove stasis-MY_APPLICATION/_./1, registrar=res_stasis; con=stasis-MY_APPLICATION(0x7fd5f000fe70); con->root=0x7fd5f00102a0
> {code}
> This bug has been introduced by [this commit|https://gerrit.asterisk.org/c/asterisk/+/13172]. e.i. I cannot reproduce it if I revert this one
> I've created a small python script to trigger this bug
> https://gist.github.com/fblackburn1/b945798b882bc825db2c2258174cad0e



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



More information about the asterisk-bugs mailing list