# External script to query MariaDB sometime return an error

**URL:** <https://forum.genieacs.com/t/external-script-to-query-mariadb-sometime-return-an-error/3441>\
**Category:** Uncategorized\
**Created:** [January 18, 2023, 7:15pm UTC](https://forum.genieacs.com/t/external-script-to-query-mariadb-sometime-return-an-error/3441 "2023-01-18T19:15:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rudymartin](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@rudymartin](https://forum.genieacs.com/u/rudymartin)\
**Post date:** [January 18, 2023, 7:22pm UTC](https://forum.genieacs.com/t/external-script-to-query-mariadb-sometime-return-an-error/3441/2 "2023-01-18T19:22:01Z")

</div>

> [@Extension timeout even with callback](https://forum.genieacs.com/t/extension-timeout-even-with-callback/2787/2):
>
> I know that I am not answering your exact question, might be unrelated to your problem, and others might disagree with me on this, but I had the same problem about extensions time-out, and ended up using a reverse approach. Instead of going out to the network to ask for information, it is our restapi server which goes to the ACS, using a web page as middle man, which in turn creates a JSON text file on filesystem using the serial number as filename and the content passed by the post as is. Eac…

---

_[View the full topic](https://forum.genieacs.com/t/external-script-to-query-mariadb-sometime-return-an-error/3441)._
