Callbacks stop working without a restart

Report bugs found in Poker Mavens

Callbacks stop working without a restart

Postby Win4fun » Thu Sep 05, 2013 2:40 pm

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?
Win4fun
 
Posts: 29
Joined: Tue Jul 02, 2013 12:51 pm

Re: Callbacks stop working without a restart

Postby Kent Briggs » Thu Sep 05, 2013 2:53 pm

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?


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?
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3805
Joined: Wed Mar 19, 2008 8:47 pm

Re: Callbacks stop working without a restart

Postby Win4fun » Thu Sep 05, 2013 9:07 pm

Kent Briggs wrote:
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?


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?


They're on separate servers.
Win4fun
 
Posts: 29
Joined: Tue Jul 02, 2013 12:51 pm

Re: Callbacks stop working without a restart

Postby Kent Briggs » Thu Sep 05, 2013 11:48 pm

Is anything getting recorded in the error log? You should see "Callback event error: xxxx" if the callback fails.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3805
Joined: Wed Mar 19, 2008 8:47 pm

Re: Callbacks stop working without a restart

Postby Win4fun » Fri Sep 06, 2013 12:14 pm

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?
Win4fun
 
Posts: 29
Joined: Tue Jul 02, 2013 12:51 pm

Re: Callbacks stop working without a restart

Postby Kent Briggs » Fri Sep 06, 2013 12:21 pm

Win4fun wrote:Is there some sort of cap on how many unsuccessful callback requests the client will make before it stops working altogether?


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.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3805
Joined: Wed Mar 19, 2008 8:47 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron