Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

test jaeger error #18

Open
zgq25302111 opened this issue Aug 2, 2022 · 0 comments
Open

test jaeger error #18

zgq25302111 opened this issue Aug 2, 2022 · 0 comments

Comments

@zgq25302111
Copy link
Contributor

What happened:
start pixiu
2022-08-02T22:31:59.249+0800 WARN pixiu/gateway.go:50 [startGatewayCmd] failed to init logger, ioutil.ReadFile file:configs/log.yml, error:open configs/log.yml: no such file or directory
main.glob..func3
/usr/local/dubbo-go-pixiu-develop/cmd/pixiu/gateway.go:50
github.com/spf13/cobra.(*Command).execute
/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:960
github.com/spf13/cobra.(*Command).Execute
/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:897
main.main
/usr/local/dubbo-go-pixiu-develop/cmd/pixiu/pixiu.go:73
runtime.main
/usr/local/go/src/runtime/proc.go:255
2022-08-02T22:31:59.249+0800 INFO config/config_load.go:56 [dubbopixiu go] load path:/usr/local/dubbo-go-pixiu-develop/samples/dubbogo/simple/jaeger/dist/linux_amd64/pixiuconf/conf.yaml
2022/08/02 22:31:59 load config in YAML format from : /usr/local/dubbo-go-pixiu-develop/samples/dubbogo/simple/jaeger/dist/linux_amd64/pixiuconf/conf.yaml
2022-08-02T22:31:59.249+0800 INFO pixiu/pixiu.go:153 GOMAXPROCS set to 8
2022-08-02T22:31:59.249+0800 INFO server/pixiu_start.go:128 [dubbopixiu go] start by config : &{StaticResources:{Listeners:[0xc00073f6b0] Clusters:[] Adapters:[] ShutdownConfig: PprofConf:{Enable:false Address:{SocketAddress:{Address:0.0.0.0 Port:8881 ResolverName: Domains:[] CertsDir:} Name:}}} DynamicResources: Metric:{Enable:false PrometheusPort:0} Node: Trace:}
2022-08-02T22:31:59.250+0800 INFO config/api_config.go:77 Load API configuration file form /usr/local/dubbo-go-pixiu-develop/samples/dubbogo/simple/jaeger/pixiu/api_config.yaml
2022-08-02T22:31:59.250+0800 INFO config/root_config.go:129 [Config Center] Config center doesn't start
2022-08-02T22:31:59.251+0800 WARN prometheus/reporter.go:237 new prometheus reporter with error = listen tcp :9090: bind: address already in use
2022-08-02T22:31:59.251+0800 INFO tracing/driver.go:80 [dubbo-go-pixiu] no trace configuration in conf.yaml
2022-08-02T22:31:59.251+0800 INFO http/http_listener.go:148 [dubbo-go-server] httpListener start at : 0.0.0.0:8881

when start.sh startTest jaeger
2022-08-02T22:33:35.652+0800 WARN http/manager.go:101 [dubbopixiu go] Occur An Unexpected Err: runtime error: invalid memory address or nil pointer dereference
github.com/apache/dubbo-go-pixiu/pkg/common/http.(*HttpConnectionManager).handleHTTPRequest.func1
/usr/local/dubbo-go-pixiu-develop/pkg/common/http/manager.go:101
runtime.gopanic
/usr/local/go/src/runtime/panic.go:1038
runtime.panicmem
/usr/local/go/src/runtime/panic.go:221
runtime.sigpanic
/usr/local/go/src/runtime/signal_unix.go:735
github.com/apache/dubbo-go-pixiu/pkg/filter/tracing.(*TraceFilter).Decode
/usr/local/dubbo-go-pixiu-develop/pkg/filter/tracing/tracing.go:81
github.com/apache/dubbo-go-pixiu/pkg/common/extension/filter.(*defaultFilterChain).OnDecode
/usr/local/dubbo-go-pixiu-develop/pkg/common/extension/filter/filter_chain.go:63
github.com/apache/dubbo-go-pixiu/pkg/common/http.(*HttpConnectionManager).handleHTTPRequest
/usr/local/dubbo-go-pixiu-develop/pkg/common/http/manager.go:107
github.com/apache/dubbo-go-pixiu/pkg/common/http.(*HttpConnectionManager).Handle
/usr/local/dubbo-go-pixiu-develop/pkg/common/http/manager.go:76
github.com/apache/dubbo-go-pixiu/pkg/common/http.(*HttpConnectionManager).ServeHTTP
/usr/local/dubbo-go-pixiu-develop/pkg/common/http/manager.go:88
github.com/apache/dubbo-go-pixiu/pkg/filterchain.NetworkFilterChain.ServeHTTP
/usr/local/dubbo-go-pixiu-develop/pkg/filterchain/network_filter_chain.go:45
github.com/apache/dubbo-go-pixiu/pkg/listener/http.(*DefaultHttpWorker).ServeHTTP
/usr/local/dubbo-go-pixiu-develop/pkg/listener/http/http_listener.go:162
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2047
net/http.(*ServeMux).ServeHTTP
/usr/local/go/src/net/http/server.go:2425
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:2879
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:1930
What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

  1. cd 到案例总目录
    cd samples/dubbogo/simple/

  2. 进行环境准备,启动 zk 和准备对应配置文件
    ./start.sh prepare jaeger

  3. 启动 dubbo server
    ./start.sh startServer jaeger

  4. 启动 pixiu
    ./start.sh startPixiu jaeger

  5. 启动 Client 测试用例
    ./start.sh startTest jaeger
    Anything else we need to know?:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant