![]() I am using keycloak as an identity broker to a simplesamlphp identity provider in order to login to an angular application. Happy to hear if anyone has a solution for this. If the request has a name ID policy, ignore it and used the value configured in the admin console under Name ID Format.Invalid request, missing parameter username after keycloak saml login. So unfortunately I see no way currently to use the built-in CloudService MQTT messages and integrate with clients built in C# which is a pitty as limits the kura interoperability with. I suspect that the CloudService implementation for some reason is not compatible with the default Google protocol. ProtobufDecoderProcessor - ProtobufDecoderProcessorid42c8ab94-2d8a-491b-bd99-b4451d127ae0 Protocol message tag had invalid wire type. Protocol message tag had invalid wire type, or this error ). I have tried 3 different C# proto libraries and I have converted the kurapayload.proto to corresponding C# classes, but all 3 libraries are throwing exceptions on deserialisation around invalid wire type (e.g. I have managed to use the "standard" MQTT messages from kura using apache paho library, see this example Ģ. I have never tried C#, but here are tutorials for languages documented by Google ġ. proto file for any other languages you needed to support. This has already been done in Kura, but you would need to compile the. In order to encode/decode a Google protobuf message, you must first compile the. I am not sure what you mean by "google protobuf-net library". Let me know if you need more explanation on any of this. That being said, using protocol buffers certainly offers a performance enhancement and the CloudService offers many nice features in managing the broker connection. This is not a requirement of Kura as you could modify the heater demo to simply use regular MQTT publishes. So you are aware, the heater demo uses the CloudService to send data which is where the payload is being serialized using Google Protocol Buffers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |