Hi Team,
I am working for Notification 2.0 in micro-service basing on sample project in github.
‘ROLE_NOTIFICATION_2_ADMIN’ is enabled for micro-service.
But the websocket client can’t connect with Cumulocity, below is the error log.
2022-09-30 02:55:41.068 INFO 13 — [main] m.websocket.MoNotificationExample : webSocketUri:wss://<my.tenant.domain>/notification2/consumer/?token=eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ0ZXN0dGVuYW50c3Vic2NyaWJlciIsInRvcGljIjoidDE0MjExMzgwNzMvcmVsbm90aWYvdGVzdDEzMDEwM3N1YnNjcmlwdGlvbiIsImp0aSI6IjE2NzU4OGQ3LWIzNzUtNDZkYS1iODIyLTczZGVjNTk4N2Y5NiIsImlhdCI6MTY2NDUwNjU0MSwiZXhwIjoxNjY0NTkyOTQxfQ.UCmJPv1yBCxjbqiGmIWquT-wjWbOhLKglOB-5Eel9jmUjwdnIWh8sXOcYj3Tj4WJQBtR98DQ0ThYw0SDX-XipRmVmm5mCvmqrDC9NPtgLVWqUZG1yNk0fAsvjAlqW32bh6trwBreo79uSI85C_wLXTlvzDXRvG-0rjZdhuuOLeQoSYMy4CPcLEVt9QbNFJBm0AXL6VJFUEE4TNw6HiknRkf8PtWAdRZZhV8QNDUmisBrDS6Q03bd7GLqAiptg1gAL5J-aEJcrmYkT5c798uyec3uu3zRORwi2CT-UitsgQKGDy6WMeHilSHvOT0LeHrIbXN9AWl87ShAfxjDn2ZD8g
2022-09-30 02:55:41.068 INFO 13 — [main] m.websocket.MoNotificationExample : WebSocket library: TooTallNate
2022-09-30 02:56:11.792 INFO 13 — [WebSocketConnectReadThread-30] m.w.t.TooTallNateWebSocketClient : WebSocket closed Code:1002, reason: Invalid status code received: 500 Status line: HTTP/1.1 500 Server Error
2022-09-30 02:56:11.792 INFO 13 — [WebSocketConnectReadThread-30] m.websocket.MoNotificationExample : Connection was closed.
Any suggestion for this ? Thanks for reply.