You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/08/06 08:22:06 UTC

[GitHub] [servicecomb-service-center] test1280 opened a new issue #676: service-center/syncer: Failed to join : received invalid msgType (0), expected pushPullMsg (6) from=

test1280 opened a new issue #676:
URL: https://github.com/apache/servicecomb-service-center/issues/676


   **Describe the bug**
   使用service-center/syncer(single mode)工具同步两个service-center中的微服务/实例相关数据信息
   
   启动第一个syncer进程无报错,启动第二个进程,在第二个进程标准输出有报错:
   
   2020/08/06 16:08:35 [DEBUG] memberlist: Initiating push/pull sync with: 10.1.70.23:30191
   2020/08/06 16:08:35 [DEBUG] memberlist: Failed to join 10.1.70.23: received invalid msgType (0), expected pushPullMsg (6) from=10.1.70.23:30191
   2020/08/06 16:08:35 [WARN] agent: error joining: 1 error occurred:
   	* Failed to join 10.1.70.23: received invalid msgType (0), expected pushPullMsg (6) from=10.1.70.23:30191
   
   而在第一个syncer进程标准输出有报错:
   
   WARNING: 2020/08/06 16:10:05 grpc: Server.Serve failed to create ServerTransport:  connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"\\x06\\x83\\xa4JoinåNodes\\x01\\xacUserStat\""
   
   1.在两个主机启动sc(1.3.0),两个主机ip分别是10.1.70.23、10.1.70.24
   2.在10.1.70.23启动第一个syncer:
   
   ./syncer daemon --sc-addr http://10.1.70.23:60100 --bind-addr 10.1.70.23:30190 --rpc-addr 10.1.70.23:30191
   
   3.在10.1.70.24启动第二个syncer:
   ./syncer daemon --sc-addr http://10.1.70.24:60100 --bind-addr 10.1.70.24:30190 --rpc-addr 10.1.70.24:30191 --join-addr 10.1.70.23:30191
   
   4.即可在第一个syncer的stdout发现WARN信息,第二个syncer的stdout发现错误输出。
   
   **Expected behavior**
   期待两个主机上的sc中的微服务/实例信息能够通过syncer同步。
   
   **Platform And Runtime (please complete the following information):**
   
   Platform
    - OS: [Linux]
    - Version [3.10.0-1062.el7.x86_64]
    - sc和syncer均为release 1.3.0。
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org