Context chat backend: Initial Load timeout

Hello,

i’ve running context_chat_backend:4.0.3 on my own hardware.

Regarding the documantation App: Context Chat — Nextcloud latest Administration Manual latest documentation is recommanded to run scan process for initial load.

in my case, i’ve got an error by executing: context_chat:scan <user_id>:

In LangRopeService.php line 132:
                                                                               
  Error during request to Context Chat Backend (ExApp): cURL error 28: Operat  
  ion timed out after 3000000 milliseconds with 0 bytes received (see https:/  
  /curl.haxx.se/libcurl/c/libcurl-errors.html) for http://context_chat_backen  
  d:23001/loadSources                                                                                       

My Question: How i can extend the timeout?

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 9 (30.0.4), docker
  • Operating system and version (e.g., Ubuntu 24.04):
    • docker
  • Web server and version (e.g, Apache 2.4.25):
    • docker
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • docker
  • PHP version (e.g, 8.3):
    • docker
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • asking a question about a specified document
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • docker
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Inital Load stop by throwing timeout error.

Steps to replicate it (hint: details matter!):

  1. Installing Nextcloud 30.0.4
  2. ExApi
  3. Installing nextcloud context chat Backend and app
  4. run context_chat:scan <user_id>: