I have developed Grapg QL Broadcasting service where any client can use that service by subscribe .while testing locally it works fine. but when deployed on server it stopp sending request after some time .
Please suggest what could be reason .
I have developed Grapg QL Broadcasting service where any client can use that service by subscribe .while testing locally it works fine. but when deployed on server it stopp sending request after some time .
Please suggest what could be reason .
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Tahir AnsariRank #366 · 6.8K reputationPosted Oct 4, 2023, 11:44 PM EDT
There could be a number of reasons why your GraphQL Broadcasting service stopped sending requests after some time when deployed on a server. Here are a few possibilities:
Resource exhaustion: It is possible that the server is running out of resources, such as memory or CPU. This can happen if the service is handling a lot of traffic or if there is another process on the server that is using a lot of resources.
Network problems It is also possible that there is a problem with the network connection between the server and the clients. This could be due to a firewall, a DNS issue, or a problem with the server's network interface.
Software bugs: It is also possible that there is a bug in the GraphQL Broadcasting service itself. This could be a bug in the code that handles client subscriptions or a bug in the code that sends requests to clients.
To troubleshoot the problem, you can start by checking the server logs for any errors or warnings. You can also use a tool like Fiddler or Wireshark to monitor the network traffic between the server and the clients. This can help you to identify any network problems.
If you are unable to find the source of the problem, you can try to recreate the problem locally. This can help you to determine if the problem is specific to the server environment or if it is a problem with the GraphQL Broadcasting service itself.