Forum Folding@home - Alliance Francophone

Version complète : Client Linux - Docker Compose - HTTP error ??
Vous consultez actuellement la version basse qualité d’un document. Voir la version complète avec le bon formatage.
Pages : 1 2
Bonjour à tous.te.s,

J'ai commencé à mettre en place sur mon serveur Linux (à la maison) une stack docker compose pour F@H.

Et visiblement ca ne marche pas très bien, et le problème n'a pas l'air d'être "de mon coté", mais comme je suis débutant chez F@H je me dis que j'ai probablement fait quelque chose d'incorrect.

Ma stack est basée sur ce projet là:
https://hub.docker.com/r/linuxserver/foldingathome

J'utilise le tag 'latest', qui correspond à la version 8.5.5 (https://hub.docker.com/r/linuxserver/foldingathome/tags)

Stack Docker Compose
Code :
version: "3.9"

services:
  foldingathome:
    image: lscr.io/linuxserver/foldingathome:latest
    container_name: foldingathome

    # GPU support (commented out for now)
    # runtime: nvidia

    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      #- ACCOUNT_TOKEN="blablabla"
      - ACCOUNT_TOKEN=
      - MACHINE_NAME="mrjay42"
      - CLI_ARGS= # optional

      # GPU-related variables (commented out)
      # - NVIDIA_VISIBLE_DEVICES=all
      # - NVIDIA_DRIVER_CAPABILITIES=compute,utility

    volumes:
      - /home/mrjay/Desktop/apps/foldingAtHome:/config

    ports:
      - 7396:7396 # optional

    networks:
      - private_secured_network

    restart: unless-stopped

networks:
  private_secured_network:
    external: true

Vous pouvez voir que j'ai essayé avec et sans token (apparemment autorisé).



Logs
Actuellement (sans token), voici l'erreur que j'obtiens (l'erreur est à la fin, pas la peine de lire tout le log. J'ai quand meme mis les log dans leurs intégralité juste au cas où j'aurais loupé un détail).

Code :
───────────────────────────────────────

To support the app dev(s) visit:

Folding@home: https://foldingathome.org/about/donate/

To support LSIO projects visit:

https://www.linuxserver.io/donate/

───────────────────────────────────────

GID/UID

───────────────────────────────────────

User UID:    1000

User GID:    1000

───────────────────────────────────────

Linuxserver.io version: 8.5.5-ls187

Build-date: 2026-01-20T04:07:27+00:00

───────────────────────────────────────

   

[custom-init] No custom files found, skipping...

***************************************************************************

***************************************************************************

****                                                                   ****

****                                                                   ****

****    On first run, both the ACCOUNT_TOKEN and the MACHINE_NAME      ****

**** env vars are required. Please set them and recreate the container ****

****    unless the instance was previously added to online account.    ****

****                                                                   ****

****                                                                   ****

***************************************************************************

***************************************************************************

13:33:55:I1:*********************** Folding@home Client ***********************

13:33:55:I1:    Version: 8.5.5

13:33:55:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>

13:33:55:I1:        Org: foldingathome.org

13:33:55:I1:  Copyright: 2023-2025, foldingathome.org

13:33:55:I1:   Homepage: https://foldingathome.org/

13:33:55:I1:    License: GPL-3.0-or-later

13:33:55:I1:        URL: https://v8-5.foldingathome.org/

13:33:55:I1:       Date: Dec 2 2025

13:33:55:I1:       Time: 14:58:19

13:33:55:I1:   Revision: 2c6fbaa45e4ee4854195a9f0d4b86300975b6543

13:33:55:I1:     Branch: master

13:33:55:I1:   Compiler: GNU 12.5.0

13:33:55:I1:    Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char -O3 -fPIC

13:33:55:I1:             -fstack-protector-strong

13:33:55:I1:   Platform: linux 4.19.0-27-cloud-amd64

13:33:55:I1:       Bits: 64

13:33:55:I1:       Mode: Release

13:33:55:I1:       Args: --http-addresses 0.0.0.0:7396 --allow 0/0

13:33:55:I1:****************************** CBang ******************************

13:33:55:I1:    Version: 1.7.2

13:33:55:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>

13:33:55:I1:        Org: Cauldron Development

13:33:55:I1:  Copyright: Cauldron Development, 2003-2025

13:33:55:I1:   Homepage: https://cauldrondevelopment.com/

13:33:55:I1:    License: LGPL-2.1-or-later

13:33:55:I1:       Date: Dec 3 2025

13:33:55:I1:       Time: 11:44:04

13:33:55:I1:   Revision: 83a4be55c1b21d5383650f51a7887fd9c25b836c

13:33:55:I1:     Branch: master

13:33:55:I1:   Compiler: GNU 12.5.0

13:33:55:I1:    Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char -O3 -fPIC

13:33:55:I1:             -fstack-protector-strong

13:33:55:I1:   Platform: linux 4.19.0-27-cloud-amd64

13:33:55:I1:       Bits: 64

13:33:55:I1:       Mode: Release

13:33:55:I1:***************************** System ******************************

13:33:55:I1:        CPU: Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz

13:33:55:I1:     CPU ID: GenuineIntel Family 6 Model 79 Stepping 1

13:33:55:I1:       CPUs: 56

13:33:55:I1:     Memory: 62.67GiB

13:33:55:I1:Free Memory: 969.48MiB

13:33:55:I1: OS Version: 6.12

13:33:55:I1:Has Battery: false

13:33:55:I1: On Battery: false

13:33:55:I1:   Hostname: 109660d80323

13:33:55:I1: UTC Offset: 0

13:33:55:I1:        PID: 176

13:33:55:I1:        CWD: /config

13:33:55:I1:       Exec: /app/fah-client

13:33:55:I1:*******************************************************************

13:33:55:I2:<config/>

13:33:55:I1:Opening Database

13:33:55:I1:F@H ID = NJ6CIxFxuRoZjOJO-_t_NOJLZpt2n1vAr7vhIT2fz5s

13:33:55:I3:Loading default resource group

13:33:55:I2:Listening for HTTP on 0.0.0.0:7396

13:33:55:I3:Loaded 0 wus.

13:33:55:I2:Loading gpus.json

13:33:55:I3:gpus = {

13:33:55:I3:  "gpu:02:00:00": {"vendor": 4318, "device": 10243, "type": "nvidia", "supported": false, "description": "AD106 [GeForce RTX 4060 Ti]"}

13:33:55:I3:}

13:33:55:I2:OUT1:> PUT /machine/NJ6CIxFxuRoZjOJO-_t_NOJLZpt2n1vAr7vhIT2fz5s HTTP/1.1

13:33:55:E :OUT1:Failed response: EOF

Connection to localhost (127.0.0.1) 7396 port [tcp/*] succeeded!

[ls.io-init] done.

13:34:10:I2:OUT3:> PUT /machine/NJ6CIxFxuRoZjOJO-_t_NOJLZpt2n1vAr7vhIT2fz5s HTTP/1.1

13:34:10:E :OUT3:Failed response: EOF




Pour info
  • Dans le doute j'ai testé depuis mon PC windows, connecté au même réseau -> tout marche parfaitement.
  • Depuis le container docker je peux tout à fait accéder à Internet. Je peux ping des adresses IP et même installer des packages avec APT (ce qui veut dire que la résolution de noms DNS fonctionne nikel)
  • Est-ce que je dois ouvrir un port pour que Folding At Home fonctionne?

Si vous voyez ce que j'ai pu faire d'incorrect, n'hésitez pas
Merci d'avance pour votre aide.
Bon beh j'ai trouvé le problème

Et ca ne vient pas de moi, enfin pas vraiment: F@H bloque mon FAI (fournisseur d'accès Internet, SFR) ou mon IP range.

Voici ce que j'ai fait pour tester mon hypothèse:

Code :
$ curl -Iv https://api.foldingathome.org
* Host api.foldingathome.org:443 was resolved.
* IPv6: (none)
* IPv4: 3.136.33.72
*  Trying 3.136.33.72:443...
* connect to 3.136.33.72 port 443 from 192.168.1.42 port 56426 failed: Connection refused
* Failed to connect to api.foldingathome.org port 443 after 121 ms: Could not connect to server
* closing connection #0
curl: (7) Failed to connect to api.foldingathome.org port 443 after 121 ms: Could not connect to server
mrjay@minibip:~$ curl -Iv https://stats.foldingathome.org
* Host stats.foldingathome.org:443 was resolved.
* IPv6: (none)
* IPv4: 3.136.33.72
*  Trying 3.136.33.72:443...
* connect to 3.136.33.72 port 443 from 192.168.1.42 port 54660 failed: Connection refused
* Failed to connect to stats.foldingathome.org port 443 after 121 ms: Could not connect to server
* closing connection #0
curl: (7) Failed to connect to stats.foldingathome.org port 443 after 121 ms: Could not connect to server
mrjay@minibip:~$ curl -Iv https://client.foldingathome.org
* Host client.foldingathome.org:443 was resolved.
* IPv6: 2606:4700::6812:1291, 2606:4700::6812:1391
* IPv4: 104.18.18.145, 104.18.19.145
*  Trying [2606:4700::6812:1291]:443...
* Immediate connect fail for 2606:4700::6812:1291: Network is unreachable
*  Trying [2606:4700::6812:1391]:443...
* Immediate connect fail for 2606:4700::6812:1391: Network is unreachable
*  Trying 104.18.18.145:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=foldingathome.org
*  start date: Dec  9 03:44:30 2025 GMT
*  expire date: Mar  9 04:44:20 2026 GMT
*  subjectAltName: host "client.foldingathome.org" matched cert's "*.foldingathome.org"
*  issuer: C=US; O=Google Trust Services; CN=WE1
*  SSL certificate verify ok.
*  Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256
*  Certificate level 1: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA384
*  Certificate level 2: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384
* Connected to client.foldingathome.org (104.18.18.145) port 443
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://client.foldingathome.org/
* [HTTP/2] [1] [:method: HEAD]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: client.foldingathome.org]
* [HTTP/2] [1] [:path: /]
* [HTTP/2] [1] [user-agent: curl/8.14.1]
* [HTTP/2] [1] [accept: */*]
> HEAD / HTTP/2
> Host: client.foldingathome.org
> User-Agent: curl/8.14.1
> Accept: */*
>
* Request completely sent off
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
< HTTP/2 200
HTTP/2 200
< date: Wed, 21 Jan 2026 14:09:55 GMT
date: Wed, 21 Jan 2026 14:09:55 GMT
< content-type: text/html
content-type: text/html
< server: cloudflare
server: cloudflare
< last-modified: Sun, 04 Feb 2024 14:09:01 GMT
last-modified: Sun, 04 Feb 2024 14:09:01 GMT
< etag: W/"65bf9a7d-1643"
etag: W/"65bf9a7d-1643"
< cf-cache-status: DYNAMIC
cf-cache-status: DYNAMIC
< cf-ray: 9c17645ffdc64b79-MRS
cf-ray: 9c17645ffdc64b79-MRS
< alt-svc: h3=":443"; ma=86400
alt-svc: h3=":443"; ma=86400
<

* Connection #0 to host client.foldingathome.org left intact



En clair:
https://api.foldingathome.org -> ne repond pas, y compris depuis mon PC windows et reponds depuis mon tel en 4G
https://stats.foldingathome.org -> refuse aussi la connection -> et fonctionne depuis mon tel en 4G


Bon beh...je vais pas passer par un VPN ou proxy pour du F@H
Je ne sais pas si je suis "le seul" affecté par ce problème, mais ca me parait improbable.
Je vais pas pouvoir t'aider beaucoup, et je vais peut être dire une connerie, mais dans cette ligne :

Code :
* connect to 3.136.33.72 port 443 from 192.168.1.42 port 56426 failed: Connection refused

C'est normal cette IP interne ?

Si je test la commande "curl -Iv https://api.foldingathome.org", que ce soit sur Windows ou Linux, je n'ai aucune IP "from" de spécifiée, ni interne, ni externe.
(21-01-2026 16:35:26)Thor a écrit : [ -> ]Je vais pas pouvoir t'aider beaucoup, et je vais peut être dire une connerie, mais dans cette ligne :

Code :
* connect to 3.136.33.72 port 443 from 192.168.1.42 port 56426 failed: Connection refused

C'est normal cette IP interne ?

Si je test la commande "curl -Iv https://api.foldingathome.org", que ce soit sur Windows ou Linux, je n'ai aucune IP "from" de spécifiée, ni interne, ni externe.

Merci pour ta reponse <3


Maintenant depuis mon serveur Linux (en dehors du container), j'obtiens ca: (ca remarche aussi sous Windows)

il est possible que mon IP ait été bloquée temporairement (?) à cause de la mise en place de ma stack qui a peut être un peu spammer le serveur de F@H

Code :
$ curl -Iv https://api.foldingathome.org
* Host api.foldingathome.org:443 was resolved.
* IPv6: (none)
* IPv4: 3.136.33.72
*   Trying 3.136.33.72:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: CN=api.foldingathome.org
*  start date: Dec 22 04:52:02 2025 GMT
*  expire date: Mar 22 04:52:01 2026 GMT
*  subjectAltName: host "api.foldingathome.org" matched cert's "api.foldingathome.org"
*  issuer: C=US; O=Let's Encrypt; CN=E8
*  SSL certificate verify ok.
*   Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA384
*   Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption
* Connected to api.foldingathome.org (3.136.33.72) port 443
* using HTTP/1.x
> HEAD / HTTP/1.1
> Host: api.foldingathome.org
> User-Agent: curl/8.14.1
> Accept: */*
>
* Request completely sent off
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
< HTTP/1.1 200 HTTP_OK
HTTP/1.1 200 HTTP_OK
< Server: nginx
Server: nginx
< Date: Wed, 21 Jan 2026 16:16:20 GMT
Date: Wed, 21 Jan 2026 16:16:20 GMT
< Content-Type: text/html; charset=UTF-8
Content-Type: text/html; charset=UTF-8
< Connection: keep-alive
Connection: keep-alive
< Vary: Origin
Vary: Origin
< Access-Control-Allow-Methods: POST,PUT,GET,OPTIONS,DELETE
Access-Control-Allow-Methods: POST,PUT,GET,OPTIONS,DELETE
< Access-Control-Allow-Headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Set-Cookie,Authorization
Access-Control-Allow-Headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Set-Cookie,Authorization
< Access-Control-Allow-Credentials: true
Access-Control-Allow-Credentials: true
< Strict-Transport-Security: max-age=63072000
Strict-Transport-Security: max-age=63072000
< X-Cache-Status: HIT
X-Cache-Status: HIT
<

* Connection #0 to host api.foldingathome.org left intact


Mais maintenant, ca crash dans le container avec cette erreur:

Code :
[migrations] started

[migrations] no migrations found

───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗

      ██║     ██╔════╝██║██╔═══██╗

      ██║     ███████╗██║██║   ██║

      ██║     ╚════██║██║██║   ██║

      ███████╗███████║██║╚██████╔╝

      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io

───────────────────────────────────────

To support the app dev(s) visit:

Folding@home: https://foldingathome.org/about/donate/

To support LSIO projects visit:

https://www.linuxserver.io/donate/

───────────────────────────────────────

GID/UID

───────────────────────────────────────

User UID:    1000

User GID:    1000

───────────────────────────────────────

Linuxserver.io version: 8.5.5-ls187

Build-date: 2026-01-20T04:07:27+00:00

───────────────────────────────────────

   

[custom-init] No custom files found, skipping...

16:18:21:I1:*********************** Folding@home Client ***********************

16:18:21:I1:    Version: 8.5.5

16:18:21:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>

16:18:21:I1:        Org: foldingathome.org

16:18:21:I1:  Copyright: 2023-2025, foldingathome.org

16:18:21:I1:   Homepage: https://foldingathome.org/

16:18:21:I1:    License: GPL-3.0-or-later

16:18:21:I1:        URL: https://v8-5.foldingathome.org/

16:18:21:I1:       Date: Dec 2 2025

16:18:21:I1:       Time: 14:58:19

16:18:21:I1:   Revision: 2c6fbaa45e4ee4854195a9f0d4b86300975b6543

16:18:21:I1:     Branch: master

16:18:21:I1:   Compiler: GNU 12.5.0

16:18:21:I1:    Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char -O3 -fPIC

16:18:21:I1:             -fstack-protector-strong

16:18:21:I1:   Platform: linux 4.19.0-27-cloud-amd64

16:18:21:I1:       Bits: 64

16:18:21:I1:       Mode: Release

16:18:21:I1:       Args: --http-addresses 0.0.0.0:7396 --allow 0/0 --account-token

16:18:21:I1:             ea56cf1749580b05ea56cf1749580b05 --machine-name pouet

16:18:21:I1:****************************** CBang ******************************

16:18:21:I1:    Version: 1.7.2

16:18:21:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>

16:18:21:I1:        Org: Cauldron Development

16:18:21:I1:  Copyright: Cauldron Development, 2003-2025

16:18:21:I1:   Homepage: https://cauldrondevelopment.com/

16:18:21:I1:    License: LGPL-2.1-or-later

16:18:21:I1:       Date: Dec 3 2025

16:18:21:I1:       Time: 11:44:04

16:18:21:I1:   Revision: 83a4be55c1b21d5383650f51a7887fd9c25b836c

16:18:21:I1:     Branch: master

16:18:21:I1:   Compiler: GNU 12.5.0

16:18:21:I1:    Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char -O3 -fPIC

16:18:21:I1:             -fstack-protector-strong

16:18:21:I1:   Platform: linux 4.19.0-27-cloud-amd64

16:18:21:I1:       Bits: 64

16:18:21:I1:       Mode: Release

16:18:21:I1:***************************** System ******************************

16:18:21:I1:        CPU: Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz

16:18:21:I1:     CPU ID: GenuineIntel Family 6 Model 79 Stepping 1

16:18:21:I1:       CPUs: 56

16:18:21:I1:     Memory: 62.67GiB

16:18:21:I1:Free Memory: 771.43MiB

16:18:21:I1: OS Version: 6.12

16:18:21:I1:Has Battery: false

16:18:21:I1: On Battery: false

16:18:21:I1:   Hostname: a46958d79a77

16:18:21:I1: UTC Offset: 1

16:18:21:I1:        PID: 176

16:18:21:I1:        CWD: /config

16:18:21:I1:       Exec: /app/fah-client

16:18:21:I1:*******************************************************************

16:18:21:I2:<config/>

16:18:21:I1:Opening Database

16:18:21:I1:F@H ID = NJ6CIxFxuRoZjOJO-_t_NOJLZpt2n1vAr7vhIT2fz5s

16:18:21:I3:Loading default resource group

16:18:21:I2:Listening for HTTP on 0.0.0.0:7396

16:18:21:I3:Loaded 0 wus.

16:18:21:I2:Loading gpus.json

16:18:21:I3:gpus = {

16:18:21:I3:  "gpu:02:00:00": {"vendor": 4318, "device": 10243, "type": "nvidia", "supported": false, "description": "AD106 [GeForce RTX 4060 Ti]"}

16:18:21:I3:}

16:18:21:I2:OUT1:> PUT /machine/NJ6CIxFxuRoZjOJO-_t_NOJLZpt2n1vAr7vhIT2fz5s HTTP/1.1

Connection to localhost (127.0.0.1) 7396 port [tcp/*] succeeded!

[ls.io-init] done.

16:18:23:I2:OUT1:< HTTP/1.1 400 HTTP_BAD_REQUEST

16:18:23:E :OUT1:HTTP_BAD_REQUEST: {"error":"DB:1644: Invalid token"}

En gros, ca me dit "invalid token", le truc c'est que mon token marche forcément, puisque j'en sers depuis le client Windows

Ci-dessous, voici ma stack avec mon token (j'ai juste changé UNE SEULE lettre, pour le poster ici, mais sinon c'est exactement pareil dans mon Portainer):

Code :
version: "3.9"

services:
  foldingathome:
    image: lscr.io/linuxserver/foldingathome:latest
    container_name: foldingathome

    # GPU support (commented out for now)
    # runtime: nvidia

    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Paris
      - ACCOUNT_TOKEN=bc56cf1749580b05ea56cf1749580b05

      - MACHINE_NAME=pouet
      - CLI_ARGS= # optional

      # GPU-related variables (commented out)
      # - NVIDIA_VISIBLE_DEVICES=all
      # - NVIDIA_DRIVER_CAPABILITIES=compute,utility

    volumes:
      - /home/mrjay/Desktop/apps/foldingAtHome:/config

    ports:
      - 7396:7396 # optional

    networks:
      - private_secured_network



    restart: unless-stopped

networks:
  private_secured_network:
    external: true


J'ai essayé d'entourer le token avec ET sans des guillemets autour du token -> meme résultat
Salut, j'y connais rien de rien , mais , concernant :
Code :
       - /home/mrjay/Desktop/apps/foldingAtHome:/config
- est-ce que le /data qu'on voyait dans la doc n'est pas nécessaire ?
- est-ce qu'il n'y a pas des droits particulier (chown/chmod) à mettre pour que le container puisse écrire là dedans ?

car la log montre une ligne
Code :
16:18:21:I2:<config/>
ce qui pourrait laisser penser que les params (token et machinename) passé en parametre n'ont pas été écrit là dedans (et du coup, pas de token / token vide / invalid token en msg d'erreur)

NB : ton token est bien passé / pris en compte par le container,on le voit (sans ta modif, d'ailleurs Wink ) dans la log que t'as envoyé , au démarrage du bouzin.
Tu avais recréé le conteneur ?

Car la log de ton premier lancement sans les param dit ça :
Code :
****    On first run, both the ACCOUNT_TOKEN and the MACHINE_NAME      ****

**** env vars are required. Please set them and recreate the container ****

****    unless the instance was previously added to online account.    ****
donc au lancement suivant, possible que ça ne veuille pas les prendre en compte (sans recréation du container), d'où le config.xml vide ?


et si jamais tu as des choses dans ton /home/mrjay/Desktop/apps/foldingAtHome (genre un config. xml vide , un client.db ou d'autre fichier de conf.) , il faut peut-être que tu les supprimes pour repartir à neuf , sinon tu risques de retomber sur le même pb.
(21-01-2026 14:40:01)mrjay42 a écrit : [ -> ]Vous pouvez voir que j'ai essayé avec et sans token (apparemment autorisé).
en fait,non, pas autorisé  Confused


cf. la doc :
Citation :[!NOTE] Unless a parameter is flaged as 'optional', it is mandatory and a value must be provided.
Citation :-e ACCOUNT_TOKEN= Register for an account on https://app.foldingathome.org and retrieve account token in settings. Required on first start.
-e MACHINE_NAME= Assign a friendly name to this instance (no spaces). Required on first start.

Donc ouais, recommence tout depuis zéro, avec ton répertoire "local" vide, et recréé le conteneur avec le docker-compose bien renseigné.

ça devrait marcher mieux Smile
(Pour info, j'ai du couper pas mal de texte, parce que le forum ne me laissait pas poster mon message. En fait c'était dû à un screenshot, que j'ai supprimé depuis, dont l'image était transformée en Base64/data URL, et donc l'engine du forum paniquait un peu vu la taille du texte que j'envoyais)


Ok, let's go.



Le dossier tel qu'il est AVANT de tout supprimer.

Code :
$ pwd
/home/mrjay/Desktop/apps/foldingAtHome
mrjay@minibip:~/Desktop/apps/foldingAtHome$ ll
client.db
gpus.json
logs
log.txt


Le dossier vidé



Code :
$ rm -rf *
mrjay@minibip:~/Desktop/apps/foldingAtHome$ ll
.
..




Ma stack au moment de lancer (avec mon vrai token, inchangé)



Code :
version: "3.9"

services:
  foldingathome:
    image: lscr.io/linuxserver/foldingathome:latest
    container_name: foldingathome

    # GPU support (commented out for now)
    # runtime: nvidia

    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Paris
      - ACCOUNT_TOKEN=ea56cf1749580b05ea56cf1749580b05

      - MACHINE_NAME=pouet
      - CLI_ARGS= # optional

      # GPU-related variables (commented out)
      # - NVIDIA_VISIBLE_DEVICES=all
      # - NVIDIA_DRIVER_CAPABILITIES=compute,utility

    volumes:
      - /home/mrjay/Desktop/apps/foldingAtHome:/config

    ports:
      - 7396:7396 # optional

    networks:
      - private_secured_network



    restart: unless-stopped

networks:
  private_secured_network:
    external: true


Lancement du déploiement J'ai re-pull l'image, juste pour le fun. 





Conclusion: ca ne marche pas

Code :
12:09:28:I2:OUT4:< HTTP/1.1 400 HTTP_BAD_REQUEST

12:09:28:E :OUT4:HTTP_BAD_REQUEST: {"error":"DB:1644: Invalid token"}






La preuve que le token dans la stack est le bon, voici l'email que j'ai recu de la part de FAH

Code :
Hello Jay,

    Username: Jay
     Passkey: ea56cf1749580b05ea56cf1749580b05

Please use these to activate your client.


Thank you,

Folding@home
Mince 😭
Pas d'autres pistes ici... Ptet le saut de ligne qui apparaît après ton token ?

Tu peux aussi regarder dans le client .db (c'est une base de données sqlite) pour voir s'il est stocké dedans et si c'est le bon.

Et sinon je crois qu'ils ont un serveur discord pour le support de leur image.

(J'essaierai ce WE sur mon proxmox, voir si j'ai le même comportement que toi )
(22-01-2026 13:20:42)JWhy a écrit : [ -> ]Mince 😭
Pas d'autres pistes ici... Ptet le saut de ligne qui apparaît après ton token ?

Tu peux aussi regarder dans le client .db (c'est une base de données sqlite) pour voir s'il est stocké dedans et si c'est le bon.

Et sinon je crois qu'ils ont un serveur discord pour le support de leur image.

(J'essaierai ce WE sur mon proxmox, voir si j'ai le même comportement que toi )

Merci pour ton aide en tout cas!


La DB est correctement 'remplie'
[Image: eJNOIVj]
[Image: 7a0f72bc-0bfc-4b89-83d6-0ce97d503c5c]

bon j'essaye d'include un screenshot mais ca marche pas

Bref, la DB est correcte: 100%
Le token y est bien présent


EDIT:
J'ai créé un thread sur le discord des gens qui fournissnent l'image Docker (et le code docker/docker compose)
https://discord.com/channels/35497491261...9039725723
Pages : 1 2