I’ve written a number of scripts (Bash and PowerShell Core) to use as Plugins. Starting in March of 2022, I started getting occasional time outs. After some testing, I have determined that any script that takes more than 10 or 11 seconds to execute will time out.
pandora_server.log:
2022-06-21 13:33:39 ProducerConsumerServer: pandoraserver.domain.com [V3] Plug-in module Test for agent dd0aa20090f94f38bbe288550ad1d17644b3fdf968c2560ba81be5b124fe053a timed out.
It doesn’t matter what I set the “time out” value to for the plugin or the module (whether 0 or some high number).
The way I create plugins is to write a standard Bash or PowerShell script (depends on the target computer). From the console, I go to Servers, Plugins and click Add.
Name: Test
Plugin type: Standard
Max. timeout: 5 minutes
(I’ve tried changing this with no effect. I have also tried changing the timeout for the module that runs the plugin.)
I’ve been doing it this way since version 7.0 first released, and it has worked fine up until early March. If there is a better way to create plugins, can you link to the documentation?
“In the execution of a plugin, there are three timeouts: server, plugin and module…”
In my case, the limiting value was the “server” timeout set to the default of 12 (secs).
I increased it, and now all is good.
The web page you linked mentions the server timeout but does not say where or how it is set. Since it overrides the plugin and module timeouts, I suggest including the details on that page.
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show (non-) personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.