Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[droplet] 线下模式,不连接sophon-auth会报错 #395

Closed
1 of 3 tasks
cloudxin opened this issue Aug 7, 2023 · 0 comments · Fixed by #399
Closed
1 of 3 tasks

[droplet] 线下模式,不连接sophon-auth会报错 #395

cloudxin opened this issue Aug 7, 2023 · 0 comments · Fixed by #399
Assignees
Labels
C-bug Category: This is a bug

Comments

@cloudxin
Copy link
Contributor

cloudxin commented Aug 7, 2023

Droplet / 水滴

  • droplet
  • droplet-client
  • 文档 / docs

Version / 版本

droplet version v2.8.1+git.8fb315f

Describe the Bug / 描述

线下模式中,damocles-manager直连droplet日志一直报错

Logging Information / 日志

2023-08-05T19:17:12.996+0800    ERROR   rpc     [email protected]/server.go:99  RPC Error: (error code 0) fatal error calling 'VENUS_MARKET.ListenMarketEvent': panic in rpc method 'VENUS_MARKET.ListenMarketEvent': runtime error: invalid memory address or nil pointer dereference: error code 0
2023-08-05T19:17:12.996+0800    WARN    rpc     [email protected]/server.go:105 rpc error: (error code 0) fatal error calling 'VENUS_MARKET.ListenMarketEvent': panic in rpc method 'VENUS_MARKET.ListenMarketEvent': runtime error: invalid memory address or nil pointer dereference: error code 0
2023-08-05T19:17:13.394+0800    ERROR   rpc     [email protected]/handler.go:306        panic in rpc method 'VENUS_MARKET.ListenMarketEvent': runtime error: invalid memory address or nil pointer dereference
github.com/filecoin-project/go-jsonrpc.doCall.func1
        /root/go/pkg/mod/github.com/ipfs-force-community/[email protected]/handler.go:306
runtime.gopanic
        /usr/local/go/src/runtime/panic.go:890
runtime.panicmem
        /usr/local/go/src/runtime/panic.go:260
runtime.sigpanic
        /usr/local/go/src/runtime/signal_unix.go:839
github.com/ipfs-force-community/sophon-auth/jwtclient.(*AuthClient).MinerExistInUser
        /root/go/pkg/mod/github.com/ipfs-force-community/[email protected]/jwtclient/auth_client.go:377
github.com/ipfs-force-community/sophon-gateway/validator.(*AuthMinerValidator).Validate
        /root/go/pkg/mod/github.com/ipfs-force-community/[email protected]/validator/miner_validator.go:29
github.com/ipfs-force-community/sophon-gateway/marketevent.(*MarketEventStream).ListenMarketEvent
        /root/go/pkg/mod/github.com/ipfs-force-community/[email protected]/marketevent/market_event.go:59
github.com/ipfs-force-community/droplet/v2/api/impl.(*MarketNodeImpl).ListenMarketEvent
        /opt/venus-market/api/impl/venus_market.go:122
reflect.Value.call
        /usr/local/go/src/reflect/value.go:584
reflect.Value.Call
        /usr/local/go/src/reflect/value.go:368
github.com/filecoin-project/venus/venus-shared/api/permission.PermissionProxy.func1
        /root/go/pkg/mod/github.com/filecoin-project/[email protected]/venus-shared/api/permission/permission.go:51
github.com/filecoin-project/venus/venus-shared/api/market/v1.(*IMarketStruct).ListenMarketEvent
        /root/go/pkg/mod/github.com/filecoin-project/[email protected]/venus-shared/api/market/v1/proxy_gen.go:262
reflect.Value.call
        /usr/local/go/src/reflect/value.go:584
reflect.Value.Call
        /usr/local/go/src/reflect/value.go:368
github.com/filecoin-project/go-jsonrpc.doCall
        /root/go/pkg/mod/github.com/ipfs-force-community/[email protected]/handler.go:310
github.com/filecoin-project/go-jsonrpc.(*handler).handle
        /root/go/pkg/mod/github.com/ipfs-force-community/[email protected]/handler.go:435
2023-08-05T19:17:13.395+0800    ERROR   rpc     [email protected]/server.go:99  RPC Error: (error code 0) fatal error calling 'VENUS_MARKET.ListenMarketEvent': panic in rpc method 'VENUS_MARKET.ListenMarketEvent': runtime error: invalid memory address or nil pointer dereference: error code 0

Repo Steps / 重现步骤

No response

@cloudxin cloudxin added the C-bug Category: This is a bug label Aug 7, 2023
@LinZexiao LinZexiao self-assigned this Aug 7, 2023
@LinZexiao LinZexiao moved this to In Progress in Venus Team Project(s) Aug 7, 2023
@LinZexiao LinZexiao moved this from In Progress to In Review in Venus Team Project(s) Aug 7, 2023
@github-project-automation github-project-automation bot moved this from In Review to Done in Venus Team Project(s) Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants