GithubHelp home page GithubHelp logo

apache / dubbo-go-samples Goto Github PK

View Code? Open in Web Editor NEW
222.0 51.0 182.0 8.85 MB

Apache dubbo

Home Page: https://dubbo.apache.org/

License: Apache License 2.0

Go 74.66% Shell 1.84% Java 19.05% Makefile 0.75% CSS 0.08% HTML 2.53% JavaScript 0.59% Dockerfile 0.49%

dubbo-go-samples's Introduction

Dubbo Golang Examples

CI

中文 🇨🇳

What It Contains

  • apisix: apache/apisix and Dubbo-go example
  • async: the dubbogo callback[asynchronous] and call-one-way rpc example
  • config-api: show how to use dubbogo by APIs without configuration
  • configcenter: uses of different config centers, including zookeeper and nacos at present.
  • context: how to transfer request context between multiple producers/consumers
  • direct: A direct invocation example.
  • error/triple: triple sample with hessian2/protobuf
  • filter: Some examples of different filter, including custom_filter and tpslimit
  • game: game service example
  • generic: A generic invocation example
  • helloworld: A 101 example
  • integrate_test: dubbogo github action integrate test use cases
  • logger: dubbogo logging
  • mesh: give an proxy service mesh example which shows how to deploy the dubbo-go services with envoy on kubernetes platform
  • metrics: show how to collect dubbogo prometheus metrics
  • multirpc: show how to use three protocols(triple, dubbo, jsonrpc) in one server and invoke them on the client-side
  • otel/trace: show how to use opentelemetry as dubbogo tracing tool
  • proxyless: give an proxyless service mesh example which shows how to deploy the dubbo-go services on kubernetes platform
  • registry: show how to use etcd/nacos/polaris/zookeeper as dubbogo registry
  • rpc: dubbo directory display dubbo protocol communication
    • rpc/dubbo: dubbo-go 3.0 rpc example between Java and Go
    • rpc/grpc: dubbo-go rpc example based on gRPC
    • rpc/jsonrpc: dubbo-go rpc example based on json-rpc
    • rpc/triple: dubbo-go rpc example based on hessian2/msgpack/pb(protobuf-v3)/pb2(protobuf-v2)/self-defined-serialization
  • seata-go: A seata-go example
  • skywalking: show how to integrate skywalking into dubbogo
  • tls: use TLS encryption in getty(tcp)/triple/gRPC communication mode
  • tracing: tracing example
  • error: error handling

How To Run

Pls refer How To Run for the instructions.

How to contribute

If you want to add more samples, pls. read on:

  1. Create new sub directory and give it an appropriate name for your new sample. Pls follow the layout of the existing sample if you are not sure how to organize your code.
  2. Make sure your sample work as expected before submit PR, and make sure GitHub CI passes after PR is submitted. Pls refer to the existing sample on how to test the sample.
  3. Pls provide README.md to explain your samples.

dubbo-go-samples's People

Contributors

alexstocks avatar beiwei30 avatar chickenlj avatar chuntaojun avatar cityiron avatar cjphaha avatar dependabot[bot] avatar dmwangnima avatar enableasync avatar endlessseeker avatar ev1lquark avatar fangyincheng avatar fansofml avatar finalt avatar flying-tom avatar foghostcn avatar justxuewei avatar laurencelizhixin avatar luky116 avatar mulavar avatar philyue avatar r27153733 avatar watermelo avatar wudong5 avatar yakecanlee avatar yan0613 avatar yoda-wu avatar zhaoyunxing92 avatar zlber avatar zouyx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dubbo-go-samples's Issues

运行general示例出现 fatal error: unexpected signal during runtime execution

1、环境:macos
2、本地运行zookeeper,zookeeper的版本是最新版3.7
3、本地运行general项目中的java-dubbo-server,启动成功
4、本地运行general项目中的dubcbo-go-dubbo-client,出现如下错误

../../../../../../../pkg/mod/github.com/shirou/[email protected]+incompatible/cpu/cpu_darwin_cgo.go:13:5: warning: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
/private/var/folders/vc/mwhn0z0n7x394xzy9dmjkft80000gn/T/GoLand/___general_dubbo_go_client
2021/10/09 17:14:27 [InitLog] warn: ioutil.ReadFile(file:/Users/fanyuelei/Documents/WorkSpace/GolandProjects/src/github.com/dubbo-go-samples/general/dubbo/go-server/conf/conf/log.yml) = error:open /Users/fanyuelei/Documents/WorkSpace/GolandProjects/src/github.com/dubbo-go-samples/general/dubbo/go-server/conf/conf/log.yml: no such file or directory
2021-10-09T17:14:27.145+0800 DEBUG config/consumer_config.go:121 consumer config{&config.ConsumerConfig{BaseConfig:config.BaseConfig{ConfigCenterConfig:(*config.ConfigCenterConfig)(nil), Remotes:map[string]*config.RemoteConfig(nil), ServiceDiscoveries:map[string]*config.ServiceDiscoveryConfig(nil), MetadataReportConfig:(*config.MetadataReportConfig)(nil), ApplicationConfig:(*config.ApplicationConfig)(0xc0003009a0), fatherConfig:interface {}(nil), EventDispatcherType:"direct", MetricConfig:(*config.MetricConfig)(nil), fileStream:(*bytes.Buffer)(0xc000274b10), CacheFile:""}, configCenter:config.configCenter{}, Filter:"", Connect_Timeout:"3s", ConnectTimeout:3000000000, Registry:(*config.RegistryConfig)(nil), Registries:map[string]*config.RegistryConfig{"demoZk":(*config.RegistryConfig)(0xc0001cb180)}, Request_Timeout:"3s", RequestTimeout:3000000000, ProxyFactory:"default", Check:(*bool)(0xc000234fc8), References:map[string]*config.ReferenceConfig{"UserProvider":(*config.ReferenceConfig)(0xc00022e580)}, ProtocolConf:map[interface {}]interface {}{"dubbo":map[interface {}]interface {}{"connection_number":1, "getty_session_param":map[interface {}]interface {}{"compress_encoding":false, "keep_alive_period":"120s", "max_msg_len":1024000, "session_name":"client", "tcp_keep_alive":true, "tcp_no_delay":true, "tcp_r_buf_size":262144, "tcp_read_timeout":"1s", "tcp_w_buf_size":65536, "tcp_write_timeout":"5s", "wait_timeout":"1s"}, "heartbeat_period":"5s", "pool_size":64, "pool_ttl":600, "reconnect_interval":0, "session_timeout":"180s"}}, FilterConf:interface {}(nil), ShutdownConfig:(*config.ShutdownConfig)(nil), ConfigType:map[string]string(nil)}}

2021/10/09 17:14:27 [providerInit] application configure(provider) file name is nil
2021-10-09T17:14:27.146+0800 DEBUG directory/directory.go:78 new RegistryDirectory for service :zookeeper://:@127.0.0.1:2181/?interface=org.apache.dubbo.UserProvider&group=&version=.
2021-10-09T17:14:27.146+0800 WARN directory/directory.go:95 fail to create router chain with url: dubbo://:/org.apache.dubbo.UserProvider?app.version=0.0.1&application=UserInfoTest&async=false&bean.name=UserProvider&cluster=failover&environment=dev&generic=false&group=&interface=org.apache.dubbo.UserProvider&loadbalance=&methods.GetUser.loadbalance=&methods.GetUser.retries=3&methods.GetUser.sticky=false&module=dubbo-go+user-info+client&name=UserInfoTest&organization=dubbo.io&owner=&provided-by=&reference.filter=cshutdown&registry.role=0&release=dubbo-golang-1.5.7&retries=&side=consumer&sticky=false&timestamp=1633770867&version=, err is: No routerFactory exits , create one please
2021-10-09T17:14:27.146+0800 DEBUG directory/directory.go:106 subscribe service :dubbo://:@:/?interface=org.apache.dubbo.UserProvider&group=&version= for RegistryDirectory.
2021-10-09T17:14:27.146+0800 INFO zookeeper/listener.go:389 listen dubbo path{/dubbo/org.apache.dubbo.UserProvider/providers}
2021/10/09 17:14:27 Connected to 127.0.0.1:2181
2021/10/09 17:14:27 Authenticated: id=72057612384337932, timeout=4000
2021/10/09 17:14:27 Re-submitting 0 credentials after reconnect
2021-10-09T17:14:27.246+0800 DEBUG zookeeper/listener.go:310 Get children!{/dubbo/org.apache.dubbo.UserProvider/providers/dubbo%3A%2F%2F127.0.0.1%3A20010%2Forg.apache.dubbo.UserProvider%3Fanyhost%3Dtrue%26application%3Duser-info-server%26deprecated%3Dfalse%26dubbo%3D2.0.2%26dynamic%3Dtrue%26generic%3Dfalse%26interface%3Dorg.apache.dubbo.UserProvider%26methods%3DGetErr%2CGetUserMap%2CgetUser%2CCalc%2CSum%2CGetUsers%2CGetUser3%2CqueryAll%2CGetUser0%2CisLimit%2CqueryUser%2CGetUser%26pid%3D4604%26release%3D2.7.7%26side%3Dprovider%26timeout%3D3000%26timestamp%3D1633767150140}
2021-10-09T17:14:27.246+0800 INFO zookeeper/listener.go:318 listen dubbo service key{/dubbo/org.apache.dubbo.UserProvider/providers/dubbo%3A%2F%2F127.0.0.1%3A20010%2Forg.apache.dubbo.UserProvider%3Fanyhost%3Dtrue%26application%3Duser-info-server%26deprecated%3Dfalse%26dubbo%3D2.0.2%26dynamic%3Dtrue%26generic%3Dfalse%26interface%3Dorg.apache.dubbo.UserProvider%26methods%3DGetErr%2CGetUserMap%2CgetUser%2CCalc%2CSum%2CGetUsers%2CGetUser3%2CqueryAll%2CGetUser0%2CisLimit%2CqueryUser%2CGetUser%26pid%3D4604%26release%3D2.7.7%26side%3Dprovider%26timeout%3D3000%26timestamp%3D1633767150140}
2021-10-09T17:14:27.246+0800 DEBUG zookeeper/listener.go:154 got zk event ConfigChangeEvent{key = /dubbo/org.apache.dubbo.UserProvider/providers/dubbo%3A%2F%2F127.0.0.1%3A20010%2Forg.apache.dubbo.UserProvider%3Fanyhost%3Dtrue%26application%3Duser-info-server%26deprecated%3Dfalse%26dubbo%3D2.0.2%26dynamic%3Dtrue%26generic%3Dfalse%26interface%3Dorg.apache.dubbo.UserProvider%26methods%3DGetErr%2CGetUserMap%2CgetUser%2CCalc%2CSum%2CGetUsers%2CGetUser3%2CqueryAll%2CGetUser0%2CisLimit%2CqueryUser%2CGetUser%26pid%3D4604%26release%3D2.7.7%26side%3Dprovider%26timeout%3D3000%26timestamp%3D1633767150140 , value = dubbo://127.0.0.1:20010/org.apache.dubbo.UserProvider?anyhost=true&application=user-info-server&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=org.apache.dubbo.UserProvider&methods=GetErr%2CGetUserMap%2CgetUser%2CCalc%2CSum%2CGetUsers%2CGetUser3%2CqueryAll%2CGetUser0%2CisLimit%2CqueryUser%2CGetUser&pid=4604&release=2.7.7&side=provider&timeout=3000&timestamp=1633767150140 , changeType = add}
2021-10-09T17:14:27.247+0800 INFO registry/base_registry.go:426 update begin, service event: ServiceEvent{Action{add}, Path{dubbo://127.0.0.1:20010/org.apache.dubbo.UserProvider?anyhost=true&application=user-info-server&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=org.apache.dubbo.UserProvider&methods=GetErr%2CGetUserMap%2CgetUser%2CCalc%2CSum%2CGetUsers%2CGetUser3%2CqueryAll%2CGetUser0%2CisLimit%2CqueryUser%2CGetUser&pid=4604&release=2.7.7&side=provider&timeout=3000&timestamp=1633767150140}, Key{}}
2021-10-09T17:14:27.247+0800 DEBUG directory/directory.go:131 refresh invokers with ServiceEvent{Action{add}, Path{dubbo://127.0.0.1:20010/org.apache.dubbo.UserProvider?anyhost=true&application=user-info-server&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=org.apache.dubbo.UserProvider&methods=GetErr%2CGetUserMap%2CgetUser%2CCalc%2CSum%2CGetUsers%2CGetUser3%2CqueryAll%2CGetUser0%2CisLimit%2CqueryUser%2CGetUser&pid=4604&release=2.7.7&side=provider&timeout=3000&timestamp=1633767150140}, Key{}}
2021-10-09T17:14:27.248+0800 INFO directory/directory.go:257 selector add service url{dubbo://127.0.0.1:20010/org.apache.dubbo.UserProvider?anyhost=true&application=user-info-server&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=org.apache.dubbo.UserProvider&methods=GetErr%2CGetUserMap%2CgetUser%2CCalc%2CSum%2CGetUsers%2CGetUser3%2CqueryAll%2CGetUser0%2CisLimit%2CqueryUser%2CGetUser&pid=4604&release=2.7.7&side=provider&timeout=3000&timestamp=1633767150140}
2021-10-09T17:14:27.248+0800 DEBUG directory/directory.go:370 service will be added in cache invokers: invokers url is dubbo://127.0.0.1:20010/org.apache.dubbo.UserProvider?anyhost=true&app.version=0.0.1&application=user-info-server&async=false&bean.name=UserProvider&cluster=failover&deprecated=false&dubbo=2.0.2&dynamic=true&environment=dev&generic=false&group=&interface=org.apache.dubbo.UserProvider&loadbalance=&methods=GetErr%2CGetUserMap%2CgetUser%2CCalc%2CSum%2CGetUsers%2CGetUser3%2CqueryAll%2CGetUser0%2CisLimit%2CqueryUser%2CGetUser&methods.GetUser.loadbalance=&methods.GetUser.retries=3&methods.GetUser.sticky=false&module=dubbo-go+user-info+client&name=UserInfoTest&organization=dubbo.io&owner=&pid=4604&provided-by=&reference.filter=cshutdown&registry.role=0&registry.ttl=10m&release=2.7.7&remote.timestamp=1633767150140&retries=&side=provider&sticky=false&timeout=3000&timestamp=1633770867&version=!
2021-10-09T17:14:27.249+0800 DEBUG getty/getty_client.go:403 client new session:session {client:TCP_CLIENT:1:127.0.0.1:50665<->127.0.0.1:20010}, Read Bytes: 0, Write Bytes: 0, Read Pkgs: 0, Write Pkgs: 0

2021-10-09T17:14:27.249+0800 DEBUG getty/getty_client.go:423 add session{session {client:TCP_CLIENT:1:127.0.0.1:50665<->127.0.0.1:20010}, Read Bytes: 0, Write Bytes: 0, Read Pkgs: 0, Write Pkgs: 0}
2021-10-09T17:14:27.250+0800 DEBUG getty/getty_client.go:332 client init ok
2021-10-09T17:14:27.251+0800 INFO dubbo/dubbo_protocol.go:101 Refer service: dubbo://127.0.0.1:20010/org.apache.dubbo.UserProvider?anyhost=true&app.version=0.0.1&application=user-info-server&async=false&bean.name=UserProvider&cluster=failover&deprecated=false&dubbo=2.0.2&dynamic=true&environment=dev&generic=false&group=&interface=org.apache.dubbo.UserProvider&loadbalance=&methods=GetErr%2CGetUserMap%2CgetUser%2CCalc%2CSum%2CGetUsers%2CGetUser3%2CqueryAll%2CGetUser0%2CisLimit%2CqueryUser%2CGetUser&methods.GetUser.loadbalance=&methods.GetUser.retries=3&methods.GetUser.sticky=false&module=dubbo-go+user-info+client&name=UserInfoTest&organization=dubbo.io&owner=&pid=4604&provided-by=&reference.filter=cshutdown&registry.role=0&registry.ttl=10m&release=2.7.7&remote.timestamp=1633767150140&retries=&side=provider&sticky=false&timeout=3000&timestamp=1633770867&version=
2021-10-09T17:14:27.270+0800 DEBUG registry/base_registry.go:386 consumer path:/dubbo/org.apache.dubbo.UserProvider/consumers, url:consumer://192.168.53.9/org.apache.dubbo.UserProvider?app.version=0.0.1&application=UserInfoTest&async=false&bean.name=UserProvider&cluster=failover&environment=dev&generic=false&group=&interface=org.apache.dubbo.UserProvider&ip=192.168.53.9&loadbalance=&methods.GetUser.loadbalance=&methods.GetUser.retries=3&methods.GetUser.sticky=false&module=dubbo-go user-info client&name=UserInfoTest&organization=dubbo.io&owner=&pid=6952&protocol=dubbo&provided-by=&reference.filter=cshutdown&registry.role=0&release=dubbo-golang-1.5.7&retries=&side=consumer&sticky=false&timestamp=1633770867&version=
2021-10-09T17:14:27.292+0800 DEBUG registry/base_registry.go:163 (consumerRegistry)Register(conf{&common.URL{noCopy:common.noCopy{}, baseUrl:common.baseUrl{Protocol:"dubbo", Location:":", Ip:"", Port:"", PrimitiveURL:""}, paramsLock:sync.RWMutex{w:sync.Mutex{state:0, sema:0x0}, writerSem:0x0, readerSem:0x0, readerCount:0, readerWait:0}, params:url.Values{"app.version":[]string{"0.0.1"}, "application":[]string{"UserInfoTest"}, "async":[]string{"false"}, "bean.name":[]string{"UserProvider"}, "cluster":[]string{"failover"}, "environment":[]string{"dev"}, "generic":[]string{"false"}, "group":[]string{""}, "interface":[]string{"org.apache.dubbo.UserProvider"}, "loadbalance":[]string{""}, "methods.GetUser.loadbalance":[]string{""}, "methods.GetUser.retries":[]string{"3"}, "methods.GetUser.sticky":[]string{"false"}, "module":[]string{"dubbo-go user-info client"}, "name":[]string{"UserInfoTest"}, "organization":[]string{"dubbo.io"}, "owner":[]string{""}, "provided-by":[]string{""}, "reference.filter":[]string{"cshutdown"}, "registry.role":[]string{"0"}, "registry.ttl":[]string{"10m"}, "release":[]string{"dubbo-golang-1.5.7"}, "retries":[]string{""}, "side":[]string{"consumer"}, "sticky":[]string{"false"}, "timestamp":[]string{"1633770867"}, "version":[]string{""}}, Path:"/org.apache.dubbo.UserProvider", Username:"", Password:"", Methods:[]string(nil), SubURL:(*common.URL)(nil)}})
2021-10-09T17:14:27.293+0800 WARN extension/metadata_service.go:65 could not find the metadata service creator for metadataType: remote
2021-10-09T17:14:27.293+0800 DEBUG proxy/proxy.go:118 [Implement] reflect.TypeOf: <*pkg.UserProvider Value>
2021-10-09T17:14:27.293+0800 DEBUG proxy/proxy.go:261 set method [GetUsers]
2021-10-09T17:14:27.293+0800 DEBUG proxy/proxy.go:261 set method [GetErr]
2021-10-09T17:14:27.293+0800 DEBUG proxy/proxy.go:261 set method [GetUser]
2021-10-09T17:14:27.293+0800 DEBUG proxy/proxy.go:261 set method [GetUser0]
2021-10-09T17:14:27.293+0800 DEBUG proxy/proxy.go:261 set method [GetUser1]
2021-10-09T17:14:27.295+0800 DEBUG proxy/proxy.go:261 set method [getUser]
2021-10-09T17:14:27.295+0800 DEBUG proxy/proxy.go:261 set method [GetUser3]
2021-10-09T17:14:27.295+0800 DEBUG proxy/proxy.go:261 set method [GetGender]
2021-10-09T17:14:27.295+0800 DEBUG proxy/proxy.go:261 set method [Echo]
2021-10-09T17:14:27.295+0800 WARN config/config_loader.go:205 providerConfig is nil!
2021-10-09T17:14:32.246+0800 DEBUG [email protected]/session.go:376 localAddr: 127.0.0.1:50665, remoteAddr:127.0.0.1:20010, now:2021-10-09 17:14:32.24648 +0800 CST m=+5.113614493, length:17, err:
2021-10-09T17:14:32.273+0800 DEBUG dubbo/dubbo_codec.go:259 get rpc heartbeat response{header: impl.DubboHeader{SerialID:0x2, Type:12, ID:2, BodyLen:1, ResponseStatus:0x14}, body: }
2021-10-09T17:14:32.273+0800 DEBUG getty/listener.go:128 get rpc heartbeat response{&remoting.Response{ID:2, Version:"", SerialID:0x2, Status:0x14, Event:true, Error:error(nil), Result:interface {}(nil)}}

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff204a0c9e]

runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x7fff204a0c9e
stack: frame={sp:0x700001f69e58, fp:0x700001f69ea8} stack=[0x700001eea338,0x700001f69f38)
0x0000700001f69d58: 0x0100700001f69d78 0x0000000000000004
0x0000700001f69d68: 0x000000000000001f 0x00007fff204a0c9e
0x0000700001f69d78: 0x0b01dfacedebac1e 0x0000000000000001
0x0000700001f69d88: 0x000000000403b1f1 <runtime.throw+0x0000000000000071> 0x0000700001f69e28
0x0000700001f69d98: 0x000000000455bca0 0x0000700001f69de0
0x0000700001f69da8: 0x000000000403b4a8 <runtime.fatalthrow.func1+0x0000000000000048> 0x000000c0007821a0
0x0000700001f69db8: 0x0000000000000001 0x0000000000000001
0x0000700001f69dc8: 0x0000700001f69e28 0x000000000403b1f1 <runtime.throw+0x0000000000000071>
0x0000700001f69dd8: 0x000000c0007821a0 0x0000700001f69e18
0x0000700001f69de8: 0x000000000403b430 <runtime.fatalthrow+0x0000000000000050> 0x0000700001f69df8
0x0000700001f69df8: 0x000000000403b460 <runtime.fatalthrow.func1+0x0000000000000000> 0x000000c0007821a0
0x0000700001f69e08: 0x000000000403b1f1 <runtime.throw+0x0000000000000071> 0x0000700001f69e28
0x0000700001f69e18: 0x0000700001f69e48 0x000000000403b1f1 <runtime.throw+0x0000000000000071>
0x0000700001f69e28: 0x0000700001f69e30 0x000000000403b220 <runtime.throw.func1+0x0000000000000000>
0x0000700001f69e38: 0x00000000045641f8 0x000000000000002a
0x0000700001f69e48: 0x0000700001f69e98 0x0000000004050bb6 <runtime.sigpanic+0x0000000000000396>
0x0000700001f69e58: <0x00000000045641f8 0x0000700001f69e80
0x0000700001f69e68: 0x000000000404213a <runtime.wakep+0x000000000000005a> 0x0000000000000000
0x0000700001f69e78: 0x0000700001f69ea0 0x00000000040426af <runtime.execute+0x000000000000012f>
0x0000700001f69e88: 0x000000c0000001d8 0x0000000200000001
0x0000700001f69e98: 0x0000700001f69ee0 !0x00007fff204a0c9e
0x0000700001f69ea8: >0x0000700001f69ee0 0x0000000004914000
0x0000700001f69eb8: 0x0000000000000491 0x0000000004287b25 <golang.org/x/sys/unix.libc_ioctl_trampoline+0x0000000000000005>
0x0000700001f69ec8: 0x000000000406d93f <runtime.syscall+0x000000000000001f> 0x000000c0001c3d60
0x0000700001f69ed8: 0x000000000406d2ac <runtime.nanotime_trampoline+0x000000000000000c> 0x000000c0001c3d30
0x0000700001f69ee8: 0x000000000406b790 <runtime.asmcgocall+0x0000000000000070> 0x00000000040443ed <runtime.park_m+0x000000000000014d>
0x0000700001f69ef8: 0x000000c000103380 0x0000000400000002
0x0000700001f69f08: 0x000000c0007821a0 0x000000c000103380
0x0000700001f69f18: 0x00000000000002f8 0x000000c0000001a0
0x0000700001f69f28: 0x000000c000103380 0x0000700001f69f50
runtime.throw({0x45641f8, 0x700001f69e80})
/usr/local/opt/go/libexec/src/runtime/panic.go:1198 +0x71
runtime: unexpected return pc for runtime.sigpanic called from 0x7fff204a0c9e
stack: frame={sp:0x700001f69e58, fp:0x700001f69ea8} stack=[0x700001eea338,0x700001f69f38)
0x0000700001f69d58: 0x0100700001f69d78 0x0000000000000004
0x0000700001f69d68: 0x000000000000001f 0x00007fff204a0c9e
0x0000700001f69d78: 0x0b01dfacedebac1e 0x0000000000000001
0x0000700001f69d88: 0x000000000403b1f1 <runtime.throw+0x0000000000000071> 0x0000700001f69e28
0x0000700001f69d98: 0x000000000455bca0 0x0000700001f69de0
0x0000700001f69da8: 0x000000000403b4a8 <runtime.fatalthrow.func1+0x0000000000000048> 0x000000c0007821a0
0x0000700001f69db8: 0x0000000000000001 0x0000000000000001
0x0000700001f69dc8: 0x0000700001f69e28 0x000000000403b1f1 <runtime.throw+0x0000000000000071>
0x0000700001f69dd8: 0x000000c0007821a0 0x0000700001f69e18
0x0000700001f69de8: 0x000000000403b430 <runtime.fatalthrow+0x0000000000000050> 0x0000700001f69df8
0x0000700001f69df8: 0x000000000403b460 <runtime.fatalthrow.func1+0x0000000000000000> 0x000000c0007821a0
0x0000700001f69e08: 0x000000000403b1f1 <runtime.throw+0x0000000000000071> 0x0000700001f69e28
0x0000700001f69e18: 0x0000700001f69e48 0x000000000403b1f1 <runtime.throw+0x0000000000000071>
0x0000700001f69e28: 0x0000700001f69e30 0x000000000403b220 <runtime.throw.func1+0x0000000000000000>
0x0000700001f69e38: 0x00000000045641f8 0x000000000000002a
0x0000700001f69e48: 0x0000700001f69e98 0x0000000004050bb6 <runtime.sigpanic+0x0000000000000396>
0x0000700001f69e58: <0x00000000045641f8 0x0000700001f69e80
0x0000700001f69e68: 0x000000000404213a <runtime.wakep+0x000000000000005a> 0x0000000000000000
0x0000700001f69e78: 0x0000700001f69ea0 0x00000000040426af <runtime.execute+0x000000000000012f>
0x0000700001f69e88: 0x000000c0000001d8 0x0000000200000001
0x0000700001f69e98: 0x0000700001f69ee0 !0x00007fff204a0c9e
0x0000700001f69ea8: >0x0000700001f69ee0 0x0000000004914000
0x0000700001f69eb8: 0x0000000000000491 0x0000000004287b25 <golang.org/x/sys/unix.libc_ioctl_trampoline+0x0000000000000005>
0x0000700001f69ec8: 0x000000000406d93f <runtime.syscall+0x000000000000001f> 0x000000c0001c3d60
0x0000700001f69ed8: 0x000000000406d2ac <runtime.nanotime_trampoline+0x000000000000000c> 0x000000c0001c3d30
0x0000700001f69ee8: 0x000000000406b790 <runtime.asmcgocall+0x0000000000000070> 0x00000000040443ed <runtime.park_m+0x000000000000014d>
0x0000700001f69ef8: 0x000000c000103380 0x0000000400000002
0x0000700001f69f08: 0x000000c0007821a0 0x000000c000103380
0x0000700001f69f18: 0x00000000000002f8 0x000000c0000001a0
0x0000700001f69f28: 0x000000c000103380 0x0000700001f69f50
runtime.sigpanic()
/usr/local/opt/go/libexec/src/runtime/signal_unix.go:719 +0x396

goroutine 1 [syscall]:
syscall.syscall(0x4287b20, 0x1, 0x40487413, 0xc0001c3df0)
/usr/local/opt/go/libexec/src/runtime/sys_darwin.go:22 +0x3b fp=0xc0001c3d60 sp=0xc0001c3d40 pc=0x406835b
syscall.syscall(0xc0001c3de0, 0x4055a69, 0xc0001c3de0, 0x40ddc4a)
:1 +0x26 fp=0xc0001c3da8 sp=0xc0001c3d60 pc=0x406e146
golang.org/x/sys/unix.ioctl(0xc00023e000, 0xc0001c3e38, 0x40de105)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:691 +0x39 fp=0xc0001c3dd8 sp=0xc0001c3da8 pc=0x42877b9
golang.org/x/sys/unix.IoctlGetTermios(...)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/golang.org/x/[email protected]/unix/ioctl.go:72
github.com/mattn/go-isatty.IsTerminal(0x454e82c)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/mattn/[email protected]/isatty_bsd.go:10 +0x50 fp=0xc0001c3e48 sp=0xc0001c3dd8 pc=0x4450830
github.com/dubbogo/gost/log.CPrintfln({0x491453c, 0x5, 0xc0001c3f60}, {0x454e82c, 0x1}, {0x0, 0x400a9d9, 0x4007ff1})
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/log/color.go:81 +0xb9 fp=0xc0001c3f08 sp=0xc0001c3e48 pc=0x4451579
github.com/dubbogo/gost/log.CInfo(...)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/log/color.go:111
main.main()
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/src/github.com/dubbo-go-samples/general/dubbo/go-client/cmd/client.go:68 +0x1f5 fp=0xc0001c3f80 sp=0xc0001c3f08 pc=0x4451935
runtime.main()
/usr/local/opt/go/libexec/src/runtime/proc.go:255 +0x227 fp=0xc0001c3fe0 sp=0xc0001c3f80 pc=0x403d887
runtime.goexit()
/usr/local/opt/go/libexec/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0001c3fe8 sp=0xc0001c3fe0 pc=0x406ba81

goroutine 21 [select]:
github.com/dubbogo/gost/time.NewTimerWheel.func1()
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/time/timer.go:206 +0x118
created by github.com/dubbogo/gost/time.NewTimerWheel
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/time/timer.go:191 +0x18f

goroutine 22 [semacquire]:
sync.runtime_Semacquire(0x0)
/usr/local/opt/go/libexec/src/runtime/sema.go:56 +0x25
sync.(*WaitGroup).Wait(0xc00022f1e0)
/usr/local/opt/go/libexec/src/sync/waitgroup.go:130 +0x71
github.com/dubbogo/go-zookeeper/zk.(*Conn).loop(0xc00022f1e0)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/zk/conn.go:545 +0x3bc
github.com/dubbogo/go-zookeeper/zk.Connect.func1()
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/zk/conn.go:230 +0x25
created by github.com/dubbogo/go-zookeeper/zk.Connect
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/zk/conn.go:229 +0x545

goroutine 23 [chan receive]:
github.com/dubbogo/gost/database/kv/zk.(*DefaultHandler).HandleZkEvent(0x0, 0xc000220840)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/database/kv/zk/client.go:227 +0xa8
created by github.com/dubbogo/gost/database/kv/zk.(*ZookeeperClient).createZookeeperConn
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/database/kv/zk/client.go:165 +0x11a

goroutine 24 [select]:
github.com/apache/dubbo-go/remoting/zookeeper.HandleClientRestart({0x460bd70, 0xc000218510})
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/remoting/zookeeper/facade.go:48 +0x10c
created by github.com/apache/dubbo-go/registry/zookeeper.newZkRegistry
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/registry/zookeeper/registry.go:78 +0xfe

goroutine 25 [select]:
github.com/apache/dubbo-go/registry/zookeeper.(*RegistryConfigurationListener).Next(0xc00007e100)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/registry/zookeeper/listener.go:146 +0xea
github.com/apache/dubbo-go/registry.(*BaseRegistry).Subscribe(0xc000218510, 0x4578e70, {0x4601ad8, 0xc00023fa00})
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/registry/base_registry.go:421 +0x302
github.com/apache/dubbo-go/registry/directory.(*RegistryDirectory).subscribe(0xc00023fa00, 0xc000228480)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/registry/directory/directory.go:109 +0x18a
created by github.com/apache/dubbo-go/registry/directory.NewRegistryDirectory
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/registry/directory/directory.go:100 +0x45d

goroutine 5 [chan receive]:
github.com/dubbogo/gost/container/chan.(*UnboundedChan).run(0xc00000e030)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/container/chan/unbounded_chan.go:64 +0x8c
created by github.com/dubbogo/gost/container/chan.NewUnboundedChan
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/container/chan/unbounded_chan.go:39 +0x19b

goroutine 8 [select]:
github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).listenServiceNodeEvent(0xc000275a10, {0xc0000b6600, 0x1f5}, {0xc00006bf68, 0x1, 0xc00005af68})
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/remoting/zookeeper/listener.go:109 +0x2e5
github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).listenDirEvent.func1({0xc0000b6600, 0x1f5}, {0x45fa9e0, 0xc000248df8})
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/remoting/zookeeper/listener.go:322 +0x8a
created by github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).listenDirEvent
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/remoting/zookeeper/listener.go:320 +0x15a8

goroutine 7 [select]:
github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).listenDirEvent(0xc000275a10, 0xc000228480, {0xc000030090, 0x2e}, {0x45fa9e0, 0xc000248df8})
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/remoting/zookeeper/listener.go:350 +0x8c9
github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).ListenServiceEvent.func1({0xc000030090, 0x2e}, {0x45fa9e0, 0xc000248df8})
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/remoting/zookeeper/listener.go:392 +0x4b
created by github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).ListenServiceEvent
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/remoting/zookeeper/listener.go:391 +0x1b1

goroutine 50 [select]:
github.com/dubbogo/go-zookeeper/zk.(*Conn).sendLoop(0xc00022f1e0)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/zk/conn.go:804 +0x130
github.com/dubbogo/go-zookeeper/zk.(*Conn).loop.func1()
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/zk/conn.go:516 +0x5c
created by github.com/dubbogo/go-zookeeper/zk.(*Conn).loop
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/zk/conn.go:511 +0x31d

goroutine 51 [IO wait]:
internal/poll.runtime_pollWait(0x4fc8118, 0x72)
/usr/local/opt/go/libexec/src/runtime/netpoll.go:229 +0x89
internal/poll.(*pollDesc).wait(0xc000134080, 0xc000580000, 0x0)
/usr/local/opt/go/libexec/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
/usr/local/opt/go/libexec/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000134080, {0xc000580000, 0x4, 0x180000})
/usr/local/opt/go/libexec/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0xc000134080, {0xc000580000, 0xc000134080, 0xc050753ece2fb572})
/usr/local/opt/go/libexec/src/net/fd_posix.go:56 +0x29
net.(*conn).Read(0xc000506000, {0xc000580000, 0xc0000286a8, 0x4971b40})
/usr/local/opt/go/libexec/src/net/net.go:183 +0x45
io.ReadAtLeast({0xca55028, 0xc000506000}, {0xc000580000, 0x4, 0x180000}, 0x4)
/usr/local/opt/go/libexec/src/io/io.go:328 +0x9a
io.ReadFull(...)
/usr/local/opt/go/libexec/src/io/io.go:347
github.com/dubbogo/go-zookeeper/zk.(*Conn).recvLoop(0xc00022f1e0, {0x460d568, 0xc000506000})
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/zk/conn.go:839 +0x111
github.com/dubbogo/go-zookeeper/zk.(*Conn).loop.func2()
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/zk/conn.go:530 +0x67
created by github.com/dubbogo/go-zookeeper/zk.(*Conn).loop
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/zk/conn.go:525 +0x38f

goroutine 31 [IO wait]:
internal/poll.runtime_pollWait(0x4fc8030, 0x72)
/usr/local/opt/go/libexec/src/runtime/netpoll.go:229 +0x89
internal/poll.(*pollDesc).wait(0xc000134300, 0xc00007c000, 0x0)
/usr/local/opt/go/libexec/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
/usr/local/opt/go/libexec/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000134300, {0xc00007c000, 0x1000, 0x1000})
/usr/local/opt/go/libexec/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0xc000134300, {0xc00007c000, 0x4d013c8, 0x4971b40})
/usr/local/opt/go/libexec/src/net/fd_posix.go:56 +0x29
net.(*conn).Read(0xc00019c020, {0xc00007c000, 0xc000537d30, 0x4971b40})
/usr/local/opt/go/libexec/src/net/net.go:183 +0x45
github.com/apache/dubbo-getty.(*gettyTCPConn).recv(0xc000326000, {0xc00007c000, 0x1000, 0x1000})
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/connection.go:253 +0x1ba
github.com/apache/dubbo-getty.(*session).handleTCPPackage(0xc000328000)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/session.go:600 +0x167
github.com/apache/dubbo-getty.(*session).handlePackage(0x0)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/session.go:549 +0x9c
created by github.com/apache/dubbo-getty.(*session).run
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/session.go:503 +0x225

goroutine 32 [syscall]:
os/signal.signal_recv()
/usr/local/opt/go/libexec/src/runtime/sigqueue.go:166 +0x28
os/signal.loop()
/usr/local/opt/go/libexec/src/os/signal/signal_unix.go:24 +0x19
created by os/signal.Notify.func1.1
/usr/local/opt/go/libexec/src/os/signal/signal.go:151 +0x2c

goroutine 33 [chan receive]:
github.com/apache/dubbo-go/config.GracefulShutdownInit.func1()
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/config/graceful_shutdown.go:65 +0x2c
created by github.com/apache/dubbo-go/config.GracefulShutdownInit
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/apache/[email protected]/config/graceful_shutdown.go:63 +0x8f

goroutine 37 [chan receive]:
github.com/dubbogo/gost/sync.(*taskPoolSimple).worker(0xc0000a2b40, 0x0)
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/sync/task_pool.go:304 +0x96
created by github.com/dubbogo/gost/sync.(*taskPoolSimple).AddTaskAlways
/Users/fanyuelei/Documents/WorkSpace/GolandProjects/pkg/mod/github.com/dubbogo/[email protected]/sync/task_pool.go:287 +0x148

Process finished with the exit code 2

dubbo-go generic client 3.0.4

2023-09-04 16:05:40 INFO zookeeper/client.go:53 [Zookeeper Client] New zookeeper client with name = 127.0.0.1:2181, zkAddress = 127.0.0.1:2181, timeout = 5s
2023/09/04 16:05:40 Connected to 127.0.0.1:2181
2023/09/04 16:05:40 Connected to 127.0.0.1:2181
2023/09/04 16:05:40 Authenticated: id=72057935878946844, timeout=5000
2023/09/04 16:05:40 Re-submitting 0 credentials after reconnect
2023/09/04 16:05:40 Authenticated: id=72057935878946843, timeout=5000
2023/09/04 16:05:40 Re-submitting 0 credentials after reconnect
2023-09-04 16:05:40 ERROR zookeeper/service_discovery.go:177 [zkServiceDiscovery] Could not query the instances for service{dubbo.io}, error = err{Error while invoking zk.Children(path:/services/dubbo.io), the reason maybe is: : zk: node does not exist}
2023-09-04 16:05:40 WARN tag/router.go:52 [tag router] invokers from previous router is empty
2023-09-04 16:05:40 WARN proxy/proxy.go:212 [CallProxy] received rpc err: Failed to invoke the method $invoke. No provider available for the service dubbo://:@:/?interface=org.apache.dubbo.samples.UserProvider&group=&version= from registry service-discovery-registry://127.0.0.1:2181?registry=zookeeper&registry.group=&registry.label=true&registry.namespace=&registry.preferred=false&registry.role=0&registry.timeout=5s&registry.ttl=15m&registry.weight=0&registry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false on the consumer 172.17.51.111 using the dubbo version 3.0.4 .Please check if the providers have been started and registered.
panic: Failed to invoke the method $invoke. No provider available for the service dubbo://:@:/?interface=org.apache.dubbo.samples.UserProvider&group=&version= from registry service-discovery-registry://127.0.0.1:2181?registry=zookeeper&registry.group=&registry.label=true&registry.namespace=&registry.preferred=false&registry.role=0&registry.timeout=5s&registry.ttl=15m&registry.weight=0&registry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false on the consumer 172.17.51.111 using the dubbo version 3.0.4 .Please check if the providers have been started and registered.

goroutine 1 [running]:
dubbo-go-client/client_dubbo.callGetUser({0xc0003ee280, {0x1a4385f, 0x8}, {0x1a7c2af, 0x25}, 0xc0007050d8, {0x0, 0x0}, {0x0, 0x0}, ...})
C:/Users/xiaoyj/go/dubbo-go-client/client_dubbo/client.go:73 +0x625
dubbo-go-client/client_dubbo.Call()
C:/Users/xiaoyj/go/dubbo-go-client/client_dubbo/client.go:44 +0xc5
main.main()
C:/Users/xiaoyj/go/dubbo-go-client/main.go:9 +0x17
exit status 2

这里启用了示例中的 java 的服务端 尝试用java 示例中客户端可以正常调用,但是用go 客户端就出现这个问题

如何配置accesslog

如何配置accesslog,现在打印出来只有一点点日志
provider:
services:
IdentityServiceProvider:
accesslog: "true"
interface: com.eagleyun.cis.IdentityServiceProvider

2023-06-28T20:47:14.438+0800 INFO [] -> - () <*api.GetUsersRequest Value>

Why call the `hessian.RegisterPOJO(&User{})` twice

I have a doubt, why the function is called twice in the go-server pkg, is it necessary ?
for example:
helloworld/go-server/cmd/server.go

func main() {
>	hessian.RegisterPOJO(&pkg.User{})
	config.Load()

	initSignal()
}

but in the helloworld/pkg/user.go

func init() {
	config.SetProviderService(new(UserProvider))
	// ------for hessian2------
>	hessian.RegisterPOJO(&User{})
}

Error when building dubbo-go-samples/helloworld/java-client

Step to reproduce:

cd dubbo-go-samples/helloworld/java-client
./build.sh

Result:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
[INFO] 2 errors

Enviroment:
MAC OS 11.0.1

registry/servicediscovery/nacos/go-client运行异常

registry/servicediscovery/nacos/go-client/cmd/client.goimage2021/08/04 22:21:42 [INFO] logDir:</private/var/folders/nl/jg7kstxn7r78khdhh_24x0100000gn/T/log> cacheDir:</private/var/folders/nl/jg7kstxn7r78khdhh_24x0100000gn/T/cache>
2021-08-04T22:21:42.196+0800 WARN config/config_loader.go:193 providerConfig is nil!
github.com/apache/dubbo-go/config.loadProviderConfig
/Users/watson/code/golang/projects/pkg/mod/github.com/apache/[email protected]/config/config_loader.go:193
github.com/apache/dubbo-go/config.Load
/Users/watson/code/golang/projects/pkg/mod/github.com/apache/[email protected]/config/config_loader.go:357
main.main
/Users/watson/Documents/GitHub/dubbo-go-samples/registry/servicediscovery/nacos/go-client/cmd/client.go:60
runtime.main
/usr/local/Cellar/go/1.15.5/libexec/src/runtime/proc.go:204
[2021-08-04/22:21:50 main.main: client.go: 63] %s

start to test dubbopanic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x47290ff]

goroutine 1 [running]:
main.main()
/Users/watson/Documents/GitHub/dubbo-go-samples/registry/servicediscovery/nacos/go-client/cmd/client.go:65 +0x13f

Process finished with exit code 2

The integrated test of polaris/registry fails

After #569 merged, the Polaris-related tests still have some issues here, see: https://github.com/apache/dubbo-go/actions/runs/4786405922/jobs/9010828896?pr=2304.

It seems that the client obtained a wrong IP address of the service, so that the address can't be dialed by the client.

>  Starting application registry, output is redirected to /home/runner/work/dubbo-go/dubbo-go/samples/polaris/registry/go-server/dist/linux_amd64/release/registry.log
/home/runner/work/dubbo-go/dubbo-go/samples/polaris/registry/go-server/dist/linux_amd64/release/registry
  >  PID: 31597
>  Running integration test for application /home/runner/work/dubbo-go/dubbo-go/samples/integrate_test/polaris/registry
2023-05-19T13:37:52.853Z	INFO	config/config_loader_options.go:201	The following profiles are active: default
2023-05-19T13:37:52.854Z	INFO	config/root_config.go:138	[Config Center] Config center doesn't start
2023-05-19T13:37:52.855Z	INFO	instance/registry_metadata_report.go:69	Metadata of type polaris not registered.
2023-05-19T13:37:54.103Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
2023-05-19T13:37:54.604Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
2023-05-19T13:37:55.105Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
2023-05-19T13:37:55.614Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
2023-05-19T13:37:56.124Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
2023-05-19T13:37:56.635Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
2023-05-19T13:37:57.135Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
2023-05-19T13:37:57.145Z	ERROR	getty/getty_client.go:177	try to connect server 10.1.0.116:44721 failed for : failed to create client connection to 10.1.0.116:44721 in 3s
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*Client).Connect
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/remoting/getty/getty_client.go:177
dubbo.apache.org/dubbo-go/v3/remoting.(*ExchangeClient).doInit
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/remoting/exchange_client.go:87
dubbo.apache.org/dubbo-go/v3/remoting.NewExchangeClient
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/remoting/exchange_client.go:75
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.getExchangeClient.func1
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/protocol/dubbo/dubbo_protocol.go:201
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.getExchangeClient
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/protocol/dubbo/dubbo_protocol.go:209
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboProtocol).Refer
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/protocol/dubbo/dubbo_protocol.go:92
dubbo.apache.org/dubbo-go/v3/metadata/service/local.createProxy
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/metadata/service/local/metadata_service_proxy_factory.go:69
dubbo.apache.org/dubbo-go/v3/metadata/service.(*BaseMetadataServiceProxyFactory).GetProxy
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/metadata/service/local_service.go:119
dubbo.apache.org/dubbo-go/v3/registry/servicediscovery.GetMetadataInfo
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/registry/servicediscovery/service_instances_changed_listener_impl.go:209
dubbo.apache.org/dubbo-go/v3/registry/servicediscovery.(*ServiceDiscoveryRegistry).LoadSubscribeInstances
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/registry/servicediscovery/service_discovery_registry.go:271
dubbo.apache.org/dubbo-go/v3/registry/directory.NewRegistryDirectory
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/registry/directory/directory.go:97
dubbo.apache.org/dubbo-go/v3/common/extension.GetDefaultRegistryDirectory
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/common/extension/registry_directory.go:40
dubbo.apache.org/dubbo-go/v3/registry/protocol.(*registryProtocol).Refer
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/registry/protocol/protocol.go:152
dubbo.apache.org/dubbo-go/v3/config.(*ReferenceConfig).Refer
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/config/reference_config.go:238
dubbo.apache.org/dubbo-go/v3/config.(*ConsumerConfig).Load
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/config/consumer_config.go:132
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Start.func1
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/config/root_config.go:212
sync.(*Once).doSlow
	/opt/hostedtoolcache/go/1.17.13/x64/src/sync/once.go:68
sync.(*Once).Do
	/opt/hostedtoolcache/go/1.17.13/x64/src/sync/once.go:59
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Start
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/config/root_config.go:210
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Init
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/config/root_config.go:205
dubbo.apache.org/dubbo-go/v3/config.Load
	/home/runner/go/pkg/mod/github.com/wudong5/dubbo-go/[email protected]/config/config_loader.go:59
github.com/apache/dubbo-go-samples/integrate_test/polaris/registry/tests/integration.TestMain
	/home/runner/work/dubbo-go/dubbo-go/samples/integrate_test/polaris/registry/tests/integration/main_test.go:60
main.main
	_testmain.go:45
runtime.main
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:255
2023-05-19T13:37:57.246Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
2023-05-19T13:37:57.744Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
2023-05-19T13:37:57.944Z	WARN	[email protected]/client.go:419	client{peer:10.1.0.116:44721} goroutine exit now.
2023-05-19T13:37:58.244Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit
	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
2023-05-19T13:37:58.745Z	INFO	[email protected]/client.go:346	net.DialTimeout(addr:10.1.0.116:44721, timeout:3e+09) = error:dial tcp 10.1.0.116:44721: connect: connection refused
github.com/apache/dubbo-getty.(*client).dialTCP
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:173
github.com/apache/dubbo-getty.(*client).dial
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:346
github.com/apache/dubbo-getty.(*client).connect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:384
github.com/apache/dubbo-getty.(*client).reConnect
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:441
github.com/apache/dubbo-getty.(*client).RunEventLoop
	/home/runner/go/pkg/mod/github.com/apache/[email protected]/client.go:419
runtime.goexit

bug: seata-golang 里使用的 dubbo-getty 版本与 dubbo-go 使用的 dubbo-getty 版本不一致

在使用seata模块的时候会报错,报错内容为:

# github.com/transaction-wg/seata-golang/pkg/client/rpc_client
...\github.com\transaction-wg\s[email protected]\pkg\client\rpc_client\rpc_remoting_client.go:210:6: assignment mismatch: 1 variable but session.WritePkg returns 3 values
...\github.com\transaction-wg\s[email protected]\pkg\client\rpc_client\rpc_remoting_client.go:273:6: assignment mismatch: 1 variable but session.WritePkg returns 3 values

报错原因是seata-golang里使用的dubbo-getty版本较低,
[email protected]以上的版本中dubbo-getty使用的是v1.4.3,
[email protected]使用的是[email protected]
[email protected] 中是 WritePkg(pkg interface{}, timeout time.Duration) (totalBytesLength int, sendBytesLength int, err error),
而 在dubbo-getty v1.4.2 中是 WritePkg(pkg interface{}, timeout time.Duration) err error ,
返回的参数数量不同,所以导致了最上面的错误,请修复一下 seata-golang 的内容

context deadline exceeded

环境:win11|GoLand 2021.3|go1.17.1.windows-amd64
现象: context deadline exceeded
启动helloworld包下的go-server(正常启动),然后在java-client包下执行sh run.sh 正常,客户端正常相应;
but,启动go-client包下的go-client 失败:

GOROOT=D:\devPrograms\go1.17.1.windows-amd64\go #gosetup
GOPATH=C:\Users\Administrator\go #gosetup
D:\devPrograms\go1.17.1.windows-amd64\go\bin\go.exe build -o C:\Users\Administrator\AppData\Local\Temp\GoLand___helloworld_go_client.exe github.com/apache/dubbo-go-samples/helloworld/go-client/cmd #gosetup
C:\Users\Administrator\AppData\Local\Temp\GoLand___helloworld_go_client.exe
2022-02-01T17:43:08.143+0800 INFO config/root_config.go:159 [Config Center] Config center doesn't start
2022-02-01T17:43:08.144+0800 INFO zookeeper/registry.go:72 [Zookeeper Registry] New zookeeper registry with url map[host:192.168.5.104 port:52181 protocol:zookeeper registry:zookeeper registry.group: registry.label:true registry.namespace: registry.preferred:false registry.role:0 registry.timeout:3000s registry.ttl:10s registry.weight:0 registry.zone: simplified:false]
2022-02-01T17:43:08.144+0800 INFO zookeeper/client.go:55 [Zookeeper Client] New zookeeper client with name = 192.168.5.104:52181, zkAddress = 192.168.5.104:52181, timeout = 10s
2022-02-01T17:43:08.144+0800 INFO v3router/router_chain.go:55 [NewUniformRouterChain] Config center does not start, please check if the configuration center has been properly configured in dubbogo.yml
&pid=21664&registry=zookeeper&registry.role=3&release=dubbo-golang-3.0.0&service.filter=echo%2Cmetrics%2Ctoken%2Caccesslog%2Ctps%2Cgeneric_service%2Cexecute%2Cpshutdown&side=provider&timestamp=1643708411}
2022-02-01T17:43:08.214+0800 INFO dubbo3/dubbo3_protocol.go:141 [Triple Protocol] Refer service: tri://192.168.5.103:20000/com.apache.dubbo.sample.basic.IGreeter?anyhost=true&app.version=3.0.0&application=dubbo.io&async=false&bean.name=GreeterProvider&cluster=failover&config.tracing=&environment=dev&export=true&generic=&group=&interface=com.apache.dubbo.sample.basic.IGreeter&loadbalance=random&message_size=4&metadata-type=local&methods=SayHello%2CSayHelloStream&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&pid=21664&provided-by=&reference.filter=cshutdown&registry=zookeeper&registry.role=3&registry.ttl=10s&release=dubbo-golang-3.0.0&remote.timestamp=1643708411&retries=&serialization=&service.filter=echo%2Cmetrics%2Ctoken%2Caccesslog%2Ctps%2Cgeneric_service%2Cexecute%2Cpshutdown&side=provider&sticky=false&timestamp=1643708588&version=
2022-02-01T17:43:08.225+0800 INFO zookeeper/registry.go:223 [Zookeeper Registry] Registry instance with root = /dubbo/com.apache.dubbo.sample.basic.IGreeter/consumers, node = consumer%3A%2F%2F192.168.5.103%2Fcom.apache.dubbo.sample.basic.IGreeter%3Fapp.version%3D3.0.0%26application%3Ddubbo.io%26async%3Dfalse%26bean.name%3DGreeterClientImpl%26cluster%3Dfailover%26config.tracing%3D%26environment%3Ddev%26generic%3D%26group%3D%26interface%3Dcom.apache.dubbo.sample.basic.IGreeter%26loadbalance%3D%26metadata-type%3Dlocal%26module%3Dsample%26name%3Ddubbo.io%26organization%3Ddubbo-go%26owner%3Ddubbo-go%26protocol%3Dtri%26provided-by%3D%26reference.filter%3Dcshutdown%26registry.role%3D0%26release%3Ddubbo-golang-3.0.0%26retries%3D%26serialization%3D%26side%3Dconsumer%26sticky%3Dfalse%26timestamp%3D1643708588%26version%3D
2022-02-01T17:43:08.296+0800 INFO cmd/client.go:43 start to test dubbo
2022-02-01T17:43:14.314+0800 WARN proxy/proxy.go:210 [CallProxy] received rpc err: Failed to invoke the method SayHello in the service com.apache.dubbo.sample.basic.IGreeter. Tried 1 times of the providers [tri://:@192.168.5.103:20000/?interface=com.apache.dubbo.sample.basic.IGreeter&group=&version= tri://:@192.168.5.103:20000/?interface=com.apache.dubbo.sample.basic.IGreeter&group=&version=] (2/1)from the registry zookeeper://192.168.5.104:52181?registry=zookeeper&registry.group=&registry.label=true&registry.namespace=&registry.preferred=false&registry.role=0&registry.timeout=3000s&registry.ttl=10s&registry.weight=0&registry.zone=&simplified=false on the consumer 192.168.5.103 using the dubbo version 3.0.0. Last error is context deadline exceeded.: context deadline exceeded
2022-02-01T17:43:14.314+0800 ERROR cmd/client.go:49 context deadline exceeded
main.main
C:/Users/Administrator/GolandProjects/dubbo-go-samples/helloworld/go-client/cmd/client.go:49
runtime.main
D:/devPrograms/go1.17.1.windows-amd64/go/src/runtime/proc.go:255
2022-02-01T17:43:14.314+0800 INFO cmd/client.go:51 client response result:

Process finished with the exit code 0

/bin/zsh下for循环错误

watson@watsondeMacBook-Pro dubbo-go-samples % /bin/zsh /Users/watson/Documents/GitHub/dubbo-go-samples/start_integrate_test.sh
/Users/watson/Documents/GitHub/dubbo-go-samples/start_integrate_test.sh:88: parse error near `)'
watson@watsondeMacBook-Pro dubbo-go-samples %

protoc-gen-dubbo not found

samples:

rpc/grpc/

go get -u dubbo.apache.org/dubbo-go/v3/protocol/grpc/protoc-gen-dubbo

output:
go get: module dubbo.apache.org/dubbo-go/v3@upgrade found (v3.0.0), but does not contain package dubbo.apache.org/dubbo-go/v3/protocol/grpc/protoc-gen-dubbo

Update the contents of the HOWTO README

Inside the HOWTO.md guide, the
make -f .. /.. /build/Makefile docker-up command does not correspond to the corresponding directory, and .. /build/makefile operation returns a folder under attachment, so I think we should use the absolute path like make -f ../ /xxx/xxx/dobbo-go samles/build/Makefile docker-up

Java的server和client之间可以相互通信,go的server和client之间可以相互通信; 用dubbo-go-samples的go-lient连接里面的java-server时候报错:Failed to check the status of the service org.apache.dubbo.UserProvider. No provider available for the service to the consumer use dubbo version 1.3.0

Java的server和client之间可以相互通信,go的server和client之间可以相互通信;
用dubbo-go-samples的go-lient连接里面的java-server时候报错:Failed to check the status of the service org.apache.dubbo.UserProvider. No provider available for the service to the consumer use dubbo version 1.3.0

详细错误:
2021-03-09T18:13:13.766+0800 DEBUG zookeeper/client.go:333 after zkClient{zk registry} unregister event{path:/dubbo/org.apache.dubbo.UserProvider/providers, event:0xc000238000}, array length 0
2021-03-09T18:13:13.771+0800 INFO zookeeper/listener.go:227 listenDirEvent(path{/dubbo/org.apache.dubbo.UserProvider/providers}) = error{has none children}
2021-03-09T18:13:13.772+0800 DEBUG zookeeper/client.go:312 zkClient{zk registry} register event{path:/dubbo/org.apache.dubbo.UserProvider/providers, ptr:0xc000238000}
2021-03-09T18:13:13.846+0800 ERROR config/config_loader.go:155 Failed to check the status of the service org.apache.dubbo.UserProvider. No provider available for the service to the consumer use dubbo version 1.3.0
github.com/apache/dubbo-go/config.loadConsumerConfig
/Users//goCode/pkg/mod/github.com/apache/[email protected]/config/config_loader.go:155
github.com/apache/dubbo-go/config.Load
/Users/goCode/pkg/mod/github.com/apache/[email protected]/config/config_loader.go:324
main.main
/Users//goCode/dubbo-go-samples/helloworld/go-client/cmd/client.go:50
runtime.main
/usr/local/go/src/runtime/proc.go:204
panic: Failed to check the status of the service org.apache.dubbo.UserProvider. No provider available for the service to the consumer use dubbo version 1.3.0

goroutine 1 [running]:
github.com/apache/dubbo-go/config.loadConsumerConfig()
/Users/goCode/pkg/mod/github.com/apache/[email protected]/config/config_loader.go:156 +0xc8d
github.com/apache/dubbo-go/config.Load()
/Users/goCode/pkg/mod/github.com/apache/[email protected]/config/config_loader.go:324 +0x13a
main.main()
/Users/goCode/dubbo-go-samples/helloworld/go-client/cmd/client.go:50 +0x4a
exit status 2

go.mod为:
go 1.15

require (
github.com/apache/dubbo-go v1.5.5
github.com/apache/dubbo-go-hessian2 v1.8.2
github.com/apache/dubbo-go-samples v1.5.5-rc1
github.com/dubbogo/gost v1.9.5
)

这里github.com/dubbogo/gost 有个问题,最新的v1.10.5没有gost/page;用v1.9.5的版本才可以。

代码样例没有做修改,就是自己启动了一个zk;
请问是不是版本的依赖的问题,或者go-client和java-server的配置问题?谢谢

error when running the basic helloworld

i,ll running zookeeper as docker-compose and running the basic helloworld demo.i donn`t edit any config file and just do anything as docs said.The server can running success but when i seed siginal and rerun the go-server then execute error.When i wana running go-client then said "providerConfig is nil!" and go-client exit. I'll check zookeeper and found provider was success registry to zk and consumer wasn't success registry. I check "dist/linux_amd64/release/go-client.log" found some param was set null,contains:
?app.version=0.0.1&application=UserInfoClient&async=false&bean.name=UserProvider
&cluster=failover&environment=dev&generic=false
&group=
&interface=org.apache.dubbo.UserProvider
&ip=x.x.x.x
&loadbalance=
&methods.GetUser.loadbalance=
&methods.GetUser.retries=3
&methods.GetUser.sticky=false
&module=dubbo-go user-info client
&name=UserInfoClient&organization=dubbo.io
&owner=
&pid=11218&protocol=dubbo
&provided-by=
&reference.filter=cshutdown
&registry.role=0&release=dubbo-golang-1.3.0
&retries=
&side=consumer
&sticky=false&timestamp=1607913567
&version=
then i fix some param but another is still null and running exit,can everybody fix that problem?
i run at go-1.13.12
dubbo-go-samples 1.5.5 at 2020/12/14

generic用nacos注册中心,client调用不了

问题描述:
用的官方demo中的generic的demo(dubbo-go-samples/generic/default/);
server启动正常,nacos注册也看到了服务,元数据也正常;
client启动调用失败,报错信息见最后;

操作系统:
Linux version 3.10.0-1160.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Mon Oct 19 16:18:59 UTC 2020

golang版本:
go version go1.16.7 linux/amd64

demo的git提交ID:
SHA-1: f0d1e10

修改server配置如下:
dubbo: registries: nacos: protocol: nacos timeout: 3s address: 192.168.1.202:8848 username: nacos password: 11111111111111111 group: GROUP_TEST # nacos group, default is DEFAULT_GROUP protocols: dubbo: name: dubbo port: 20000 triple: name: tri port: 20001 provider: registry-ids: nacos services: UserProvider: serialization: hessian2 interface: org.apache.dubbo.samples.UserProvider UserProviderTriple: serialization: hessian2 interface: org.apache.dubbo.samples.UserProviderTriple

修改client配置如下:
`
func newRefConf(iface, protocol string) config.ReferenceConfig {
registryConfig := &config.RegistryConfig{
Protocol: "nacos",
Address: "192.168.1.202:8848",
Username: "nacos",
Password: "11111111111111111 ",
Group: "GROUP_TEST",
}

refConf := config.ReferenceConfig{
	InterfaceName: iface,
	Cluster:       "failover",
	RegistryIDs:   []string{"nacosTest"},
	Protocol:      protocol,
	Generic:       "true",
}

rootConfig := config.NewRootConfigBuilder().
	AddRegistry("nacosTest", registryConfig).
	Build()
if err := config.Load(config.WithRootConfig(rootConfig)); err != nil {
	panic(err)
}
_ = refConf.Init(rootConfig)
refConf.GenericLoad(appName)

return refConf

}
`

client报错,运行日志如下(dubbo-go-samples/generic/default/下运行):
[root@localhost go-client]# go run ./cmd/client.go
2022-04-28T14:35:26.628+0800 INFO config/root_config.go:153 [Config Center] Config center doesn't start
2022-04-28T14:35:26.629+0800 INFO nacos/registry.go:270 [Nacos Registry] New nacos registry with url = map[host:192.168.1.202 password:11111111111111111 port:8848 protocol:nacos registry:nacos registry.group:GROUP_TEST registry.label:true registry.namespace: registry.preferred:false registry.role:0 registry.timeout:5s registry.ttl:10s registry.weight:0 registry.zone: remote-client-name:dubbo.registries-nacos-192.168.1.202:8848 simplified:false username:nacos]
2022-04-28T14:35:26.629+0800 INFO nacos/builder.go:138 [Nacos Client] New nacos client with config = [{Scheme: ContextPath: IpAddr:192.168.1.202 Port:8848}]
2022-04-28T14:35:26.629+0800 INFO nacos_client/nacos_client.go:79 logDir:</www/wwwroot/project/dubbo/demo/dubbo-go-samples/generic/default/go-client/log> cacheDir:</www/wwwroot/project/dubbo/demo/dubbo-go-samples/generic/default/go-client/cache>
2022-04-28T14:35:26.742+0800 INFO naming_client/push_receiver.go:80 udp server start, port: 55476
2022-04-28T14:35:26.743+0800 INFO v3router/router_chain.go:55 [NewUniformRouterChain] Config center does not start, please check if the configuration center has been properly configured in dubbogo.yml
2022-04-28T14:35:26.743+0800 INFO nacos/registry.go:125 [Nacos Registry] Registry instance with param = {Ip:192.168.137.10 Port:80 Weight:1 Enable:true Healthy:true Metadata:map[app.version:3.0.0 application:dubbo.io async:false bean.name:dubbo.io cluster:failover config.tracing: environment:dev generic:true group: interface:org.apache.dubbo.samples.UserProvider loadbalance: metadata-type:local methods: module:sample nacos.category:consumers name:dubbo.io organization:dubbo-go owner:dubbo-go path:/org.apache.dubbo.samples.UserProvider protocol:dubbo provided-by: reference.filter:generic,cshutdown registry.role:0 release:dubbo-golang-3.0.0 retries: serialization: side:consumer sticky:false timestamp:1651127726 version:] ClusterName: ServiceName:consumers:org.apache.dubbo.samples.UserProvider:: GroupName:GROUP_TEST Ephemeral:true}
2022-04-28T14:35:26.743+0800 INFO naming_client/naming_proxy.go:54 register instance namespaceId:<>,serviceName:<GROUP_TEST@@Consumers:org.apache.dubbo.samples.UserProvider::> with instance:<{"valid":false,"marked":false,"instanceId":"","port":80,"ip":"192.168.137.10","weight":1,"metadata":{"app.version":"3.0.0","application":"dubbo.io","async":"false","bean.name":"dubbo.io","cluster":"failover","config.tracing":"","environment":"dev","generic":"true","group":"","interface":"org.apache.dubbo.samples.UserProvider","loadbalance":"","metadata-type":"local","methods":"","module":"sample","nacos.category":"consumers","name":"dubbo.io","organization":"dubbo-go","owner":"dubbo-go","path":"/org.apache.dubbo.samples.UserProvider","protocol":"dubbo","provided-by":"","reference.filter":"generic,cshutdown","registry.role":"0","release":"dubbo-golang-3.0.0","retries":"","serialization":"","side":"consumer","sticky":"false","timestamp":"1651127726","version":""},"clusterName":"","serviceName":"","enabled":true,"healthy":true,"ephemeral":true}>
2022-04-28T14:35:26.743+0800 INFO naming_client/subscribe_callback.go:39 adding GROUP_TEST@@providers:org.apache.dubbo.samples.UserProvider:: with to listener map
2022-04-28T14:35:26.743+0800 INFO util/common.go:94 Local IP:192.168.137.10
2022-04-28T14:35:26.772+0800 INFO naming_client/beat_reactor.go:68 adding beat: <{"ip":"192.168.137.10","port":80,"weight":1,"serviceName":"GROUP_TEST@@Consumers:org.apache.dubbo.samples.UserProvider::","cluster":"","metadata":{"app.version":"3.0.0","application":"dubbo.io","async":"false","bean.name":"dubbo.io","cluster":"failover","config.tracing":"","environment":"dev","generic":"true","group":"","interface":"org.apache.dubbo.samples.UserProvider","loadbalance":"","metadata-type":"local","methods":"","module":"sample","nacos.category":"consumers","name":"dubbo.io","organization":"dubbo-go","owner":"dubbo-go","path":"/org.apache.dubbo.samples.UserProvider","protocol":"dubbo","provided-by":"","reference.filter":"generic,cshutdown","registry.role":"0","release":"dubbo-golang-3.0.0","retries":"","serialization":"","side":"consumer","sticky":"false","timestamp":"1651127726","version":""},"scheduled":false}> to beat map
2022-04-28T14:35:26.772+0800 WARN proxy/proxy.go:210 [CallProxy] received rpc err: Failed to invoke the method $invoke. No provider available for the service dubbo://:@192.168.137.10:80/?interface=org.apache.dubbo.samples.UserProvider&group=&version= from registry nacos://nacos:[email protected]:8848?nacos.access=&nacos.group=GROUP_TEST&nacos.namespaceId=&nacos.password=11111111111111111&nacos.secret=&nacos.timeout=5s&nacos.username=nacos&registry=nacos&registry.group=GROUP_TEST&registry.label=true&registry.namespace=&registry.preferred=false&registry.role=0&registry.timeout=5s&registry.ttl=10s&registry.weight=0&registry.zone=&remote-client-name=dubbo.registries-nacos-192.168.1.202%3A8848&simplified=false on the consumer 192.168.137.10 using the dubbo version 3.0.0 .Please check if the providers have been started and registered.
panic: Failed to invoke the method $invoke. No provider available for the service dubbo://:@192.168.137.10:80/?interface=org.apache.dubbo.samples.UserProvider&group=&version= from registry nacos://nacos:[email protected]:8848?nacos.access=&nacos.group=GROUP_TEST&nacos.namespaceId=&nacos.password=11111111111111111&nacos.secret=&nacos.timeout=5s&nacos.username=nacos&registry=nacos&registry.group=GROUP_TEST&registry.label=true&registry.namespace=&registry.preferred=false&registry.role=0&registry.timeout=5s&registry.ttl=10s&registry.weight=0&registry.zone=&remote-client-name=dubbo.registries-nacos-192.168.1.202%3A8848&simplified=false on the consumer 192.168.137.10 using the dubbo version 3.0.0 .Please check if the providers have been started and registered.

goroutine 1 [running]:
main.callGetUser(0xc0002ae1e0, 0x177715b, 0x8, 0x17a14cc, 0x25, 0xc0001e8558, 0x0, 0x0, 0x0, 0x0, ...)
/www/wwwroot/project/dubbo/demo/dubbo-go-samples/generic/default/go-client/cmd/client.go:79 +0x8b3
main.main()
/www/wwwroot/project/dubbo/demo/dubbo-go-samples/generic/default/go-client/cmd/client.go:50 +0xd8

呈现多种案例形式

dubbo-go 虽然开源,但在国内应该还不够广泛,

  1. 文档不够清晰
  2. 案例不够全面
  3. 呈现的形式只有文档

希望完善 dubbo-go 教程,做到小白就能看懂和入门,比如 dubbo-cli 生成的目录及文件,没有解释详细作用和如何修改,生成的模板项目如何改造成微服务及如何运行、部署。希望能晚上文档或出教学视频。

Building failed using makefile on Debian 10

ifconfig is removed from Debian 10, there is an error occurred when trying to retrieve DOCKER_HOST_IP at line 29:

export DOCKER_HOST_IP = $(shell ifconfig en0 | grep inet | grep -v inet6 | awk '{print $$2}')

It could be fixed using hostname -I as alternate.

双向流模式 server 无法从 stream 的 context 中获取到 client attach 的数据

报错的测试代码是基于 samples 中 master 分支中的 context/triple/go-client 和 go-server示例 进行了修改。

修改后客户端代码:

package main

import (
	"context"
	"sync"
)

import (
	"dubbo.apache.org/dubbo-go/v3/common/constant"
	"dubbo.apache.org/dubbo-go/v3/common/logger"
	"dubbo.apache.org/dubbo-go/v3/config"
	_ "dubbo.apache.org/dubbo-go/v3/imports"
)

import (
	"github.com/apache/dubbo-go-samples/api"
)

var grpcGreeterImpl = new(api.GreeterClientImpl)

func init() {
	config.SetConsumerService(grpcGreeterImpl)
}

// export DUBBO_GO_CONFIG_PATH= PATH_TO_SAMPLES/helloworld/go-client/conf/dubbogo.yml
func main() {
	err := config.Load()
	if err != nil {
		panic(err)
	}

	logger.Info("start to test dubbo")
	ctx := context.Background()
	// set user defined context attachment, map value can be string or []string, otherwise it is not to be transferred
	userDefinedValueMap := make(map[string]interface{})
	userDefinedValueMap["key1"] = "user defined value 1"
	userDefinedValueMap["key2"] = "user defined value 2"
	userDefinedValueMap["key3"] = []string{"user defined value 3.1", "user defined value 3.2"}
	userDefinedValueMap["key4"] = []string{"user defined value 4.1", "user defined value 4.2"}
	ctx = context.WithValue(ctx, constant.AttachmentKey, userDefinedValueMap)
	//测试流式 rpc
	logger.Info("start to test dubbo stream context")
	request := &api.HelloRequest{
		Name: "laurence",
	}
	stream, err := grpcGreeterImpl.SayHelloStream(ctx)
	if err != nil {
		logger.Error(err)
	}
	var wg sync.WaitGroup
	wg.Add(1)
	go func() {
		defer wg.Done()
		reply, err := stream.Recv()
		if err != nil {
			logger.Error(err)
		}
		logger.Infof("client stream received result: %v\n", reply)
	}()
	err = stream.Send(request)
	if err != nil {
		logger.Error(err)
	}
	logger.Infof("client stream send request: %v\n", request)
	wg.Wait()
}

修改后服务端代码:

package main

import (
	"dubbo.apache.org/dubbo-go/v3/common/constant"
	"dubbo.apache.org/dubbo-go/v3/common/logger"
	"dubbo.apache.org/dubbo-go/v3/config"
	_ "dubbo.apache.org/dubbo-go/v3/imports"
)

import (
	"github.com/apache/dubbo-go-samples/api"
)

type GreeterProvider struct {
	api.UnimplementedGreeterServer
}

func (s *GreeterProvider) SayHelloStream(svr api.Greeter_SayHelloStreamServer) error {
	attachments := svr.Context().Value(constant.AttachmentKey).(map[string]interface{})
	logger.Infof("get triple attachment %v", attachments)
	c, err := svr.Recv()
	if err != nil {
		return err
	}
	logger.Infof("Dubbo-go3 GreeterProvider recv 1 user, name = %s\n", c.Name)
	err = svr.Send(&api.User{
		Name: "hello " + c.Name,
		Age:  18,
		Id:   "123456789",
	})
	if err != nil {
		return err
	}
	return nil
}

func main() {
	config.SetProviderService(&GreeterProvider{})
	if err := config.Load(); err != nil {
		panic(err)
	}
	select {}
}

现象描述:
客户端发送 rpc 请求后,服务端会 在 SayHelloStream 函数第一行 panic: interface conversion: interface {} is nil, not map[string]interface {}

update readme

pls add introduction for build/chain/config-api/context/docker/metric in readme.md.

There are no any integration test can be passed on MacOS 11

Because it found the wrong path.

excepted: .../go-server/dist...
actually: .../go-server/tests/dist...

Running integration test for application go-server
2020/12/05 17:39:00 [InitLog] warn: ioutil.ReadFile(file:dist/darwin_amd64/release/conf/log.yml) = error:open dist/darwin_amd64/release/conf/log.yml: no such file or directory
2020/12/05 17:39:00 [consumerInit] unmarshalYmlConfig error ioutil.ReadFile(file:dist/darwin_amd64/release/conf/client.yml) = error:open dist/darwin_amd64/release/conf/client.yml: no such file or directory

I will fix it.

Error occurred when running a servicediscovery sample in 3.0 branch

The sample I used is registry/servicediscovery/zookeeper, go-server works properly, go-client, however, throws errors listed at the below:

GOROOT=null #gosetup
GOPATH=null #gosetup
/usr/local/go/bin/go build -o /xxx/dubbo-go-samples/76YpkDiRvL/go_build_github_com_apache_dubbo_go_samples_registry_servicediscovery_zookeeper_go_client_cmd_linux -gcflags all=-N -l github.com/apache/dubbo-go-samples/registry/servicediscovery/zookeeper/go-client/cmd #gosetup
/xxx/dubbo-go-samples/L05T5BSLqu/dlv --listen=0.0.0.0:52376 --headless=true --api-version=2 --check-go-version=false --only-same-user=false exec /xxx/dubbo-go-samples/SfQ9d6zYFv/go_build_github_com_apache_dubbo_go_samples_registry_servicediscovery_zookeeper_go_client_cmd_linux -- #gosetup
API server listening at: [::]:52376
2021/06/08 17:38:50 [InitLog] warn: ioutil.ReadFile(file:../profiles/dev/log.yml) = error:open ../profiles/dev/log.yml: no such file or directory
2021-06-08T17:38:50.097+0800	DEBUG	config/consumer_config.go:121	consumer config{&config.ConsumerConfig{BaseConfig:config.BaseConfig{ConfigCenterConfig:(*config.ConfigCenterConfig)(nil), Remotes:map[string]*config.RemoteConfig{"zk1":(*config.RemoteConfig)(0xc0001aeba0)}, ServiceDiscoveries:map[string]*config.ServiceDiscoveryConfig{"zk-dis1":(*config.ServiceDiscoveryConfig)(0xc0001fc2a0)}, MetadataReportConfig:(*config.MetadataReportConfig)(0xc0001cce80), ApplicationConfig:(*config.ApplicationConfig)(0xc0001f8380), fatherConfig:interface {}(nil), EventDispatcherType:"direct", MetricConfig:(*config.MetricConfig)(nil), fileStream:(*bytes.Buffer)(0xc0001fc4b0), CacheFile:""}, configCenter:config.configCenter{}, Filter:"", Connect_Timeout:"3s", ConnectTimeout:3000000000, Registry:(*config.RegistryConfig)(nil), Registries:map[string]*config.RegistryConfig{"demoServiceDiscovery":(*config.RegistryConfig)(0xc0001d4e60)}, Request_Timeout:"3s", RequestTimeout:3000000000, ProxyFactory:"default", Check:(*bool)(0xc0001cebe8), References:map[string]*config.ReferenceConfig{"UserProvider":(*config.ReferenceConfig)(0xc000115340)}, ProtocolConf:map[interface {}]interface {}{"dubbo":map[interface {}]interface {}{"connection_number":1, "getty_session_param":map[interface {}]interface {}{"compress_encoding":false, "keep_alive_period":"120s", "max_msg_len":1024000, "pkg_rq_size":1024, "pkg_wq_size":512, "session_name":"client", "tcp_keep_alive":true, "tcp_no_delay":true, "tcp_r_buf_size":262144, "tcp_read_timeout":"1s", "tcp_w_buf_size":65536, "tcp_write_timeout":"5s", "wait_timeout":"1s"}, "heartbeat_period":"5s", "pool_size":64, "pool_ttl":600, "reconnect_interval":0, "session_timeout":"180s"}}, FilterConf:interface {}(nil), ShutdownConfig:(*config.ShutdownConfig)(nil), ConfigType:map[string]string(nil)}}

2021/06/08 17:38:50 [providerInit] unmarshalYmlConfig error ioutil.ReadFile(file:../profiles/dev/server.yml) = error:open ../profiles/dev/server.yml: no such file or directory
2021/06/08 17:38:50 Connected to 127.0.0.1:2181
2021-06-08T17:38:50.100+0800	DEBUG	directory/directory.go:76	new RegistryDirectory for service :service-discovery://:@:/?interface=org.apache.dubbo.UserProvider&group=&version=.
2021-06-08T17:38:50.101+0800	WARN	directory/directory.go:90	fail to create router chain with url: dubbo://:/org.apache.dubbo.UserProvider?app.version=0.0.1&application=UserInfoServer&async=false&bean.name=UserProvider&cluster=failover&environment=dev&generic=false&group=&interface=org.apache.dubbo.UserProvider&loadbalance=&methods.GetUser.loadbalance=&methods.GetUser.retries=3&methods.GetUser.sticky=false&module=dubbo-go+user-info+client&name=UserInfoServer&organization=dubbo.io&owner=&provided-by=&reference.filter=cshutdown&registry.role=0&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timestamp=1623145130&version=, err is: No routerFactory exits , create one please
2021-06-08T17:38:50.101+0800	DEBUG	servicediscovery/service_discovery_registry.go:201	The URL should not be register.%!(EXTRA string=dubbo://:/org.apache.dubbo.UserProvider?app.version=0.0.1&application=UserInfoServer&async=false&bean.name=UserProvider&cluster=failover&environment=dev&generic=false&group=&interface=org.apache.dubbo.UserProvider&loadbalance=&methods.GetUser.loadbalance=&methods.GetUser.retries=3&methods.GetUser.sticky=false&module=dubbo-go+user-info+client&name=UserInfoServer&organization=dubbo.io&owner=&provided-by=&reference.filter=cshutdown&registry.role=0&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timestamp=1623145130&version=)
2021-06-08T17:38:50.101+0800	DEBUG	proxy/proxy.go:116	[Implement] reflect.TypeOf: <*pkg.UserProvider Value>
2021-06-08T17:38:50.101+0800	DEBUG	proxy/proxy.go:259	set method [GetUser]
2021-06-08T17:38:50.103+0800	DEBUG	directory/directory.go:101	subscribe service :dubbo://:@:/?interface=org.apache.dubbo.UserProvider&group=&version= for RegistryDirectory.
2021-06-08T17:38:50.103+0800	DEBUG	servicediscovery/service_discovery_registry.go:201	The URL should not be register.%!(EXTRA string=dubbo://:/org.apache.dubbo.UserProvider?app.version=0.0.1&application=UserInfoServer&async=false&bean.name=UserProvider&cluster=failover&environment=dev&generic=false&group=&interface=org.apache.dubbo.UserProvider&loadbalance=&methods.GetUser.loadbalance=&methods.GetUser.retries=3&methods.GetUser.sticky=false&module=dubbo-go+user-info+client&name=UserInfoServer&organization=dubbo.io&owner=&provided-by=&reference.filter=cshutdown&registry.role=0&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timestamp=1623145130&version=)
2021-06-08T17:38:50.103+0800	INFO	delegate/delegate_report.go:180	store provider metadata. Identifier :&{ {org.apache.dubbo.UserProvider  dubbo consumer}} ; definition: map[app.version:0.0.1 application:UserInfoServer async:false bean.name:UserProvider cluster:failover environment:dev generic:false group: interface:org.apache.dubbo.UserProvider loadbalance: methods.GetUser.loadbalance: methods.GetUser.retries:3 methods.GetUser.sticky:false module:dubbo-go user-info client name:UserInfoServer organization:dubbo.io owner: provided-by: reference.filter:cshutdown registry.role:0 release:dubbo-golang-3.0.0 retries: serialization: side:consumer sticky:false timestamp:1623145130 version:] .
2021/06/08 17:38:50 Connected to 127.0.0.1:2181
2021-06-08T17:38:50.103+0800	DEBUG	inmemory/service.go:87	org.apache.dubbo.UserProvider
2021/06/08 17:38:50 Authenticated: id=72057719473569872, timeout=15000
2021/06/08 17:38:50 Re-submitting `0` credentials after reconnect
2021/06/08 17:38:50 Authenticated: id=72057719473569873, timeout=5000
2021/06/08 17:38:50 Re-submitting `0` credentials after reconnect
2021-06-08T17:38:50.116+0800	DEBUG	getty/pool.go:171	client new session:session {client:TCP_CLIENT:1:10.210.47.69:56952<->10.210.47.69:20001}, Read Bytes: 0, Write Bytes: 0, Read Pkgs: 0, Write Pkgs: 0

2021-06-08T17:38:50.116+0800	DEBUG	getty/pool.go:190	add session{session {client:TCP_CLIENT:1:10.210.47.69:56952<->10.210.47.69:20001}, Read Bytes: 0, Write Bytes: 0, Read Pkgs: 0, Write Pkgs: 0}
2021-06-08T17:38:50.118+0800	DEBUG	getty/pool.go:100	client init ok
2021-06-08T17:38:50.118+0800	INFO	dubbo/dubbo_protocol.go:99	Refer service: dubbo://10.210.47.69:20001/org.apache.dubbo.metadata.MetadataService?application=UserInfoServer&group=UserInfoServer&interface=org.apache.dubbo.metadata.MetadataService&port=20001&protocol=dubbo&release=dubbo-golang-3.0.0&timestamp=1623145114&version=1.0.0
2021-06-08T17:38:50.121+0800	DEBUG	[email protected]/session.go:388	localAddr: 10.210.47.69:56952, remoteAddr:10.210.47.69:20001, now:2021-06-08 17:38:50.119852513 +0800 CST m=+0.031864987, length:277, err:%!s(<nil>)
2021-06-08T17:38:50.122+0800	ERROR	dubbo/dubbo_codec.go:244	pkg.Unmarshal(len(@data):0) = error:decObject illegal object type tag:0
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:696
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:527
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:529
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:309
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:244
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
2021-06-08T17:38:50.123+0800	ERROR	getty/readwriter.go:60	pkg.Unmarshal(ss:&{name:client endPoint:0xc0000ca280 Connection:0xc0001e2b60 listener:0xc0000a12b0 reader:0xc0000c4048 writer:0xc0000c4048 maxMsgLen:1024000 period:5000000000 wait:1000000000 once:0xc0000aa960 done:0xc0000924e0 attrs:0xc0000a12a0 grNum:2 rDone:0xc000092540 lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:0 readerWait:0}}, len(@data):579) = error:decObject illegal object type tag:0
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:696
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:527
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:529
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:309
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:246
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:173
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:60
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
2021-06-08T17:38:50.124+0800	WARN	[email protected]/session.go:578	{client:TCP_CLIENT:1:10.210.47.69:56952<->10.210.47.69:20001}, [session.handleTCPPackage] = len{0}, error:decObject illegal object type tag:0
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:696
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:527
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:529
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:309
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:246
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:173
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:664
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
2021-06-08T17:38:50.125+0800	INFO	[email protected]/session.go:586	{client:TCP_CLIENT:1:10.210.47.69:56952<->10.210.47.69:20001}, [session.handlePackage] gr will exit now, left gr num 1
2021-06-08T17:38:50.131+0800	DEBUG	getty/pool.go:171	client new session:session {client:TCP_CLIENT:2:10.210.47.69:56954<->10.210.47.69:20001}, Read Bytes: 0, Write Bytes: 0, Read Pkgs: 0, Write Pkgs: 0

2021-06-08T17:38:50.131+0800	DEBUG	getty/pool.go:190	add session{session {client:TCP_CLIENT:2:10.210.47.69:56954<->10.210.47.69:20001}, Read Bytes: 0, Write Bytes: 0, Read Pkgs: 0, Write Pkgs: 0}
2021-06-08T17:38:50.393+0800	ERROR	[email protected]/session.go:586	session-closed, [session.handlePackage] error:decObject illegal object type tag:0
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:696
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:527
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:529
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:309
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:246
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:173
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:683
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-getty.(*session).handlePackage.func1
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:564
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:586
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:586
2021-06-08T17:38:50.397+0800	INFO	getty/listener.go:87	session{session session-closed, Read Bytes: 579, Write Bytes: 277, Read Pkgs: 0, Write Pkgs: 1} got error{decObject illegal object type tag:0}, will be closed.
2021-06-08T17:38:50.397+0800	DEBUG	getty/pool.go:219	delete session{session session-closed, Read Bytes: 579, Write Bytes: 277, Read Pkgs: 0, Write Pkgs: 1}, its index{0}
2021-06-08T17:38:50.398+0800	INFO	getty/pool.go:223	after remove session{session session-closed, Read Bytes: 579, Write Bytes: 277, Read Pkgs: 0, Write Pkgs: 1}, left session number:1
2021-06-08T17:38:51.102+0800	INFO	delegate/delegate_report.go:137	start to publish all metadata in metadata report zookeeper://127.0.0.1:2181?metadata=zookeeper.
2021-06-08T17:38:51.102+0800	INFO	delegate/delegate_report.go:180	store provider metadata. Identifier :&{ {org.apache.dubbo.UserProvider  dubbo consumer}} ; definition: map[app.version:0.0.1 application:UserInfoServer async:false bean.name:UserProvider cluster:failover environment:dev generic:false group: interface:org.apache.dubbo.UserProvider loadbalance: methods.GetUser.loadbalance: methods.GetUser.retries:3 methods.GetUser.sticky:false module:dubbo-go user-info client name:UserInfoServer organization:dubbo.io owner: provided-by: reference.filter:cshutdown registry.role:0 release:dubbo-golang-3.0.0 retries: serialization: side:consumer sticky:false timestamp:1623145130 version:] .
2021-06-08T17:38:51.125+0800	INFO	runtime/asm_amd64.s:1371	session session-closed, Read Bytes: 579, Write Bytes: 277, Read Pkgs: 0, Write Pkgs: 1, [session.handleLoop] got done signal 
2021-06-08T17:38:51.125+0800	INFO	getty/listener.go:93	session{session session-closed, Read Bytes: 579, Write Bytes: 277, Read Pkgs: 0, Write Pkgs: 1} is closing......
2021-06-08T17:38:51.125+0800	INFO	getty/pool.go:223	after remove session{session session-closed, Read Bytes: 579, Write Bytes: 277, Read Pkgs: 0, Write Pkgs: 1}, left session number:1
2021-06-08T17:38:51.125+0800	INFO	[email protected]/session.go:532	session session-closed, Read Bytes: 579, Write Bytes: 277, Read Pkgs: 0, Write Pkgs: 1, [session.handleLoop] goroutine exit now, left gr num 0
2021-06-08T17:38:53.090+0800	DEBUG	dubbo/dubbo_invoker.go:164	result.Err: maybe the client read timeout or fail to decode tcp stream in Writer.Write, result.Rest: <nil>
2021-06-08T17:38:53.091+0800	ERROR	inmemory/service_proxy.go:184	could not get the metadata info from remote provider: maybe the client read timeout or fail to decode tcp stream in Writer.Write
dubbo.apache.org/dubbo-go/v3/metadata/service/inmemory.(*MetadataServiceProxy).GetMetadataInfo
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/metadata/service/inmemory/service_proxy.go:184
dubbo.apache.org/dubbo-go/v3/registry/event.(*ServiceInstancesChangedListenerImpl).getMetadataInfo
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/event/service_instances_changed_listener_impl.go:166
dubbo.apache.org/dubbo-go/v3/registry/event.(*ServiceInstancesChangedListenerImpl).OnEvent
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/event/service_instances_changed_listener_impl.go:89
dubbo.apache.org/dubbo-go/v3/registry/servicediscovery.(*serviceDiscoveryRegistry).Subscribe
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/servicediscovery/service_discovery_registry.go:227
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).subscribe
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/directory/directory.go:104
2021-06-08T17:38:53.091+0800	WARN	servicediscovery/service_discovery_registry.go:232	[ServiceDiscoveryRegistry] ServiceInstancesChangedListenerImpl handle error:maybe the client read timeout or fail to decode tcp stream in Writer.Write
2021-06-08T17:38:53.091+0800	INFO	zookeeper/listener.go:361	listen dubbo path{/services/UserInfoServer}
2021-06-08T17:38:53.093+0800	DEBUG	zookeeper/listener.go:299	Get children!{/services/UserInfoServer/10.210.47.69:20001}
2021-06-08T17:38:53.095+0800	DEBUG	[email protected]/session.go:388	localAddr: 10.210.47.69:56954, remoteAddr:10.210.47.69:20001, now:2021-06-08 17:38:53.095506128 +0800 CST m=+3.007518625, length:277, err:%!s(<nil>)
2021-06-08T17:38:53.097+0800	ERROR	dubbo/dubbo_codec.go:244	pkg.Unmarshal(len(@data):0) = error:decObject illegal object type tag:0
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:696
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:527
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:529
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:309
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:244
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
2021-06-08T17:38:53.098+0800	ERROR	getty/readwriter.go:60	pkg.Unmarshal(ss:&{name:client endPoint:0xc0000ca280 Connection:0xc00010e1a0 listener:0xc0000a1a50 reader:0xc0000c4120 writer:0xc0000c4120 maxMsgLen:1024000 period:5000000000 wait:1000000000 once:0xc0000aba10 done:0xc0000928a0 attrs:0xc0000a1a40 grNum:2 rDone:0xc000092900 lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:0 readerWait:0}}, len(@data):579) = error:decObject illegal object type tag:0
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:696
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:527
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:529
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:309
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:246
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:173
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:60
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
2021-06-08T17:38:53.099+0800	WARN	[email protected]/session.go:578	{client:TCP_CLIENT:2:10.210.47.69:56954<->10.210.47.69:20001}, [session.handleTCPPackage] = len{0}, error:decObject illegal object type tag:0
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:696
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:527
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-go-hessian2.(*Decoder).decInstance
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:529
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:693
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).decObject
	/root/go/pkg/mod/github.com/apache/[email protected]/object.go:652
github.com/apache/dubbo-go-hessian2.(*Decoder).DecodeValue
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:285
github.com/apache/dubbo-go-hessian2.(*Decoder).Decode
	/root/go/pkg/mod/github.com/apache/[email protected]/decode.go:214
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:307
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.unmarshalResponseBody
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:309
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.HessianSerializer.Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/hessian.go:57
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*ProtocolCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/codec.go:185
dubbo.apache.org/dubbo-go/v3/protocol/dubbo/impl.(*DubboPackage).Unmarshal
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/impl/package.go:93
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:237
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).decodeResponse
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:246
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:171
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
dubbo.apache.org/dubbo-go/v3/protocol/dubbo.(*DubboCodec).Decode
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/dubbo/dubbo_codec.go:173
dubbo.apache.org/dubbo-go/v3/remoting/getty.(*RpcClientPackageHandler).Read
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/remoting/getty/readwriter.go:53
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:656
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
github.com/apache/dubbo-getty.(*session).handleTCPPackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:664
github.com/apache/dubbo-getty.(*session).handlePackage
	/root/go/pkg/mod/github.com/apache/[email protected]/session.go:578
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1371
2021-06-08T17:38:53.100+0800	INFO	[email protected]/session.go:586	{client:TCP_CLIENT:2:10.210.47.69:56954<->10.210.47.69:20001}, [session.handlePackage] gr will exit now, left gr num 1
2021-06-08T17:38:53.101+0800	DEBUG	getty/pool.go:171	client new session:session {client:TCP_CLIENT:3:10.210.47.69:56956<->10.210.47.69:20001}, Read Bytes: 0, Write Bytes: 0, Read Pkgs: 0, Write Pkgs: 0

2021-06-08T17:38:53.101+0800	DEBUG	getty/pool.go:190	add session{session {client:TCP_CLIENT:3:10.210.47.69:56956<->10.210.47.69:20001}, Read Bytes: 0, Write Bytes: 0, Read Pkgs: 0, Write Pkgs: 0}
2021-06-08T17:38:53.103+0800	ERROR	config/config_loader.go:206	Failed to check the status of the service org.apache.dubbo.UserProvider. No provider available for the service to the consumer use dubbo version 3.0.0
dubbo.apache.org/dubbo-go/v3/config.loadConsumerConfig
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/config_loader.go:206
dubbo.apache.org/dubbo-go/v3/config.consumerInitOption.func2
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/config_loader_options.go:71
dubbo.apache.org/dubbo-go/v3/config.(*optionFunc).apply
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/config_loader_options.go:41
dubbo.apache.org/dubbo-go/v3/config.LoadWithOptions
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/config_loader.go:384
dubbo.apache.org/dubbo-go/v3/config.Load
	/root/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/config_loader.go:372
main.main
	/xxx/dubbo-go-samples/GpZup9uEuY/registry/servicediscovery/zookeeper/go-client/cmd/client.go:57
runtime.main
	/usr/local/go/src/runtime/proc.go:225

dubbogo 3.0 client 访问低版本的java dubbo server找不到 provider

最开始的时候使用本地的zk,对 rpc/dubbo 下面的四个例子进行测试,4种client交叉4种情况测试都OK,接着是测试 dubbogo client和公司内的java server端进行交互, 使用的例子还是 UserProvider 这部分逻辑

得到了错误如下

2021-12-13T23:51:49.306+0800    INFO    config/root_config.go:144       [Config Center] Config center doesn't start
2021-12-13T23:51:49.306+0800    DEBUG   config/root_config.go:145       config center doesn't start because Key: 'CenterConfig.Protocol' Error:Field validation for 'Protocol' failed on the 'required' tag,Key: 'CenterConfig.Address' Error:Field validation for 'Address' failed on the 'required' tag
2021-12-13T23:51:49.307+0800    INFO    zookeeper/registry.go:72        [Zookeeper Registry] New zookeeper registry with url map[host:xxxx port:2181 protocol:zookeeper registry:zookeeper registry.group:cm_test_producer registry.label:true registry.namespace: registry.preferred:false registry.role:0 registry.timeout:5s registry.ttl:10s registry.weight:0 registry.zone: simplified:false]
2021-12-13T23:51:49.307+0800    INFO    zookeeper/client.go:55  [Zookeeper Client] New zookeeper client with name = xxx:2181, zkAddress = xxxxx:2181, timeout = %!d(string=10s)
2021-12-13T23:51:49.309+0800    DEBUG   directory/directory.go:77       new RegistryDirectory for service :zookeeper://:@xxxx:2181/?interface=com.qunar.cm.pmo.test.producer.service.IUserProvider&group=&version=.
2021-12-13T23:51:49.310+0800    INFO    v3router/router_chain.go:54     [Mesh Router] Config center does not start, please check if the configuration center has been properly configured in dubbogo.yml
2021-12-13T23:51:49.310+0800    DEBUG   directory/directory.go:102      subscribe service :dubbo://:@:/?interface=com.qunar.cm.pmo.test.producer.service.IUserProvider&group=&version= for RegistryDirectory.
2021-12-13T23:51:49.310+0800    INFO    zookeeper/listener.go:371       [Zookeeper Listener] listen dubbo path{/cm_test_producer/com.qunar.cm.pmo.test.producer.service.IUserProvider/providers}
2021/12/13 23:51:49 Connected to xxxx:2181
2021/12/13 23:51:49 Authenticated: id=651995850337270373, timeout=180000
2021/12/13 23:51:49 Re-submitting `0` credentials after reconnect
2021-12-13T23:51:49.353+0800    DEBUG   registry/base_registry.go:375   consumer path:/cm_test_producer/com.qunar.cm.pmo.test.producer.service.IUserProvider/consumers, url:consumer://192.168.0.103/com.qunar.cm.pmo.test.producer.service.IUserProvider?app.version=3.0.0&application=dubbo.io&async=false&bean.name=UserProvider&cluster=failover&config.tracing=&environment=dev&generic=&group=&interface=com.qunar.cm.pmo.test.producer.service.IUserProvider&ip=192.168.0.103&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&pid=16161&protocol=dubbo&provided-by=&reference.filter=cshutdown&registry.role=0&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timestamp=1639410709&version=
2021-12-13T23:51:49.353+0800    INFO    zookeeper/registry.go:223       [Zookeeper Registry] Registry instance with root = /cm_test_producer/com.qunar.cm.pmo.test.producer.service.IUserProvider/consumers, node = consumer%3A%2F%2F192.168.0.103%2Fcom.qunar.cm.pmo.test.producer.service.IUserProvider%3Fapp.version%3D3.0.0%26application%3Ddubbo.io%26async%3Dfalse%26bean.name%3DUserProvider%26cluster%3Dfailover%26config.tracing%3D%26environment%3Ddev%26generic%3D%26group%3D%26interface%3Dcom.qunar.cm.pmo.test.producer.service.IUserProvider%26ip%3D192.168.0.103%26loadbalance%3D%26metadata-type%3Dlocal%26module%3Dsample%26name%3Ddubbo.io%26organization%3Ddubbo-go%26owner%3Ddubbo-go%26pid%3D16161%26protocol%3Ddubbo%26provided-by%3D%26reference.filter%3Dcshutdown%26registry.role%3D0%26release%3Ddubbo-golang-3.0.0%26retries%3D%26serialization%3D%26side%3Dconsumer%26sticky%3Dfalse%26timestamp%3D1639410709%26version%3D
2021-12-13T23:51:49.388+0800    DEBUG   registry/base_registry.go:165   (consumerRegistry)Register(conf{&common.URL{noCopy:common.noCopy{}, baseURL:common.baseURL{Protocol:"dubbo", Location:":", Ip:"", Port:"", PrimitiveURL:""}, paramsLock:sync.RWMutex{w:sync.Mutex{state:0, sema:0x0}, writerSem:0x0, readerSem:0x0, readerCount:0, readerWait:0}, params:url.Values{"app.version":[]string{"3.0.0"}, "application":[]string{"dubbo.io"}, "async":[]string{"false"}, "bean.name":[]string{"UserProvider"}, "cluster":[]string{"failover"}, "config.tracing":[]string{""}, "environment":[]string{"dev"}, "generic":[]string{""}, "group":[]string{""}, "interface":[]string{"com.qunar.cm.pmo.test.producer.service.IUserProvider"}, "loadbalance":[]string{""}, "metadata-type":[]string{"local"}, "module":[]string{"sample"}, "name":[]string{"dubbo.io"}, "organization":[]string{"dubbo-go"}, "owner":[]string{"dubbo-go"}, "provided-by":[]string{""}, "reference.filter":[]string{"cshutdown"}, "registry.role":[]string{"0"}, "registry.ttl":[]string{"10s"}, "release":[]string{"dubbo-golang-3.0.0"}, "retries":[]string{""}, "serialization":[]string{""}, "side":[]string{"consumer"}, "sticky":[]string{"false"}, "timestamp":[]string{"1639410709"}, "version":[]string{""}}, Path:"/com.qunar.cm.pmo.test.producer.service.IUserProvider", Username:"", Password:"", Methods:[]string(nil), SubURL:(*common.URL)(nil)}})
2021-12-13T23:51:49.389+0800    DEBUG   proxy/proxy.go:266      set method [GetUser]
2021-12-13T23:51:52.390+0800    ERROR   config/consumer_config.go:148   No provider available of the service com.qunar.cm.pmo.test.producer.service.IUserProvider.please check configuration.
dubbo.apache.org/dubbo-go/v3/config.(*ConsumerConfig).Load
        /Users/liuzhizhi/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/consumer_config.go:148
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Start.func1
        /Users/liuzhizhi/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/root_config.go:208
sync.(*Once).doSlow
        /Users/liuzhizhi/go/go1.17.5/src/sync/once.go:68
sync.(*Once).Do
        /Users/liuzhizhi/go/go1.17.5/src/sync/once.go:59
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Start
        /Users/liuzhizhi/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/root_config.go:207
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Init
        /Users/liuzhizhi/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/root_config.go:202
dubbo.apache.org/dubbo-go/v3/config.Load
        /Users/liuzhizhi/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/config_loader.go:56
main.main
        /Users/liuzhizhi/githouse/dubbo-go-samples/rpc/dubbo/go-client/cmd/client.go:39
runtime.main
        /Users/liuzhizhi/go/go1.17.5/src/runtime/proc.go:255

内网的zk地址我用xxx隐藏掉了,然后我看了下日志的逻辑,client是注册到了zk的,在zk里也查到了,同时看到providers下面也是有的,但是版本是2.0.2, 感觉是go的client里面识别不了老的版本的server端。我贴下providers下面的节点信息

dubbo://xxxxx:20880/com.qunar.cm.pmo.test.producer.service.IUserProvider?anyhost=true&application=cm_test_producer&default=true&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.qunar.cm.pmo.test.producer.service.IUserProvider&methods=getUser&pid=147&qapp=cm_test_producer&release=4.0.60&revision=1.0.0&side=provider&timeout=30000&timestamp=1639312852171&version=1.0.0

大佬帮看看是版本不兼容么?

希望可以了解opentracing模块具体实现

https://github.com/apache/dubbo-go-samples/blob/master/tracing/triple/go-client/cmd/client.go
在学习样例中triple协议下opentracing实现时,发现这里使用一行配置注入功能的。希望可以了解下这里tracing的具体实现(想把TripleClient中注入的opentracing实例暴露给业务使用,例如我想在mysql和redis的包中引入的话应该怎么做)。
另外,由于trace相对来说是比较消耗性能的插件,还希望了解下怎么设置采样率

game 启动报错

game-go-game 启动报错,
并且game-go-gate 进行 rpc调用 报错

game 启动日志:

GOROOT=C:\Program Files\Go #gosetup
GOPATH=C:\Users\wang\go #gosetup
"C:\Program Files\Go\bin\go.exe" build -o C:\Users\wang\AppData\Local\Temp\GoLand___3game_go_game.exe -gcflags "all=-N -l" github.com/apache/dubbo-go-samples/game/go-server-game/cmd #gosetup
C:\Users\wang\AppData\Roaming\JetBrains\IntelliJIdea2022.3\plugins\go-plugin\lib\dlv\windows\dlv.exe --listen=127.0.0.1:59564 --headless=true --api-version=2 --check-go-version=false --only-same-user=false exec C:\Users\wang\AppData\Local\Temp\GoLand___3game_go_game.exe --
API server listening at: 127.0.0.1:59564
2023-06-12T17:51:44.115+0800 INFO config/config_loader_options.go:201 The following profiles are active: default
2023-06-12T17:51:44.147+0800 INFO config/root_config.go:138 [Config Center] Config center doesn't start
2023-06-12T17:51:44.148+0800 ERROR config/consumer_config.go:117 Dubbo-go cannot get interface name with registeredTypeName = BasketballService.Please run the command 'go install github.com/dubbogo/dubbogo-c
li/cmd/protoc-gen-go-triple@latest' to get the latest protoc-gen-go-triple, and then re-generate your pb file again by this tool.If you are not using pb serialization, please set 'interfaceName' field in reference
config to let dubbogo get the interface name.
dubbo.apache.org/dubbo-go/v3/config.(*ConsumerConfig).Load
C:/Users/wang/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/consumer_config.go:117
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Start.func1
C:/Users/wang/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/root_config.go:212
sync.(*Once).doSlow
C:/Program Files/Go/src/sync/once.go:74
sync.(*Once).Do
C:/Program Files/Go/src/sync/once.go:65
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Start
C:/Users/wang/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/root_config.go:210
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Init
C:/Users/wang/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/root_config.go:205
dubbo.apache.org/dubbo-go/v3/config.Load
C:/Users/wang/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/config/config_loader.go:59
main.main
D:/ProjectIdea/dubbo-go-samples/game/go-server-game/cmd/server.go:50
runtime.main
C:/Program Files/Go/src/runtime/proc.go:250
2023-06-12T17:51:44.149+0800 WARN config/consumer_config.go:166 The interface org.apache.dubbo.gate.basketballService invoker not exist, may you should check your interface config.
2023-06-12T17:51:44.150+0800 INFO dubbo/dubbo_protocol.go:84 [DUBBO Protocol] Export service: dubbo://:20000/org.apache.dubbo.game.basketballService?accesslog=&app.version=&application=dubbo.io&auth=&bea
n.name=gameProvider.basketballService&cluster=failover&config.tracing=&environment=&execute.limit=&execute.limit.rejected.handler=&export=true&interface=org.apache.dubbo.game.basketballService&loadbalance=random&ma
x-server-recv-msg-size=4mib&max-server-send-msg-size=&metadata-type=local&methods.Message.loadbalance=&methods.Message.retries=0&methods.Message.tps.limit.interval=&methods.Message.tps.limit.rate=&methods.Message.t
ps.limit.strategy=&methods.Message.weight=0&methods.Offline.loadbalance=&methods.Offline.retries=0&methods.Offline.tps.limit.interval=&methods.Offline.tps.limit.rate=&methods.Offline.tps.limit.strategy=&methods.Off
line.weight=0&methods.Online.loadbalance=&methods.Online.retries=0&methods.Online.tps.limit.interval=&methods.Online.tps.limit.rate=&methods.Online.tps.limit.strategy=&methods.Online.weight=0&module=sample&name=dub
bo.io&organization=dubbo-go&owner=dubbo-go&param.sign=&pid=16516&registry=zookeeper&registry.role=3&release=dubbo-golang-3.0.4&retries=&serialization=&service.filter=echo%2Cmetrics%2Ctoken%2Caccesslog%2Ctps%2Cgener
ic_service%2Cexecute%2Cpshutdown&side=provider&timestamp=1686563504&tps.limit.interval=&tps.limit.rate=&tps.limit.rejected.handler=&tps.limit.strategy=&tps.limiter=&warmup=100
2023/06/12 17:51:44 Connected to 127.0.0.1:2181
2023-06-12T17:51:44.150+0800 WARN prometheus/reporter.go:425 new prometheus reporter with error = listen tcp :9090: bind: Only one usage of each socket address (protocol/network address/port) is normally
permitted.
2023-06-12T17:51:44.150+0800 WARN prometheus/reporter.go:425 new prometheus reporter with error = listen tcp :9090: bind: Only one usage of each socket address (protocol/network address/port) is normally
permitted.
2023-06-12T17:51:44.151+0800 INFO zookeeper/client.go:53 [Zookeeper Client] New zookeeper client with name = 127.0.0.1:2181, zkAddress = 127.0.0.1:2181, timeout = 5s
2023/06/12 17:51:44 Connected to 127.0.0.1:2181
2023/06/12 17:51:44 Authenticated: id=72057598797283375, timeout=4000
2023/06/12 17:51:44 Re-submitting 0 credentials after reconnect
2023/06/12 17:51:44 Authenticated: id=72057598797283376, timeout=5000
2023/06/12 17:51:44 Re-submitting 0 credentials after reconnect
2023-06-12T17:51:44.183+0800 INFO dubbo/dubbo_protocol.go:84 [DUBBO Protocol] Export service: dubbo://:59571/org.apache.dubbo.metadata.MetadataService?accesslog=&app.version=&application=dubbo.io&auth=&b
ean.name=MetadataService&cluster=&config.tracing=&environment=&execute.limit=&execute.limit.rejected.handler=&export=true&group=dubbo.io&interface=org.apache.dubbo.metadata.MetadataService&loadbalance=&max-server-r
ecv-msg-size=&max-server-send-msg-size=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&param.sign=&pid=16516&registry.role=3&release=dubbo-golang-3.0.4&retries=&serialization=&
service.filter=echo%2Cmetrics%2Ctoken%2Caccesslog%2Ctps%2Cgeneric_service%2Cexecute%2Cpshutdown&side=provider&timestamp=1686563504&tps.limit.interval=&tps.limit.rate=&tps.limit.rejected.handler=&tps.limit.strategy=
&tps.limiter=&version=1.0.0&warmup=
2023-06-12T17:51:44.184+0800 INFO configurable/exporter.go:80 [Metadata Service] The MetadataService exports urls : [dubbo://:59571/org.apache.dubbo.metadata.MetadataService?accesslog=&app.version=&applic
ation=dubbo.io&auth=&bean.name=MetadataService&cluster=&config.tracing=&environment=&execute.limit=&execute.limit.rejected.handler=&export=true&group=dubbo.io&interface=org.apache.dubbo.metadata.MetadataService&loa
dbalance=&max-server-recv-msg-size=&max-server-send-msg-size=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&param.sign=&pid=16516&registry.role=3&release=dubbo-golang-3.0.4&re
tries=&serialization=&service.filter=echo%2Cmetrics%2Ctoken%2Caccesslog%2Ctps%2Cgeneric_service%2Cexecute%2Cpshutdown&side=provider&timestamp=1686563504&tps.limit.interval=&tps.limit.rate=&tps.limit.rejected.handle
r=&tps.limit.strategy=&tps.limiter=&version=1.0.0&warmup=]
2023-06-12T17:51:44.184+0800 INFO config/config_loader.go:95 Starting register instance address &{192.168.2.145:20000 dubbo.io 192.168.2.145 20000 true true map[dubbo.endpoints:[{"port":20000,"protocol":
"dubbo"}] dubbo.metadata-service.url-params:{"application":"dubbo.io","group":"dubbo.io","port":"59571","protocol":"dubbo","release":"dubbo-golang-3.0.4","timestamp":"1686563504","version":"1.0.0"} dubbo.metadata.r
evision:7171211682 dubbo.metadata.storage-type:local dubbo.subscribed-services.revision:0] []}
2023-06-12T17:51:44.238+0800 WARN zookeeper/listener.go:76 ListenServiceNodeEvent->listenSelf(zk path{/services/dubbo.io/192.168.2.145:20000}) goroutine exit now

下面是 gate 调用game rpc 控制台的打印

2023-06-12T17:58:29.689+0800 ERROR cmd/server.go:91 zhangsan
main.startHttp.func1
D:/ProjectIdea/dubbo-go-samples/game/go-server-gate/cmd/server.go:91
net/http.HandlerFunc.ServeHTTP
C:/Program Files/Go/src/net/http/server.go:2109
net/http.(*ServeMux).ServeHTTP
C:/Program Files/Go/src/net/http/server.go:2487
net/http.serverHandler.ServeHTTP
C:/Program Files/Go/src/net/http/server.go:2947
net/http.(*conn).serve
C:/Program Files/Go/src/net/http/server.go:1991
2023/06/12 17:58:29 http: panic serving 127.0.0.1:64970: runtime error: invalid memory address or nil pointer dereference
goroutine 131 [running]:
net/http.(*conn).serve.func1()
C:/Program Files/Go/src/net/http/server.go:1850 +0x148
panic({0x2ce7160, 0x404a1d0})
C:/Program Files/Go/src/runtime/panic.go:890 +0x267
github.com/apache/dubbo-go-samples/game/go-server-gate/pkg.Login({0x320bed8, 0xc000058058}, {0xc0005280a0, 0x8})
D:/ProjectIdea/dubbo-go-samples/game/go-server-gate/pkg/consumer.go:34 +0x5a
main.startHttp.func1({0x320a838, 0xc0005300e0}, 0xc00066c500)
D:/ProjectIdea/dubbo-go-samples/game/go-server-gate/cmd/server.go:92 +0x194
net/http.HandlerFunc.ServeHTTP(0x30e3378, {0x320a838, 0xc0005300e0}, 0xc00066c500)
C:/Program Files/Go/src/net/http/server.go:2109 +0x43
net/http.(*ServeMux).ServeHTTP(0x4083c00, {0x320a838, 0xc0005300e0}, 0xc00066c500)
C:/Program Files/Go/src/net/http/server.go:2487 +0x135
net/http.serverHandler.ServeHTTP({0xc0000ee5a0}, {0x320a838, 0xc0005300e0}, 0xc00066c500)
C:/Program Files/Go/src/net/http/server.go:2947 +0x474
net/http.(*conn).serve(0xc0002ae0a0, {0x320bea0, 0xc000363940})
C:/Program Files/Go/src/net/http/server.go:1991 +0x195c
created by net/http.(*Server).Serve
C:/Program Files/Go/src/net/http/server.go:3102 +0x9e5

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.