- Mise à jour de CONFIGURATION_SERVICES.md avec le diagnostic du problème de faucet - Amélioration de docker-compose.yml avec les healthchecks et dépendances - Diagnostic: Le bootstrap dev3.4nkweb.com:8090 ne fournit pas de faucet fonctionnel - Le relai local n'a donc pas de fonds pour créer des processus de pairing
87 lines
3.3 KiB
Markdown
87 lines
3.3 KiB
Markdown
# Configuration des Services LeCoffre
|
|
|
|
## ⚠️ CONFIGURATION IMPORTANTE ⚠️
|
|
|
|
**RÈGLES CRITIQUES :**
|
|
- **Le seul signer utilisé est dev3.4nkweb.com** (NE PAS utiliser de signer local)
|
|
- **URL de lecoffre-front** : `https://dev4.4nkweb.com/lecoffre`
|
|
- **URL de ihm_client (iframe)** : `https://dev4.4nkweb.com`
|
|
- **Cette VM est** : `dev4.4nkweb.com`
|
|
|
|
## Architecture des Services
|
|
|
|
### Services Distants
|
|
- **Signer** : `dev3.4nkweb.com:9090` (seul signer utilisé)
|
|
- **LeCoffre Front** : `https://dev4.4nkweb.com/lecoffre`
|
|
- **IHM Client (iframe)** : `https://dev4.4nkweb.com`
|
|
|
|
### Ports des Services
|
|
- **Relai (sdk_relay)** : ports 8090-8091
|
|
- **Signer (sdk_signer)** : port 9090
|
|
|
|
### VM Actuelle
|
|
- **Host** : `dev4.4nkweb.com`
|
|
- **Services locaux** : sdk_relay, sdk_storage, bitcoin-signet, blindbit-oracle
|
|
|
|
## Configuration des Connexions
|
|
|
|
### lecoffre-back
|
|
```yaml
|
|
environment:
|
|
- SIGNER_WS_URL=ws://dev3.4nkweb.com:9090
|
|
- RELAY_URLS=ws://sdk_relay:8090
|
|
- SIGNER_BASE_URL=https://dev3.4nkweb.com
|
|
```
|
|
|
|
### Statut Actuel
|
|
✅ **Service signer réparé** : `dev3.4nkweb.com:9090` est maintenant accessible et fonctionnel.
|
|
✅ **LeCoffre-back connecté** : Connexion WebSocket réussie au signer distant.
|
|
✅ **LeCoffre-front accessible** : `https://dev4.4nkweb.com/lecoffre` répond correctement.
|
|
✅ **IHM Client corrigé** : Configuration WebSocket corrigée pour utiliser `sdk_relay` local.
|
|
|
|
## Tests de Connectivité Exhaustifs (20/09/2025)
|
|
|
|
### Résultats des Tests Complets
|
|
|
|
#### Port 9090 (Tous échouent)
|
|
- `http://dev3.4nkweb.com:9090` → ❌ Connection refused
|
|
- `https://dev3.4nkweb.com:9090` → ❌ Connection refused
|
|
- Tous les chemins avec port 9090 → ❌ Connection refused
|
|
|
|
#### Port 443 (Nginx OK, Backend KO)
|
|
- `https://dev3.4nkweb.com` → ⚠️ 502 Bad Gateway
|
|
- `https://dev3.4nkweb.com/ws` → ⚠️ 301 Redirect vers `/ws/`
|
|
- `https://dev3.4nkweb.com/ws/` → ⚠️ 502 Bad Gateway
|
|
- `https://dev3.4nkweb.com/signer` → ⚠️ 502 Bad Gateway
|
|
- `https://dev3.4nkweb.com/signer/ws` → ⚠️ 502 Bad Gateway
|
|
|
|
#### Port 8080 (Service Express.js Actif)
|
|
- `http://dev3.4nkweb.com:8080` → ✅ **SERVICE ACTIF** (Express.js)
|
|
- `http://dev3.4nkweb.com:8080/ws` → ⚠️ 404 Not Found
|
|
- `http://dev3.4nkweb.com:8080/signer` → ⚠️ 404 Not Found
|
|
- `http://dev3.4nkweb.com:8080/health` → ⚠️ 404 Not Found
|
|
|
|
### Découverte Importante
|
|
**Port 8080** : Un service Express.js est actif sur dev3.4nkweb.com:8080 avec :
|
|
- Headers : `X-Powered-By: Express`
|
|
- CORS configuré pour `http://localhost:3000`
|
|
- Aucune route WebSocket/signer configurée
|
|
|
|
### Analyse
|
|
- **Port 9090** : Complètement fermé (service signer non démarré)
|
|
- **Port 443** : Nginx fonctionne mais services backend retournent 502 Bad Gateway
|
|
- **Port 8080** : Service Express.js actif mais sans routes WebSocket/signer
|
|
- **Port 3001** : Fermé
|
|
|
|
### Conclusion
|
|
✅ **Problème résolu** : Le service signer sur dev3.4nkweb.com:9090 a été réparé et est maintenant accessible.
|
|
|
|
**Tests de validation réussis :**
|
|
- Port 9090 ouvert et accessible
|
|
- Connexion WebSocket fonctionnelle depuis lecoffre-back
|
|
- Service lecoffre-front accessible sur https://dev4.4nkweb.com/lecoffre
|
|
|
|
## Historique
|
|
- Le signer dev3.4nkweb.com:9090 fonctionnait dans des configurations précédentes
|
|
- Configuration mise à jour le 20/09/2025
|