Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最新主分支client无法调用server #2707

Open
leapig opened this issue Jul 17, 2024 · 0 comments
Open

最新主分支client无法调用server #2707

leapig opened this issue Jul 17, 2024 · 0 comments

Comments

@leapig
Copy link

leapig commented Jul 17, 2024

Environment

  • Server: Dubbo-go, v3.2.0-rc1
  • Client: Dubbo-go, v3.2.0
  • Protocol: Triple+pb
  • Registry: Nacos, v2.3.2

Issue description

最新主分支client无法调用server
go.mod
replace dubbo.apache.org/dubbo-go/v3 v3.2.0-rc1 => ../../dubbo-go

Logs

Click me to check logs
/usr/local/go/bin/go build -o /private/var/folders/70/3v3vx9dx19qfcrplr297dnmw0000gn/T/GoLand/___api gitlab.d-cos.com/fky/qfqz/schedule/server/app/api/server #gosetup
/private/var/folders/70/3v3vx9dx19qfcrplr297dnmw0000gn/T/GoLand/___api
2024-07-17 10:54:36     INFO    dubbo-go/options.go:90  [Config Center] Config center doesn't start
2024-07-17 10:54:36     INFO    config/otel_config.go:76        enable stdout trace provider with propagator: w3c
2024-07-17 10:54:36     INFO    config/otel_config.go:80        sample mode: always
2024-07-17 10:54:36     INFO    dubbo-go/loader.go:233  The following profiles are active: default
2024-07-17 10:54:36     INFO    nacos/impl.go:78        [Nacos ConfigCenter] New Nacos ConfigCenter with Configuration: &{BaseDynamicConfiguration:{} url:0x140001ab420 rootPath: wg:{noCopy:{} state:{_:{} _:{} v:0} sema:0} cltLock:{state:0 sema:0} done:0x140000b8900 client:<nil> keyListeners:{mu:{state:0 sema:0} read:{_:[] _:{} v:<nil>} dirty:map[] misses:0} parser:<nil>}, url = nacos://nacos:B4236BB549953C176552966406EDFC2E308BAC57@nacos:8848?config-center.appId=dubbo&config-center.cluster=&config-center.group=&config-center.namespace=&config-center.timeout=10s&nacos.access=&nacos.group=DEFAULT_GROUP&nacos.namespaceId=&nacos.password=B4236BB549953C176552966406EDFC2E308BAC57&nacos.secret=&nacos.timeout=10s&nacos.username=nacos&remote-client-name=dubbo.config-center-nacos-nacos%3A8848
2024-07-17T10:54:36.203+0800    INFO    nacos_client/nacos_client.go:65 logDir:</private/var/folders/70/3v3vx9dx19qfcrplr297dnmw0000gn/T/GoLand/log> cacheDir:</private/var/folders/70/3v3vx9dx19qfcrplr297dnmw0000gn/T/GoLand/cache>
2024-07-17 10:54:36     INFO    nacos/builder.go:143    [Nacos Client] New nacos client with config = [{Scheme: ContextPath: IpAddr:nacos Port:8848 GrpcPort:0}]
2024-07-17 10:54:36     INFO    servicediscovery/service_discovery_registry.go:222      Find initial mapping applications "HashSet\ncore" for service core.Core.
2024-07-17 10:54:36     INFO    nacos/builder.go:143    [Nacos Client] New nacos client with config = [{Scheme: ContextPath: IpAddr:nacos Port:8848 GrpcPort:0}]
2024-07-17 10:54:36     INFO    servicediscovery/service_discovery_registry.go:247      Synchronized instance notification on application core subscription, instance list size %!s(int=1)
2024-07-17 10:54:36     INFO    servicediscovery/service_instances_changed_listener_impl.go:102 Received instance notification event of service core, instance list size 1
2024-07-17 10:54:36     INFO    dubbo/dubbo_protocol.go:99      [DUBBO Protocol] Refer service: dubbo://192.168.10.139:50493/org.apache.dubbo.metadata.MetadataService?application=core&group=core&interface=org.apache.dubbo.metadata.MetadataService&port=50493&protocol=dubbo&release=dubbo-golang-3.2.0&timestamp=1721184551&version=1.0.0
2024-07-17 10:54:36     INFO    protocol/invoker.go:93  Destroy invoker: dubbo://192.168.10.139:50493/org.apache.dubbo.metadata.MetadataService?application=core&group=core&interface=org.apache.dubbo.metadata.MetadataService&port=50493&protocol=dubbo&release=dubbo-golang-3.2.0&serialization=hessian2&timestamp=1721184551&version=1.0.0
2024-07-17 10:54:36     INFO    [email protected]/client.go:460       session-closed closed now. its current gr num is 1
2024-07-17 10:54:36     INFO    directory/directory.go:274      [Registry Directory] selector add service url{tri://192.168.10.139:30000/core.Core?application=core&cluster=failover&dubbo.tag=&interface=core.Core&loadbalance=random&release=dubbo-golang-3.2.0&timestamp=1721184551}
2024-07-17 10:54:36     INFO    getty/pool.go:310       close client session{session session-closed, Read Bytes: 3960, Write Bytes: 269, Read Pkgs: 1, Write Pkgs: 1, last active:2024-07-17 10:54:36.787936 +0800 CST m=+0.610775876, request number:1}
2024-07-17 10:54:36     INFO    getty/pool.go:312       session-closed closed now. its current gr num is 1
2024-07-17 10:54:36     INFO    triple/triple.go:124    [TRIPLE Protocol] Refer service: tri://192.168.10.139:30000/core.Core?app.version=&application=core&async=false&bean.name=core.Core&cluster=failover&config.tracing=&dubbo.tag=&environment=&generic=&group=&interface=core.Core&loadbalance=random&metadata-type=local&module=sample&name=api&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown&registry.role=0&release=dubbo-golang-3.2.0&retries=&serialization=protobuf&side=consumer&sticky=false&timestamp=1721184551&version=
2024-07-17 10:54:37     WARN    [email protected]/client.go:419       client{peer:192.168.10.139:50493} goroutine exit now.
2024-07-17 10:54:37     INFO    [email protected]/session.go:622      session-closed, [session.handlePackage] gr will exit now, left gr num 0
2024-07-17 10:54:37     INFO    getty/listener.go:90    session{session session-closed, Read Bytes: 3960, Write Bytes: 269, Read Pkgs: 1, Write Pkgs: 1} is closing......
2024-07-17 10:54:37     INFO    getty/pool.go:221       after remove session{session session-closed, Read Bytes: 3960, Write Bytes: 269, Read Pkgs: 1, Write Pkgs: 1}, left session number:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant