Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

panic: proto: duplicate enum registered: SpanType #67

Closed
ops-cn opened this issue Jul 1, 2020 · 2 comments
Closed

panic: proto: duplicate enum registered: SpanType #67

ops-cn opened this issue Jul 1, 2020 · 2 comments
Labels
wontfix This will not be worked on
Milestone

Comments

@ops-cn
Copy link

ops-cn commented Jul 1, 2020

Describe the bug

panic: proto: duplicate enum registered: SpanType

goroutine 1 [running]:
github.com/golang/protobuf/proto.RegisterEnum(0x2bb3c53, 0x8, 0xc000289080, 0xc0002890e0)
E:/workspace/go/src/pkg/mod/github.com/golang/protobuf@v1.4.2/proto/registry.go:104 +0x125
github.com/SkyAPM/go2sky/reporter/grpc/language-agent.init.0()
E:/workspace/go/src/pkg/mod/github.com/!sky!a!p!m/go2sky@v0.4.0/reporter/grpc/language-agent/Tracing.pb.go:520 +0x59

To Reproduce
Steps to reproduce the behavior:

with go micro and gin framework

@arugal
Copy link
Member

arugal commented Jul 2, 2020

Never encountered, can you provide more information :)

@arugal arugal added this to the 1.0.0 milestone Jul 2, 2020
@arugal arugal added question End user question and discussion. discussion Issues to track discussions and removed question End user question and discussion. labels Jul 2, 2020
@arugal
Copy link
Member

arugal commented Jul 27, 2020

Since go-micro version 2.1.0, go-micro has added a SpanType enum that conflicts with the definition of Skywalking. Please try the previous version.

@arugal arugal added wontfix This will not be worked on and removed discussion Issues to track discussions labels Jul 27, 2020
@arugal arugal closed this as completed Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants