Open TheLittleNaruto opened 3 weeks ago
Can you try again to connect using kuksa-client grpc://Server:55555
(instead of http://Server:55555
)?
Kuksa-Client supports two different protocols, where each uses a custom URI format. On one hand the protocol grpc://
to establish a connection using gRPC and on the other hand ws://
to establish a connection using Websockets. In case TLS is being used it is grpcs://...
and wss://
Can you try again to connect using
kuksa-client grpc://Server:55555
(instead ofhttp://Server:55555
)?Kuksa-Client supports two different protocols, where each uses a custom URI format. On one hand the protocol
grpc://
to establish a connection using gRPC and on the other handws://
to establish a connection using Websockets. In case TLS is being used it isgrpcs://...
andwss://
I tried both of them, but same error. @wba2hi
Can you double check, whether the error is the same, because the original error message said, it does not recognize http
, so if you replacaed that with e.g. grpc://
I would at least expect a different error
Also you used a docker network "kuksa", are you sure this is reachable from "outside" (because you use venv directly on host for client). I think at least under Linux this may require some routing being set up.
A simple way to test is, instead of using a custom network, use host mode in docker, i.e. start
sudo docker run -it --rm --name Server --net=host ghcr.io/eclipse-kuksa/kuksa-databroker:main --insecure
And then try connecting wiht kuksa-client again (using the IP or hostname of your computer)
Hi
I am trying Kuksa python SDK to connect to kuksa databroker. However it fails to connect.
Steps which I followed:
To start the databroker server:
To verify the connect, ran the databroker-cli
As we can see, it is able to publish to the databroker and get it back.
Now used kuksa python sdk to achieve the same:
Now ran the kuksa-client command
But this resulted in below error:
Could you please help what went wrong here? BTW I also tried to manually connect to databroker, by running below command:
And it did not work, but same command works on Kuksa databroker-cli.