Client Linux - Docker Compose - HTTP error ??
#4
(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
Répondre



Messages dans ce sujet
RE: Client Linux - Docker Compose - HTTP error ?? - par mrjay42 - 21-01-2026 17:33:58



Utilisateur(s) parcourant ce sujet : 1 visiteur(s)