# Solace shared subscription - Router does not support #share and #noexport subscriptions

**URL:** <https://community.solace.com/t/solace-shared-subscription-router-does-not-support-share-and-noexport-subscriptions/2100>\
**Category:** Solace Event Broker\
**Created:** [December 12, 2024, 1:36pm UTC](https://community.solace.com/t/solace-shared-subscription-router-does-not-support-share-and-noexport-subscriptions/2100 "2024-12-12T13:36:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaunvdberg](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@shaunvdberg](https://community.solace.com/u/shaunvdberg)\
**Post date:** [December 12, 2024, 1:36pm UTC](https://community.solace.com/t/solace-shared-subscription-router-does-not-support-share-and-noexport-subscriptions/2100/1 "2024-12-12T13:36:05Z")

</div>

Hi everyone

Im experimenting with the shared subscriptions feature. However, when I startup my consumer app, I get the following error:  
——————————————————————-  
Warning - SessionImpl: 15:29:47|Failed to Subscribe to topic #noexport/ottawa/weathersensor/yow/temperature ReturnCode is: SOLCLIENT\_FAIL|null

Unhandled exception. Operation Error: ReturnCode = SOLCLIENT\_FAIL Error Info: (Subcode=SharedSubscriptionsNotSupported, Error string=Router does not support #share and #noexport subscriptions on topic ‘#noexport/ottawa/weathersensor/yow/temperature’ in solClient\_session\_topicSubscribeExt for session ‘(c0,s1)\_default’, Response code= 0 )  
——————————————————————-  
My consumer application is written in dotnet, using the latest client (10.26.0).  
…  
session.Subscribe(ContextFactory.Instance.CreateTopic(“#noexport/ottawa/weathersensor/yow/temperature”), true);  
…  
I have the latest solace running locally in a container.  
I have also enable “allow-shared-subscriptions” on the client profile.

Any ideas?  
Thanks  
Shaun

---

<div class="post-metadata">

**Author:** ![shaunvdberg](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@shaunvdberg](https://community.solace.com/u/shaunvdberg)\
**Post date:** [December 13, 2024, 6:59am UTC](https://community.solace.com/t/solace-shared-subscription-router-does-not-support-share-and-noexport-subscriptions/2100/2 "2024-12-13T06:59:15Z")

</div>

Hi

I believe I found the issue.

My consumers where connecting using ws://. Then I changed it to tcp:// it worked.

Regards  
Shaun

---

<div class="post-metadata">

**Author:** ![Aaron](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/aaron/32/843_2.png) [@Aaron](https://community.solace.com/u/Aaron)\
**Post date:** [January 2, 2025, 10:08pm UTC](https://community.solace.com/t/solace-shared-subscription-router-does-not-support-share-and-noexport-subscriptions/2100/3 "2025-01-02T22:08:06Z")

</div>

Hi @shaunvdberg , yes unfortunately shared subscriptions are not available for web client connections (WebSockets). This is mentioned in our docs here: [https://docs.solace.com/Messaging/Direct-Msg/Direct-Messages.htm#web-messaging-clients](https://docs.solace.com/Messaging/Direct-Msg/Direct-Messages.htm#web-messaging-clients)

Glad you can use regular TCP connections though. Thanks for following up. You should accept your own answer…!

---

<div class="post-metadata">

**Author:** ![Aaron](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/aaron/32/843_2.png) [@Aaron](https://community.solace.com/u/Aaron)\
**Post date:** [January 2, 2025, 10:48pm UTC](https://community.solace.com/t/solace-shared-subscription-router-does-not-support-share-and-noexport-subscriptions/2100/4 "2025-01-02T22:48:19Z")

</div>

Actually… I just tested with our JCSMP Java client, and shared subs work over WebSockets. So… that’s weird. I’m requesting someone in R&D take a look at this.

---

<div class="post-metadata">

**Author:** ![Aaron](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/aaron/32/843_2.png) [@Aaron](https://community.solace.com/u/Aaron)\
**Post date:** [January 8, 2025, 4:34pm UTC](https://community.solace.com/t/solace-shared-subscription-router-does-not-support-share-and-noexport-subscriptions/2100/5 "2025-01-08T16:34:00Z")

</div>

Hi @shaunvdberg , just as a follow-up here… we’ve determined that the behaviour you experienced (.NET API unable to use shared subs over WebSockets) is indeed a bug, and will be fixed in an upcoming release of the API. For anyone reading this, there is a similar issue with our C (CCSMP) API. The current workarounds are either:

- Use TCP ( `tcp://` or `tcps://` ) instead of WebSockets ( `ws://` or `wss://` )
- Add the session property `SessionProperties.GdWithWebTransport` (for .NET) or `SESSION_GUARANTEED_WITH_WEB_TRANSPORT,1` (for C)

I’ll update this thread when the fixed APIs are released. Thanks for bringing this to our attention! ??

---

<div class="post-metadata">

**Author:** ![Aaron](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/aaron/32/843_2.png) [@Aaron](https://community.solace.com/u/Aaron)\
**Post date:** [June 3, 2025, 8:25am UTC](https://community.solace.com/t/solace-shared-subscription-router-does-not-support-share-and-noexport-subscriptions/2100/6 "2025-06-03T08:25:20Z")

</div>

Hi again @shaunvdberg ..! I’ve just got a notification from our Support team that this issue has been fixed in .NET API 10.28.1. There’s no release note that mentions this (we’ll get that in there) but the fix should be there. Please try this new version.

Thanks!
