[jira] [Commented] (ARTEMIS-4519) Why can a client connect and see two different session IDs on the console?

2023-11-30 Thread gongping.zhu (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-4519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17791852#comment-17791852
 ] 

gongping.zhu commented on ARTEMIS-4519:
---

thx a lot

> Why can a client connect and see two different session IDs on the console?
> --
>
> Key: ARTEMIS-4519
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4519
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: MQTT
>Affects Versions: 2.31.2
>Reporter: gongping.zhu
>Priority: Major
> Attachments: image-2023-11-30-11-00-08-171.png
>
>
> Why can a client connect and see two different session IDs on the console? 
> After a successful client connection, it will call before Create Session 
> twice, with the same connId but different sessions?
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARTEMIS-4519) Why can a client connect and see two different session IDs on the console?

2023-11-30 Thread Justin Bertram (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-4519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17791675#comment-17791675
 ] 

Justin Bertram commented on ARTEMIS-4519:
-

When an MQTT connection is made to the broker there are two core sessions 
created internally - one used for normal client operations and one used for 
internal management operations.

> Why can a client connect and see two different session IDs on the console?
> --
>
> Key: ARTEMIS-4519
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4519
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: MQTT
>Affects Versions: 2.31.2
>Reporter: gongping.zhu
>Priority: Major
> Attachments: image-2023-11-30-11-00-08-171.png
>
>
> Why can a client connect and see two different session IDs on the console? 
> After a successful client connection, it will call before Create Session 
> twice, with the same connId but different sessions?
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARTEMIS-4519) Why can a client connect and see two different session IDs on the console?

2023-11-29 Thread gongping.zhu (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-4519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17791417#comment-17791417
 ] 

gongping.zhu commented on ARTEMIS-4519:
---

when i nomally use ./artemis create /var/www/html/brokers/node3 to create 
instance;and then use ./artemis run; after zhe broker started,i use zhe third 
mqtt client to connect zhe broker, and login zhe web admin console,you can see 
this 

 

!image-2023-11-30-11-00-08-171.png!

> Why can a client connect and see two different session IDs on the console?
> --
>
> Key: ARTEMIS-4519
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4519
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: MQTT
>Affects Versions: 2.31.2
>Reporter: gongping.zhu
>Priority: Major
> Attachments: image-2023-11-30-11-00-08-171.png
>
>
> Why can a client connect and see two different session IDs on the console? 
> After a successful client connection, it will call before Create Session 
> twice, with the same connId but different sessions?
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARTEMIS-4519) Why can a client connect and see two different session IDs on the console?

2023-11-29 Thread Justin Bertram (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-4519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17791217#comment-17791217
 ] 

Justin Bertram commented on ARTEMIS-4519:
-

By "the console" do you mean the web admin console or are you talking about the 
logging output?

Can you provide any code for the client making the connection? Are you, in 
fact, using MQTT or some other protocol?

> Why can a client connect and see two different session IDs on the console?
> --
>
> Key: ARTEMIS-4519
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4519
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: MQTT
>Affects Versions: 2.31.2
>Reporter: gongping.zhu
>Priority: Major
>
> Why can a client connect and see two different session IDs on the console? 
> After a successful client connection, it will call before Create Session 
> twice, with the same connId but different sessions?
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)