-
Notifications
You must be signed in to change notification settings - Fork 5
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
panic: proto: file "egress.proto" is already registered #30
Comments
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story. The labels on this github issue will be updated when the story is started. |
danail-branekov
added a commit
to eirini-forks/cli
that referenced
this issue
Sep 30, 2021
- client-go v0.22 does not work with protobuf v1.3.4. - protobuf v1.5 leads to a runtime panic in go-loggregator and go-log-cache. See: cloudfoundry/go-log-cache#30 - pin go-log-cache to a fork containing this PR that fixes the above problem: cloudfoundry/go-log-cache#31 Having done all this allows us to use the latest verson of the client-go package, which is needed for the cf-on-k8s support. Co-authored-by: Danail Branekov <[email protected]>
danail-branekov
added a commit
to eirini-forks/cli
that referenced
this issue
Sep 30, 2021
- client-go v0.22 does not work with protobuf v1.3.4. - protobuf v1.5 leads to a runtime panic in go-loggregator and go-log-cache. See: cloudfoundry/go-log-cache#30 - pin go-log-cache to a fork containing this PR that fixes the above problem: cloudfoundry/go-log-cache#31 Having done all this allows us to use the latest verson of the client-go package, which is needed for the cf-on-k8s support. Co-authored-by: Danail Branekov <[email protected]>
danail-branekov
added a commit
to eirini-forks/cli
that referenced
this issue
Sep 30, 2021
- client-go v0.22 does not work with protobuf v1.3.4. - protobuf v1.5 leads to a runtime panic in go-loggregator and go-log-cache. See: cloudfoundry/go-log-cache#30 - pin go-log-cache to a fork containing this PR that fixes the above problem: cloudfoundry/go-log-cache#31 Having done all this allows us to use the latest verson of the client-go package, which is needed for the cf-on-k8s support. Co-authored-by: Danail Branekov <[email protected]>
danail-branekov
added a commit
to eirini-forks/cli
that referenced
this issue
Oct 4, 2021
- client-go v0.22 does not work with protobuf v1.3.4. - protobuf v1.5 leads to a runtime panic in go-loggregator and go-log-cache. See: cloudfoundry/go-log-cache#30 - pin go-log-cache to a fork containing this PR that fixes the above problem: cloudfoundry/go-log-cache#31 Having done all this allows us to use the latest verson of the client-go package, which is needed for the cf-on-k8s support. Co-authored-by: Danail Branekov <[email protected]>
danail-branekov
added a commit
to eirini-forks/cli
that referenced
this issue
Oct 7, 2021
- client-go v0.22 does not work with protobuf v1.3.4. - protobuf v1.5 leads to a runtime panic in go-loggregator and go-log-cache. See: cloudfoundry/go-log-cache#30 - pin go-log-cache to a fork containing this PR that fixes the above problem: cloudfoundry/go-log-cache#31 Having done all this allows us to use the latest verson of the client-go package, which is needed for the cf-on-k8s support. Co-authored-by: Danail Branekov <[email protected]>
gcapizzi
pushed a commit
to eirini-forks/cli
that referenced
this issue
Oct 14, 2021
- client-go v0.22 does not work with protobuf v1.3.4. - protobuf v1.5 leads to a runtime panic in go-loggregator and go-log-cache. See: cloudfoundry/go-log-cache#30 - pin go-log-cache to a fork containing this PR that fixes the above problem: cloudfoundry/go-log-cache#31 Having done all this allows us to use the latest verson of the client-go package, which is needed for the cf-on-k8s support. Co-authored-by: Danail Branekov <[email protected]>
gcapizzi
pushed a commit
to eirini-forks/cli
that referenced
this issue
Oct 14, 2021
- client-go v0.22 does not work with protobuf v1.3.4. - protobuf v1.5 leads to a runtime panic in go-loggregator and go-log-cache. See: cloudfoundry/go-log-cache#30 - pin go-log-cache to a fork containing this PR that fixes the above problem: cloudfoundry/go-log-cache#31 Having done all this allows us to use the latest verson of the client-go package, which is needed for the cf-on-k8s support. Co-authored-by: Danail Branekov <[email protected]>
Resolved by merging #31 |
gcapizzi
pushed a commit
to eirini-forks/cli
that referenced
this issue
Nov 9, 2021
- client-go v0.22 does not work with protobuf v1.3.4. - protobuf v1.5 leads to a runtime panic in go-loggregator and go-log-cache. See: cloudfoundry/go-log-cache#30 - pin go-log-cache to a fork containing this PR that fixes the above problem: cloudfoundry/go-log-cache#31 Having done all this allows us to use the latest verson of the client-go package, which is needed for the cf-on-k8s support. Co-authored-by: Danail Branekov <[email protected]>
gcapizzi
pushed a commit
to eirini-forks/cli
that referenced
this issue
Nov 22, 2021
- client-go v0.22 does not work with protobuf v1.3.4. - protobuf v1.5 leads to a runtime panic in go-loggregator and go-log-cache. See: cloudfoundry/go-log-cache#30 - pin go-log-cache to a fork containing this PR that fixes the above problem: cloudfoundry/go-log-cache#31 Having done all this allows us to use the latest verson of the client-go package, which is needed for the cf-on-k8s support. Co-authored-by: Danail Branekov <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since some protobuf libraries have been updated, go-log-cache now panics when included in a project.
For example, running this main.go:
panics with:
Investigation has shown this is because go-log-cache imports go-loggregator, and both go-log-cache and go-loggregator have compiled gprc .proto files called 'ingress.proto' and 'egress.proto'. This went from being ignored, to being a warning, and now panics with the up to date protobuf libraries.
The text was updated successfully, but these errors were encountered: