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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tahir AnsariPosted Oct 5, 2023, 3:44 AM
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.