Callbacks stop working without a restart
Callbacks stop working without a restart
I've ran into this issue a couple times now. If the vps for the poker client isn't regularly restarted callbacks will stop working (No POST request is sent). Is there any way to prevent this from happening and if not how often should the server be restarted to avoid this?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Callbacks stop working without a restart
I've not heard of this problem from anyone else. Is your callback script on the same server as the poker server or on some remote server?Win4fun wrote:I've ran into this issue a couple times now. If the vps for the poker client isn't regularly restarted callbacks will stop working (No POST request is sent). Is there any way to prevent this from happening and if not how often should the server be restarted to avoid this?
Re: Callbacks stop working without a restart
They're on separate servers.Kent Briggs wrote:I've not heard of this problem from anyone else. Is your callback script on the same server as the poker server or on some remote server?Win4fun wrote:I've ran into this issue a couple times now. If the vps for the poker client isn't regularly restarted callbacks will stop working (No POST request is sent). Is there any way to prevent this from happening and if not how often should the server be restarted to avoid this?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Callbacks stop working without a restart
Is anything getting recorded in the error log? You should see "Callback event error: xxxx" if the callback fails.
Re: Callbacks stop working without a restart
Before the callbacks stopped working the server that handles the callbacks went down for a bit which caused the error logs to spam "Callback event error: "HTTP/1.1 502 Bad Gateway" for a bit. For a few days after callbacks continued to not work even though the callback handling server was restored. Finally after restarting the poker client did callbacks start working again. Is there some sort of cap on how many unsuccessful callback requests the client will make before it stops working altogether?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Callbacks stop working without a restart
No, it runs in it's own thread loop and should continue on until the poker server is shut down. I'll put in some extra error trapping and see if I can catch it stopping prematurely.Win4fun wrote:Is there some sort of cap on how many unsuccessful callback requests the client will make before it stops working altogether?