Git Product home page Git Product logo

Comments (5)

crossoverJie avatar crossoverJie commented on May 21, 2024

route 服务登陆后返回的 server 服务地址与 client 网络不可达时

是指注册到 Zookeeper 上的地址客户端本身就 ping 不通嘛?

这个只能注册一个可以访问的地址才行。

from cim.

arugal avatar arugal commented on May 21, 2024

那就是两个问题了
1: 机器多网卡时的ip问题,需要绑定外网地址并注册到 zookeeper 中,这个在 #34 中我有提及
2: 启动client -> route.login (保存路由信息,返回CIMServerResVO) -> server.netty(链接失败, CIMServer 网络不可达或其他原因) -> 退出client(route中仍然保存本次路由信息,需要调用 offLine 手动清除路由信息),
此处是不是需要定时校验一些登陆路由信息的可用性

from cim.

arugal avatar arugal commented on May 21, 2024

或者说一次登陆是不是需要经过 server 的确认才算完成呢

from cim.

crossoverJie avatar crossoverJie commented on May 21, 2024
  1. 多网卡那个先缓缓。
  2. 第二个问题其实在 #28 (comment) 有提过,这本身是一个事务操作,只是涉及到了分布式的情况;可以在创建连接的时候 ping 一下是否可用,如果不可用则需要剔除同时重连。

from cim.

crossoverJie avatar crossoverJie commented on May 21, 2024

或者说一次登陆是不是需要经过 server 的确认才算完成呢

#28 (comment) #87 该问题修复了,每次登陆之前都会校验 server 是否真的可用,没问题后才会写入路由状态。

from cim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.