[[qanda:topic\_unsolved]] Puffer API Problem #889
Replies: 6 comments 2 replies
-
LordRalex wrote at Jan 17 2019 17:25:43 UTC: What version of pufferd? pufferd --version. |
Beta Was this translation helpful? Give feedback.
-
Dr_Blamo wrote at Jan 17 2019 17:25:43 UTC: pufferd 1.2.5 (e097cfead655ffcdf834aedf53e5f40b0678998c) |
Beta Was this translation helpful? Give feedback.
-
Dr_Blamo wrote at Jan 17 2019 17:25:43 UTC: Minecraft servers |
Beta Was this translation helpful? Give feedback.
-
Dr_Blamo wrote at Jan 17 2019 17:25:43 UTC: The example script is on my website, but I can re-dev it just to allow you to test. |
Beta Was this translation helpful? Give feedback.
-
Dr_Blamo wrote at Jan 17 2019 17:25:43 UTC: LordRalex |
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Jan 17 2019 17:25:43 UTC: I did check the code, and the wait code looks correct. We do look to see if the parameter exists (the value doesn't matter) and if it's there, we wait for the server to end it's main process, which that code is used elsewhere. We use this same code to drive our "restart" button as well, so if there's an issue with our code, certainly possible it's a bug we've missed. https://github.com/PufferPanel/PufferPanel/blob/master/app/views/node/index.html#L544 Your code looks correct as well, so looks like testing will be needed. I did check our releases, and that was the reason for the 1.1 to 1.2 release. That was a breaking change, since it used to be broken in that it did the opposite. |
Beta Was this translation helpful? Give feedback.
-
Dr_Blamo wrote at Jan 17 2019 17:25:43 UTC:
Hello,
I need to restart all my servers at 5am, but when I use the API to restart all the servers,
only one server couldn't restart because of the wait=true query string that is not working well.
The callback is done before...
Could you please help me ? Thanks
Beta Was this translation helpful? Give feedback.
All reactions