@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 | 240 | July 1, 2024 | |
Apollo Client useSubscription not reading correct link | 8 | 1151 | February 6, 2025 | |
Need Help Connecting to Subscription Resolvers | 3 | 171 | June 10, 2024 | |
useSubscription Socket errors being thrown in the console | 2 | 778 | February 6, 2025 | |
Working: ApolloServer 4 Setup for Client/Server, including Context for Both Subscriptions and Queries | 0 | 233 | June 15, 2024 |