You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Kamov (Jira)" <ji...@apache.org> on 2021/04/28 09:34:01 UTC

[jira] [Commented] (NLPCRAFT-306) When probe and server have diff versions - probe does not shutdown properly (hangs).

    [ https://issues.apache.org/jira/browse/NLPCRAFT-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17334616#comment-17334616 ] 

Sergey Kamov commented on NLPCRAFT-306:
---------------------------------------

I can't reproduce

1. I have started the server
Server
Version: 0.7.4
Copyright (C) 2021 Apache Software Foundation
...
+-------------------------+
| Server started [21.09s] |
+-------------------------+

2. I have tried to start probe (other version 0.7.5)
It cannot be started 
Apr-28|12:30:15|INF| Connecting to REST server [uplink=localhost:8201, downlink=localhost:8202]
Apr-28|12:30:15|ERR| Failed REST server connection handshake (aborting).
Apr-28|12:30:15|ERR| +-+ [org.apache.nlpcraft.probe.mgrs.conn.NCConnectionManager.HandshakeError] REST server does not support probe version: 0.7.5 -> (NCConnectionManager.scala:236)
Apr-28|12:30:15|ERR| | o.a.n.probe.mgrs.conn.NCConnectionManager$.openUplinkSocket -> (NCConnectionManager.scala:236)
Apr-28|12:30:15|ERR| | o.a.n.common.util.NCUtils$$anon$3.run -> (NCUtils.scala:1031)

Process finished with exit code 1

Seems fine.

How can I reproduce the described error?

> When probe and server have diff versions - probe does not shutdown properly (hangs).
> ------------------------------------------------------------------------------------
>
>                 Key: NLPCRAFT-306
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-306
>             Project: NLPCraft
>          Issue Type: Bug
>    Affects Versions: 0.7.4
>            Reporter: Aaron Radzinski
>            Assignee: Sergey Kamov
>            Priority: Major
>             Fix For: 0.7.5
>
>
> Apr-27|10:57:02|ERR| Failed REST server connection handshake (aborting).
> Apr-27|10:57:02|ERR| +-+ [org.apache.nlpcraft.probe.mgrs.conn.NCConnectionManager.HandshakeError] REST server does not support probe version: 0.7.4 -> (NCConnectionManager.scala:236)
> Apr-27|10:57:02|ERR| | o.a.n.probe.mgrs.conn.NCConnectionManager$.openUplinkSocket -> (NCConnectionManager.scala:236)
> Apr-27|10:57:02|ERR| | o.a.n.common.util.NCUtils$$anon$3.run -> (NCUtils.scala:1031)
> Apr-27|10:57:02|INF| Executing shutdown hook...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)