[discourse] Flipt Cloud + OpenFeature + Go: internal error: proto: (line 1:205): unknown field "error" #4327
-
Originally posted by murph on Discourse I’ve tried setting up Flipt Cloud + OpenFeature via go. On my first flag evaluation, I get: openfeature: GENERAL: internal error: proto: (line 1:205): unknown field “error”I configured the client like so:
And i try to evaluate the flag like this:
Any idea what I’ve done wrong? It looks like there’s some error that the SDk isn’t handling or propogating? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The error If you are using a custom or older SDK, or have hand-written proto handling, double-check that your code aligns with the official proto schema. This kind of error is common when codegen or dependencies are out of sync with the server (source). To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Reply from mark on Discourse: Hey @murph ! Thanks for detailed info and for trying out Flipt Cloud!! Flipt Cloud currently works with our client-side evaluation SDKs only out of the box.
Architecture - FliptLearn about the architecture of Flipt Cloud and how it scales to meet your needs The OpenFeature provider for Go only works for server-side evaluation, and uses our Go server-side SDK under the hood, so this won’t work with Flipt Cloud. You could however use Flipt Cloud and Flipt Open Source in combination, which would give you ‘the best of both worlds’. Flipt Cloud can be used for creating/updating/deleting flags/segments/etc in the UI, that gets synced to your Git repository, then Flipt Open Source can be run and pointed at the same Git repository as it’s data source. Then you could use any of our SDKs including the OpenFeature ones for evaluations against the open source Flipt that runs in your infrastructure. We have a bit of detail on this pattern in our docs: Architecture - Flipt Hope this helps! Mark |
Beta Was this translation helpful? Give feedback.
Reply from mark on Discourse:
Hey @murph !
Thanks for detailed info and for trying out Flipt Cloud!!
Flipt Cloud currently works with our client-side evaluation SDKs only out of the box.
Architecture - Flipt
Learn about the architecture of Flipt Cloud and how it scales to meet your needs
The OpenFeature provider for Go only works for server-side evaluation, and uses our Go server-side SDK under the hood, so this won’t work with Flipt Cloud.
You could however use Flipt Cloud and Flipt Open Source in combination, which would give you ‘the best of both worlds’. Flipt Cloud can be us…