Timeout on AIP index

12 views
Skip to first unread message

Roberto Greiner

unread,
Sep 25, 2025, 8:33:28 AMSep 25
to archiv...@googlegroups.com

Hi,

I'm storing relatively large sets of files on archivematica (about 200 PDF, 5GB total). When the job is ending, the "Index AIP" step fails with a timeout error message. The timeout is currently at 10 seconds. How do I increase this time to, lets say, 60 seconds?

I've tried adding the following entries to /etc/default/archivematica-dashboard

ARCHIVEMATICA_DASHBOARD_SEARCH_TIMEOUT=60
ARCHIVEMATICA_DASHBOARD_ELASTICSEARCH_TIMEOUT=60
export ARCHIVEMATICA_DASHBOARD_ELASTICSEARCH_TIMEOUT=60
export ARCHIVEMATICA_DASHBOARD_ELASTICSEARCH_MAX_RETRIES=10
export ARCHIVEMATICA_DASHBOARD_ELASTICSEARCH_RETRY_ON_TIMEOUT=True

After that, I restarted all archivematica processes, but the jobs are still failing after 10 seconds. More specifically, with this message:

ConnectionTimeout('TIMEOUT', "HTTPConnectionPool(host='localhost', port=9200): Read timed out. (read timeout=10.0)", ReadTimeoutError("HTTPConnectionPool(host='localhost', port=9200): Read timed out. (read timeout=10.0)"))
Traceback (most recent call last):


How do I increase this timeout?

Thank you,

Roberto

PS: using Ubuntu 22.04.05, with archivematica 1.17.1.
-- 
  -----------------------------------------------------
                Marcos Roberto Greiner

   Os otimistas acham que estamos no melhor dos mundos
    Os pessimistas tem medo de que isto seja verdade
                             James Branch Cabell
  -----------------------------------------------------

Douglas Cerna

unread,
Sep 25, 2025, 11:11:18 AMSep 25
to archiv...@googlegroups.com
Hello,

The Elasticsearch settings in the /etc/default/archivematica-dashboard file control how the Dashboard views (e.g. the Backlog, Appraisal and Archival storage tabs) interact with Elasticsearch.

For MCPClient jobs such as "Index AIP" you need to set the timeout in the /etc/default/archivematica-mcp-client file instead:

ARCHIVEMATICA_MCPCLIENT_MCPCLIENT_ELASTICSEARCHTIMEOUT=60

Hope this helps.

--
You received this message because you are subscribed to the Google Groups "archivematica" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archivematic...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/archivematica/74f786e7-8e3d-4cd5-82d3-d83ca6b51e35%40gmail.com.


--
Douglas Cerna (he/him),
Software Developer, Artefactual Systems Inc.
http://www.artefactual.com
Reply all
Reply to author
Forward
0 new messages