# Websockets are not working in production environment

**URL:** <https://community.apollographql.com/t/websockets-are-not-working-in-production-environment/6980>\
**Category:** Client SDKs\
**Tags:** client\
**Created:** [November 26, 2023, 2:40pm UTC](https://community.apollographql.com/t/websockets-are-not-working-in-production-environment/6980 "2023-11-26T14:40:51Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![S4nfs](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/s4nfs/32/4679_2.png) [@S4nfs](https://community.apollographql.com/u/S4nfs)\
**Post date:** [December 5, 2023, 11:39am UTC](https://community.apollographql.com/t/websockets-are-not-working-in-production-environment/6980/10 "2023-12-05T11:39:40Z")

</div>

@Kheang_Hok_Chin, thank you, it’s working. Everything was fine; I just had to configure the NGINX server to use WebSockets. But still i am unable to use subscriptions in my apollo sandbox (related to my previous issue: [Not getting Context value in my resolvers!](https://community.apollographql.com/t/not-getting-context-value-in-my-resolvers/6869))

---

_[View the full topic](https://community.apollographql.com/t/websockets-are-not-working-in-production-environment/6980)._
