BUG: When connecting to the poker mavens API and doing multiple API queries, the PMService restarts the computer completely. Why it restarts is unknown. This issue happens 100% of the time when using the API and is fully reproducible.
VERSION TESTED: 7.30
SETUP: Completely new install, 1 test user, 1 test ring game. API is enabled. 8x CPU 64GB RAM server with 0% CPU used and 1% RAM used.
STEPS TO REPRODUCE: Create a simple script to query each API endpoint. Time between each endpoint query seems to not matter. For example, I have enumerated 83 API query endpoints. If I query each API endpoint with 0 delay then the PMService.exe will immediately issue a reboot of the server. If I query each API endpoint with 30 seconds delay between each query, which takes 3/4 an hour, then the PMService.exe will issue a reboot of the server still. Queries are not concurrent. During this time, the server is near 1% CPU/RAM utilization, so hardware resources are not an issue.
The crash can occur at any API query, however, it tends to occur around the 60-80th API endpoint queried.
I am creating my own interface into PMavens via API so it is alarming that simple API queries will cause it to crash.
When consulting the system Event Viewer, it shows the following:
The process PMService.exe has initiated the restart of computer <SNIP> on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Unplanned)
Reason Code: 0x0
Shutdown Type: restart
Comment:
I have tested in multiple OS environments and the issue persists and is 100% reproducable.
SEVERITY: 10/10 I need API access to work correctly. Having the server reboot itself when using the API creates a unusable situation.
Critical Bug: PMService.exe consistently restarts the computer when doing API calls
-
Kent Briggs
- Site Admin
- Posts: 6027
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Critical Bug: PMService.exe consistently restarts the computer when doing API calls
The only way you should be able to reboot the server is if you intentionally called SystemReboot in the API. Are you sure you are not doing that in your tests?
Re: Critical Bug: PMService.exe consistently restarts the computer when doing API calls
Ah I did not know that this was an API option. You may be correct!
What is the use-case to allow the system to be rebooted via the API?
Is there a way to auto-start the poker to auto-start / bring the poker server "ONLINE"? I don't see it as an option in the admin UI website.
Thanks
What is the use-case to allow the system to be rebooted via the API?
Is there a way to auto-start the poker to auto-start / bring the poker server "ONLINE"? I don't see it as an option in the admin UI website.
Thanks
Re: Critical Bug: PMService.exe consistently restarts the computer when doing API calls
I found the solution to this, thanks!alf493023 wrote: Fri Mar 13, 2026 5:57 pm Is there a way to auto-start the poker to auto-start / bring the poker server "ONLINE"? I don't see it as an option in the admin UI website.
-
Kent Briggs
- Site Admin
- Posts: 6027
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Critical Bug: PMService.exe consistently restarts the computer when doing API calls
To fix a crashed server remotely. Should be a rarely used option.alf493023 wrote: Fri Mar 13, 2026 5:57 pm What is the use-case to allow the system to be rebooted via the API?