[Intelmq-dev] Bot problem

Sebastian Wagner wagner at cert.at
Mon Jan 14 15:34:01 CET 2019


To influence the timeout you can reduce http_timeout_sec.

I will look into the error_procedure thing.

On 14/01/2019 09.46, Vaclav Bruzek wrote:
> Hi,
> I've recently encountered a problem with the rest-api-output bot. The
> bot sometimes timeouts because the consumer endpoint is unavailable.
> I've thought that the error_procedure -> pass would solve the problem
> and the bot would retry after several seconds (immediately in current
> set-up). However the bot tries once and than stops I thought that max
> retiries discards the event but in this case it seems that it shuts
> down the bot itself. There are no modifications to the code of the
> code. Following is the runtime configuration without the targets
> configuration. The exception is quite large so I've added it to the
> attachment.
>
> "rest-api-0-output":{
>    "group":"Output",
>    "module":"intelmq.bots.outputs.restapi.output",
>    "name":"REST API",
>    "parameters":{
>       "error_dump_message":true,
>       "error_log_message":true,
>       "error_max_retries":1,
>       "error_procedure":"pass",
>       "error_retry_delay":0,
>       "hierarchical_output":true,
>       "use_json":true
>    }
> },
>
> Sincerely,
> Václav Brůžek
>
> _______________________________________________
> Intelmq-dev mailing list
> Intelmq-dev at lists.cert.at
> https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev

-- 
// Sebastian Wagner <wagner at cert.at> - T: +43 1 5056416 7201
// CERT Austria - https://www.cert.at/
// Eine Initiative der nic.at GmbH - https://www.nic.at/
// Firmenbuchnummer 172568b, LG Salzburg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cert.at/pipermail/intelmq-dev/attachments/20190114/5c94356e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cert.at/pipermail/intelmq-dev/attachments/20190114/5c94356e/attachment.sig>


More information about the Intelmq-dev mailing list