Title: WebSocketEvents.subscriptionCreated event never triggered · Issue #92 · ringcentral/ringcentral-python · GitHub
Open Graph Title: WebSocketEvents.subscriptionCreated event never triggered · Issue #92 · ringcentral/ringcentral-python
X Title: WebSocketEvents.subscriptionCreated event never triggered · Issue #92 · ringcentral/ringcentral-python
Description: This issue was reported by a customer. Could be reproduced here https://github.com/ringcentral/ringcentral-python/blob/master/ringcentral/demos/demo_subscription.py WebSocketEvents.subscriptionCreated even never triggered. This is becaus...
Open Graph Description: This issue was reported by a customer. Could be reproduced here https://github.com/ringcentral/ringcentral-python/blob/master/ringcentral/demos/demo_subscription.py WebSocketEvents.subscriptionCrea...
X Description: This issue was reported by a customer. Could be reproduced here https://github.com/ringcentral/ringcentral-python/blob/master/ringcentral/demos/demo_subscription.py WebSocketEvents.subscriptionCrea...
Opengraph URL: https://github.com/ringcentral/ringcentral-python/issues/92
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WebSocketEvents.subscriptionCreated event never triggered","articleBody":"This issue was reported by a customer. Could be reproduced here https://github.com/ringcentral/ringcentral-python/blob/master/ringcentral/demos/demo_subscription.py\n\n `WebSocketEvents.subscriptionCreated` even never triggered.\n\nThis is because, after susbscription created, server side returned:\n\n```js\n[{'type': 'ClientRequest', 'messageId': '29588305-dd9b-4bc4-8d61-4bb7957f2f2f', 'status': 200, 'headers': {'Server': 'nginx', 'Date': 'Wed, 20 Aug 2025 22:23:55 GMT', 'Content-Type': 'application/json', 'RoutingKey': 'SJC01P07', 'RCRequestId': 'bedff5ae-9d68-4bc9-8653-7e34603ef562-2686696-1-19'}}, {'uri': '/restapi/v1.0/subscription/1b2a2e6b-2245-4278-b47c-16259ca003a8', 'id': '1b2a2e6b-2245-4278-b47c-16259ca003a8', 'creationTime': '2025-08-20T22:23:55.169Z', 'status': 'Active', 'eventFilters': ['/restapi/v1.0/account/809646016/extension/62264425016/presence'], 'expirationTime': '2025-08-21T22:23:55.169Z', 'expiresIn': 86399, 'deliveryMode': {'transportType': 'WebSocket', 'encryption': False}}]\n```\n\nClient side code:\n\n```python\n if(message_json[0]['type'] == 'ClientRequest' and 'WSG-SubscriptionId' in message_json[0]['headers']):\n self.set_subscription(message_json)\n self._web_socket_client.trigger(WebSocketEvents.subscriptionCreated, self)\n```\n\nBut server returned json data doesn't have header \"WSG-SubscriptionId\".\n","author":{"url":"https://github.com/tylerlong","@type":"Person","name":"tylerlong"},"datePublished":"2025-08-20T22:31:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/92/ringcentral-python/issues/92"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:040e3077-0cf3-4cdb-4880-849579cafdcb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C500:AF4DA:D3128:119E06:698D8046 |
| html-safe-nonce | ba5433fc6c1d933001d1d6bd05e1c54137445e77161966f09ccce422a911e84b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTAwOkFGNERBOkQzMTI4OjExOUUwNjo2OThEODA0NiIsInZpc2l0b3JfaWQiOiI0MDQ5NjE1ODM0OTkyOTY3NzUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b546aff0a05574bfb952e6277e10e2fc72a8b6803eb14f01c7d3053b2072bc42 |
| hovercard-subject-tag | issue:3339712371 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ringcentral/ringcentral-python/92/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46a4117535f6449bbad569ec236ba07f421e2472f926abde470bb82c28b1af9b/ringcentral/ringcentral-python/issues/92 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46a4117535f6449bbad569ec236ba07f421e2472f926abde470bb82c28b1af9b/ringcentral/ringcentral-python/issues/92 |
| og:image:alt | This issue was reported by a customer. Could be reproduced here https://github.com/ringcentral/ringcentral-python/blob/master/ringcentral/demos/demo_subscription.py WebSocketEvents.subscriptionCrea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tylerlong |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| turbo-cache-control | no-preview |
| go-import | github.com/ringcentral/ringcentral-python git https://github.com/ringcentral/ringcentral-python.git |
| octolytics-dimension-user_id | 6549285 |
| octolytics-dimension-user_login | ringcentral |
| octolytics-dimension-repository_id | 31046360 |
| octolytics-dimension-repository_nwo | ringcentral/ringcentral-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31046360 |
| octolytics-dimension-repository_network_root_nwo | ringcentral/ringcentral-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 715890fa442134f528fb422ab338c0ad55c7a025 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width