SoftwareAG/cumulocity-python-api

Notification 2 API SSL Error

simeonthefirst opened this issue · 1 comments

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

This is fixed with version 1.8.2.