Cumulocity-IoT / cumulocity-python-api

Python client for the Cumulocity REST API. Created by Global Competency Center IoT
Apache License 2.0
18 stars 13 forks source link

Notification 2 API SSL Error #43

Closed simeonthefirst closed 1 year ago

simeonthefirst commented 1 year ago

c8y.notification2_tokens.build_websocket_uri(token) always returns wss://... instead of ws:// what is needed when running it inside of a cumulocity hosted microservice. What i do now is using my own Listener and creating the uri like this: f"{c8y.base_url.replace('http','ws')}/notification2/consumer/?token={token}"

chisou commented 1 year ago

This is fixed with version 1.8.2.