@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!)
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| WebSocket connection to 'ws://localhost:4000/graphql' failed: | 0 | 288 | July 1, 2024 | |
| Apollo Client useSubscription not reading correct link | 8 | 1194 | February 6, 2025 | |
| Need Help Connecting to Subscription Resolvers | 3 | 201 | June 10, 2024 | |
| useSubscription Socket errors being thrown in the console | 2 | 816 | February 6, 2025 | |
| Working: ApolloServer 4 Setup for Client/Server, including Context for Both Subscriptions and Queries | 0 | 277 | June 15, 2024 |