LocalAI CORS error

What app is this about, and its version: Local AI 3.7.0~ynh1
What YunoHost version are you running: 12.1.36 (stable)
What type of hardware are you using: Old laptop or computer

Describe your issue

Bonjour à tous,

j’ai installé local AI sur un sous-domaine :
https://ai.mondomaine.com
Puis j’ai téléchargé le modèle qwen3-1.7b.

Lorsque je tente un premier prompt voici l’erreur affichée :
Network Error: NetworkError when attempting to fetch resource.
Lorsque je regarde dans les outils dév de la page web (F12) il me renvoie une erreur CORS dans l’onglet network.

Côté logs interne du serveur, il ne se passe rien… la requête ne semble pas être arrivée.

Merci de votre aide !

Amaury

Share relevant logs or error messages

curl 'https://mondomaine.com/yunohost/sso?r=aHR0cHM6Ly9haS5kZXNiYXplaWxsZS5jb20vdjEvY2hhdC9jb21wbGV0aW9ucw==' \
  -X OPTIONS \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0' \
  -H 'Accept: */*' \
  -H 'Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3' \
  -H 'Accept-Encoding: gzip, deflate, br, zstd' \
  -H 'Access-Control-Request-Method: GET' \
  -H 'Origin: https://ai.mondomaine.com' \
  -H 'Connection: keep-alive' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-site' \
  -H 'Priority: u=4' \
  -H 'TE: trailers'

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.