chore(repo): retirer du suivi les fichiers sensibles/générés (.cursor, logs, .env.signet, *.json, backups nginx)

This commit is contained in:
Nicolas Cantu 2025-09-19 22:21:06 +00:00
parent 49a4734a7e
commit ce1ac335d1
21 changed files with 0 additions and 5824 deletions

View File

@ -1,337 +0,0 @@
# HTTP server for ACME and initial proxying
# HTTP server for ACME and initial proxying
server {
server {
listen 80;
listen 80;
server_name dev4.4nkweb.com;
server_name dev4.4nkweb.com;
# ACME HTTP-01 challenges
# ACME HTTP-01 challenges
location /.well-known/acme-challenge/ {
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
root /var/www/letsencrypt;
}
}
# ihm_client (root)
# ihm_client (root)
location / {
location / {
proxy_pass http://127.0.0.1:3003;
proxy_pass http://127.0.0.1:3003;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# Favicon (global)
# Favicon (global)
location = /favicon.ico {
location = /favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
try_files /favicon.ico =404;
access_log off;
access_log off;
expires 30d;
expires 30d;
}
}
# lecoffre-front
# lecoffre-front
location = /lecoffre {
location = /lecoffre {
proxy_pass http://127.0.0.2:3004/lecoffre;
proxy_pass http://127.0.0.2:3004/lecoffre;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
location /lecoffre/ {
location /lecoffre/ {
proxy_pass http://127.0.0.2:3004;
proxy_pass http://127.0.0.2:3004;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# Next.js assets and HMR under basePath
# Next.js assets and HMR under basePath
location /lecoffre/_next/webpack-hmr {
location /lecoffre/_next/webpack-hmr {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/webpack-hmr;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/webpack-hmr;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
}
}
location /lecoffre/_next/ {
location /lecoffre/_next/ {
proxy_pass http://127.0.0.2:3004/lecoffre/_next/;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# Favicon sous /lecoffre
# Favicon sous /lecoffre
location = /lecoffre/favicon.ico {
location = /lecoffre/favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
try_files /favicon.ico =404;
access_log off;
access_log off;
expires 30d;
expires 30d;
}
}
# Next.js assets (served at root by the app)
# Next.js assets (served at root by the app)
location /_next/ {
location /_next/ {
proxy_pass http://127.0.0.2:3004/_next/;
proxy_pass http://127.0.0.2:3004/_next/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# API backend
# API backend
location /back/ {
rewrite ^\/back\/(.*)$ \/api\/\1 break;
proxy_pass http:\/\/127.0.0.1:8080;
location /back/ {
location /back/ {
rewrite ^\/back\/(.*)$ \/api\/\1 break;
proxy_pass http:\/\/127.0.0.1:8080;
location /back/ {
proxy_pass http://127.0.0.1:8080/back/;
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Connection "";
proxy_set_header Connection "";
proxy_buffering off;
proxy_buffering off;
}
}
# API alias → même backend que /back
# API alias → même backend que /back
location /api/ {
location /api/ {
proxy_pass http://127.0.0.1:8080/;
proxy_pass http://127.0.0.1:8080/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# blindbit
# blindbit
location /blindbit/ {
location /blindbit/ {
proxy_pass http://127.0.0.1:8000/;
proxy_pass http://127.0.0.1:8000/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# signer (sdk_signer) avec support WebSocket
# signer (sdk_signer) avec support WebSocket
location /signer/ {
location /signer/ {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_pass http://127.0.0.1:3001/;
proxy_pass http://127.0.0.1:3001/;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
proxy_buffering off;
proxy_buffering off;
}
}
# storage (sdk_storage)
# storage (sdk_storage)
location /storage/ {
location /storage/ {
proxy_pass http://127.0.0.1:8081/;
proxy_pass http://127.0.0.1:8081/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# WebSocket relay on /ws → 8090
# WebSocket relay on /ws → 8090
location = /ws {
location = /ws {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.1:8090/;
proxy_pass http://127.0.0.1:8090/;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
}
}
location /ws/ {
location /ws/ {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_buffering off;
# Strip /ws prefix when proxying to backend root
# Strip /ws prefix when proxying to backend root
proxy_pass http://127.0.0.1:8090/;
proxy_pass http://127.0.0.1:8090/;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
}
}
# Next.js HMR websocket for lecoffre-front
# Next.js HMR websocket for lecoffre-front
location /_next/webpack-hmr {
location /_next/webpack-hmr {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/_next/webpack-hmr;
proxy_pass http://127.0.0.2:3004/_next/webpack-hmr;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
}
}

View File

@ -1,75 +0,0 @@
# HTTP server for ACME and initial proxying
server {
listen 80;
server_name dev4.4nkweb.com;
# ACME HTTP-01 challenges
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
}
# ihm_client (root)
# API direct - route /api/ vers le backend
location /api/ {
proxy_pass http://127.0.0.1:8080/api/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_send_timeout 300;
}
# API backend - route /back/ vers /api/ du backend
location ~* ^/back/(.*)$ {
proxy_pass http://127.0.0.1:8080/api/$1;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Connection "";
proxy_buffering off;
}
# API direct - route /api/ vers le backend
location /api/ {
proxy_pass http://127.0.0.1:8080/api/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_send_timeout 300;
}
location / {
proxy_pass http://127.0.0.1:3003;
include /etc/nginx/proxy_params;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 300;
# Favicon (global)
location = /favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
access_log off;
expires 30d;
# lecoffre-front
location = /lecoffre {
proxy_pass http://127.0.0.2:3004/lecoffre;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
location /lecoffre/ {
proxy_pass http://127.0.0.2:3004;
# Next.js assets and HMR under basePath
location /lecoffre/_next/webpack-hmr {
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/webpack-hmr;
proxy_read_timeout 600s;
location /lecoffre/_next/ {
proxy_pass http://127.0.0.2:3004/lecoffre/_next/;
# Favicon sous /lecoffre
location = /lecoffre/favicon.ico {
# Next.js assets (served at root by the app)
location /_next/ {
proxy_pass http://127.0.0.2:3004/_next/;

View File

@ -1,84 +0,0 @@
server {
listen 443 ssl http2;
server_name dev4.4nkweb.com;
ssl_certificate /etc/letsencrypt/live/dev4.4nkweb.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/dev4.4nkweb.com/privkey.pem;
include /etc/nginx/proxy_params;
# API backend
location /back/ {
proxy_pass http://127.0.0.1:8080/back/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Connection "";
proxy_buffering off;
}
# Root → ihm_client
location / {
proxy_pass http://127.0.0.1:3003;
include /etc/nginx/proxy_params;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 300;
}
# lecoffre-front (préserver le préfixe)
location = /lecoffre {
proxy_pass http://127.0.0.2:3004;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
}
location /lecoffre/ {
proxy_pass http://127.0.0.2:3004;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
}
# Next.js assets sous basePath
location /lecoffre/_next/webpack-hmr {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/webpack-hmr;
proxy_read_timeout 600s;
}
location /lecoffre/_next/ {
proxy_pass http://127.0.0.2:3004/lecoffre/_next/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# signer (sdk_signer) avec support WebSocket
location /signer/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://127.0.0.1:3001/;
proxy_read_timeout 600s;
proxy_buffering off;
}
# Next.js assets au root si nécessaire
location /_next/ {
proxy_pass http://127.0.0.2:3004/_next/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
}

View File

@ -1,14 +0,0 @@
{
"language": "fr",
"shell": "/usr/bin/bash",
"formatting": {
"markdown": {
"lint_strict": true
}
},
"ci": {
"trigger_commit_prefix": "ci: docker_tag=",
"default_tag": "ext",
"branch": "dev4"
}
}

View File

@ -1,20 +0,0 @@
# API backend - route /back/ vers /api/ du backend
location ~* ^/back/(.*)$ {
proxy_pass http://127.0.0.1:8080/api/$1;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Connection "";
proxy_buffering off;
}
# API direct - route /api/ vers le backend
location /api/ {
proxy_pass http://127.0.0.1:8080/api/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_send_timeout 300;
}

View File

@ -1,10 +0,0 @@
# Règles Cursor pour ce projet
- Toujours répondre en français.
- Commandes simples, une par une.
- CI front/back: déclenchement par commit `ci: docker_tag=ext` sur `dev4`.
- Nginx local obligatoire. Confs dans `conf/nginx/`. Pas de Docker pour Nginx.
- Avant modification Nginx: vérifier `-w` sur fichier, backup horodatée vers `.cursor/backup/`, édition atomique (temp + mv), `nginx -t`, reload.
- Docker images: utiliser le tag `docker-support-v2` si spécifié par projet, sinon `ext`.
- Toujours mettre à jour `docs/` et `tests/` après modifications.
- Ne jamais exposer de secrets dans les `.env.example` côté front.

102
.env.bak
View File

@ -1,102 +0,0 @@
# Variables d'environnement pour l'application back-end
NODE_OPTIONS=--max-old-space-size=2048
NODE_ENV=production
# Configuration IDNOT
IDNOT_ANNUARY_BASE_URL=https://qual-api.notaires.fr/annuaire
# IDNOT_REDIRECT_URI=http://local.4nkweb.com:3004/authorized-client
IDNOT_REDIRECT_URI=http://local.4nkweb.com:3000/authorized-client
IDNOT_TOKEN_URL=https://qual-connexion.idnot.fr/user/IdPOAuth2/token/idnot_idp_v1
IDNOT_API_BASE_URL=https://qual-api.notaires.fr
# Configuration serveur
APP_HOST=dev4.4nkweb.com
# API_BASE_URL=https://demo.4nkweb.com/back
API_BASE_URL=https://dev4.4nkweb.com/back
# DEFAULT_STORAGE=https://demo.4nkweb.com/storage
DEFAULT_STORAGE=https://dev4.4nkweb.com/storage
# Variables d'environnement pour l'application front-end
# NEXT_PUBLIC_4NK_URL=http://demo.4nkweb.com/
NEXT_PUBLIC_4NK_URL=https://dev4.4nkweb.com
# NEXT_PUBLIC_FRONT_APP_HOST=https://demo.4nkweb.com
NEXT_PUBLIC_FRONT_APP_HOST=https://dev4.4nkweb.com/lecoffre
NEXT_PUBLIC_IDNOT_BASE_URL=https://qual-connexion.idnot.fr
NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT=/IdPOAuth2/authorize/idnot_idp_v1
NEXT_PUBLIC_BACK_API_PROTOCOL=https
NEXT_PUBLIC_BACK_API_HOST=dev4.4nkweb.com
NEXT_PUBLIC_BACK_API_PORT=443
NEXT_PUBLIC_BACK_API_ROOT_URL=/api
NEXT_PUBLIC_BACK_API_VERSION=v1
# NEXT_PUBLIC_ANK_BASE_REDIRECT_URI='http://local.4nkweb.com:3004/authorized-client'
NEXT_PUBLIC_ANK_BASE_REDIRECT_URI=https://dev4.4nkweb.com/lecoffre/authorized-client
NEXT_PUBLIC_TARGET_ORIGIN=https://dev4.4nkweb.com/lecoffre
NEXT_PUBLIC_4NK_IFRAME_URL=https://dev4.4nkweb.com
NEXT_PUBLIC_IDNOT_REDIRECT_URI=https://dev4.4nkweb.com/lecoffre/authorized-client
NEXT_PUBLIC_DOCAPOSTE_API_URL=
NEXT_PUBLIC_API_URL=https://dev4.4nkweb.com/api
NEXT_PUBLIC_DEFAULT_VALIDATOR_ID=28c9a3a8151bef545ebf700ca5222c63d0031ad593097e95c1de202464304a99
NEXT_PUBLIC_DEFAULT_STORAGE_URLS=https://dev4.4nkweb.com/storage
# WS
# RELAY_URLS=wss://demo.4nkweb.com/ws
RELAY_URLS=wss://dev4.4nkweb.com/ws
# SIGNER_WS_URL=ws://dev4.4nkweb.com/signer/
SIGNER_WS_URL=ws://dev3.4nkweb.com
SIGNER_BASE_URL=https://dev3.4nkweb.com
# IHM URLS
# VITE_BOOTSTRAPURL=http://sdk_relay:8090/
VITE_BOOTSTRAPURL=https://dev4.4nkweb.com/ws/
# Cartes de test Stripe
SUCCES='4242 4242 4242 4242'
DECLINED='4000 0025 0000 3155'
ENABLE_SUBSCRIPTION_STUB=true
CORS_ALLOWED_ORIGINS=http://local.4nkweb.com:3000,https://dev4.4nkweb.com
core_url="http://bitcoin:38332"
ws_url="0.0.0.0:8090"
wallet_name="default"
network="signet"
blindbit_url="http://blindbit:8000"
zmq_url="tcp://bitcoin:29000"
storage="https://dev4.4nkweb.com/storage"
data_dir="/home/bitcoin/.4nk"
bitcoin_data_dir="/home/bitcoin/.bitcoin"
# ================== /!\ sensible =========================
# Configuration IDNOT
IDNOT_API_KEY=ba557f84-0bf6-4dbf-844f-df2767555e3e
IDNOT_CLIENT_ID=B3CE56353EDB15A9
IDNOT_CLIENT_SECRET=3F733549E879878344B6C949B366BB5CDBB2DB5B7F7AB7EBBEBB0F0DD0776D1C
NEXT_PUBLIC_IDNOT_CLIENT_ID=B3CE56353EDB15A9
# Configuration OVH
OVH_APP_KEY=5ab0709bbb65ef26
OVH_APP_SECRET=de1fac1779d707d263a611a557cd5766
OVH_CONSUMER_KEY=5fe817829b8a9c780cfa2354f8312ece
OVH_SMS_SERVICE_NAME=sms-tt802880-1
# Configuration SMS Factor
SMS_FACTOR_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI4NzgzNiIsImlhdCI6MTcwMTMzOTY1Mi45NDUzOH0.GNoqLb5MDBWuniNlQjbr1PKolwxGqBZe_tf4IMObvHw
# Configuration Mailchimp
MAILCHIMP_API_KEY=md-VVfaml-ApIV4nsGgaJKl0A
MAILCHIMP_KEY=3fa54304bc766dfd0b8043a827b28a3a-us17
MAILCHIMP_LIST_ID=a48d9ad852
# Configuration Stripe
STRIPE_SECRET_KEY=sk_test_51OwKmMP5xh1u9BqSeFpqw0Yr15hHtFsh0pvRGaE0VERhlYtvw33ND1qiGA6Dy1DPmmV61B6BqIimlhuv7bwElhjF00PLQwD60n
STRIPE_WEBHOOK_SECRET=
STRIPE_STANDARD_SUBSCRIPTION_PRICE_ID=price_1P66fuP5xh1u9BqSHj0O6Uy3
STRIPE_STANDARD_ANNUAL_SUBSCRIPTION_PRICE_ID=price_1P9NsRP5xh1u9BqSFgkUDbQY
STRIPE_UNLIMITED_SUBSCRIPTION_PRICE_ID=price_1P66RqP5xh1u9BqSuUzkQNac
STRIPE_UNLIMITED_ANNUAL_SUBSCRIPTION_PRICE_ID=price_1P9NpKP5xh1u9BqSApFogvUB
SIGNER_API_KEY=your-api-key-change-this
VITE_JWT_SECRET_KEY=52b3d77617bb00982dfee15b08effd52cfe5b2e69b2f61cc4848cfe1e98c0bc9

View File

@ -1,166 +0,0 @@
# HTTP server for ACME and initial proxying
server {
listen 80;
server_name dev4.4nkweb.com;
# ACME HTTP-01 challenges
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
}
# ihm_client (root)
location / {
proxy_pass http://127.0.0.1:3003;
include /etc/nginx/proxy_params;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 300;
}
# Favicon (global)
location = /favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
access_log off;
expires 30d;
}
# lecoffre-front
location = /lecoffre {
proxy_pass http://127.0.0.2:3004/lecoffre;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
}
location /lecoffre/ {
proxy_pass http://127.0.0.2:3004;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
}
# Next.js assets and HMR under basePath
location /lecoffre/_next/webpack-hmr {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/webpack-hmr;
proxy_read_timeout 600s;
}
location /lecoffre/_next/ {
proxy_pass http://127.0.0.2:3004/lecoffre/_next/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# Favicon sous /lecoffre
location = /lecoffre/favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
access_log off;
expires 30d;
}
# Next.js assets (served at root by the app)
location /_next/ {
proxy_pass http://127.0.0.2:3004/_next/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# API backend
location /back/ {
proxy_pass http://127.0.0.1:8080/back/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Connection "";
proxy_buffering off;
}
# API alias → même backend que /back
location /api/ {
proxy_pass http://127.0.0.1:8080/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# blindbit
location /blindbit/ {
proxy_pass http://127.0.0.1:8000/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# signer (sdk_signer) avec support WebSocket
location /signer/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_pass http://127.0.0.1:3001/;
proxy_read_timeout 600s;
proxy_buffering off;
}
# storage (sdk_storage)
location /storage/ {
proxy_pass http://127.0.0.1:8081/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# WebSocket relay on /ws → 8090
location = /ws {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_pass http://127.0.0.1:8090/;
proxy_read_timeout 600s;
}
location /ws/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
# Strip /ws prefix when proxying to backend root
proxy_pass http://127.0.0.1:8090/;
proxy_read_timeout 600s;
}
# Next.js HMR websocket for lecoffre-front
location /_next/webpack-hmr {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/_next/webpack-hmr;
proxy_read_timeout 300;
}
}

View File

@ -1,147 +0,0 @@
# HTTP server for ACME and initial proxying
server {
listen 80;
server_name dev4.4nkweb.com;
# ACME HTTP-01 challenges
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
}
# ihm_client (root)
location / {
proxy_pass http://127.0.0.1:3003;
include /etc/nginx/proxy_params;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 300;
}
# Favicon (global)
location = /favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
access_log off;
expires 30d;
}
# lecoffre-front
location /lecoffre/ {
proxy_pass http://127.0.0.2:3004/;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
}
# Next.js assets and HMR under basePath
location /lecoffre/_next/webpack-hmr {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/_next/webpack-hmr;
proxy_read_timeout 600s;
}
location /lecoffre/_next/ {
proxy_pass http://127.0.0.2:3004/_next/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# Favicon sous /lecoffre
location = /lecoffre/favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
access_log off;
expires 30d;
}
# Next.js assets (served at root by the app)
location /_next/ {
proxy_pass http://127.0.0.2:3004/_next/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# lecoffre-back
location /back/ {
proxy_pass http://127.0.0.1:8080/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# API alias → même backend que /back
location /api/ {
proxy_pass http://127.0.0.1:8080/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# blindbit
location /blindbit/ {
proxy_pass http://127.0.0.1:8000/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# signer (sdk_signer)
location /signer/ {
proxy_pass http://127.0.0.1:3001/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# storage (sdk_storage)
location /storage/ {
proxy_pass http://127.0.0.1:8081/;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
}
# WebSocket relay on /ws → 8090
location = /ws {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_pass http://127.0.0.1:8090/;
proxy_read_timeout 600s;
}
location /ws/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
# Strip /ws prefix when proxying to backend root
proxy_pass http://127.0.0.1:8090/;
proxy_read_timeout 600s;
}
# Next.js HMR websocket for lecoffre-front
location /_next/webpack-hmr {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/_next/webpack-hmr;
proxy_read_timeout 300;
}
}

View File

@ -1,337 +0,0 @@
# HTTP server for ACME and initial proxying
# HTTP server for ACME and initial proxying
server {
server {
listen 80;
listen 80;
server_name dev4.4nkweb.com;
server_name dev4.4nkweb.com;
# ACME HTTP-01 challenges
# ACME HTTP-01 challenges
location /.well-known/acme-challenge/ {
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
root /var/www/letsencrypt;
}
}
# ihm_client (root)
# ihm_client (root)
location / {
location / {
proxy_pass http://127.0.0.1:3003;
proxy_pass http://127.0.0.1:3003;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# Favicon (global)
# Favicon (global)
location = /favicon.ico {
location = /favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
try_files /favicon.ico =404;
access_log off;
access_log off;
expires 30d;
expires 30d;
}
}
# lecoffre-front
# lecoffre-front
location = /lecoffre {
location = /lecoffre {
proxy_pass http://127.0.0.2:3004/lecoffre;
proxy_pass http://127.0.0.2:3004/lecoffre;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
location /lecoffre/ {
location /lecoffre/ {
proxy_pass http://127.0.0.2:3004;
proxy_pass http://127.0.0.2:3004;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# Next.js assets and HMR under basePath
# Next.js assets and HMR under basePath
location /lecoffre/_next/webpack-hmr {
location /lecoffre/_next/webpack-hmr {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/webpack-hmr;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/webpack-hmr;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
}
}
location /lecoffre/_next/ {
location /lecoffre/_next/ {
proxy_pass http://127.0.0.2:3004/lecoffre/_next/;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# Favicon sous /lecoffre
# Favicon sous /lecoffre
location = /lecoffre/favicon.ico {
location = /lecoffre/favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
try_files /favicon.ico =404;
access_log off;
access_log off;
expires 30d;
expires 30d;
}
}
# Next.js assets (served at root by the app)
# Next.js assets (served at root by the app)
location /_next/ {
location /_next/ {
proxy_pass http://127.0.0.2:3004/_next/;
proxy_pass http://127.0.0.2:3004/_next/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# API backend
# API backend
location /back/ {
rewrite ^\/back\/(.*)$ \/api\/\1 break;
proxy_pass http:\/\/127.0.0.1:8080;
location /back/ {
location /back/ {
rewrite ^\/back\/(.*)$ \/api\/\1 break;
proxy_pass http:\/\/127.0.0.1:8080;
location /back/ {
proxy_pass http://127.0.0.1:8080/back/;
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Connection "";
proxy_set_header Connection "";
proxy_buffering off;
proxy_buffering off;
}
}
# API alias → même backend que /back
# API alias → même backend que /back
location /api/ {
location /api/ {
proxy_pass http://127.0.0.1:8080/;
proxy_pass http://127.0.0.1:8080/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# blindbit
# blindbit
location /blindbit/ {
location /blindbit/ {
proxy_pass http://127.0.0.1:8000/;
proxy_pass http://127.0.0.1:8000/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# signer (sdk_signer) avec support WebSocket
# signer (sdk_signer) avec support WebSocket
location /signer/ {
location /signer/ {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_pass http://127.0.0.1:3001/;
proxy_pass http://127.0.0.1:3001/;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
proxy_buffering off;
proxy_buffering off;
}
}
# storage (sdk_storage)
# storage (sdk_storage)
location /storage/ {
location /storage/ {
proxy_pass http://127.0.0.1:8081/;
proxy_pass http://127.0.0.1:8081/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
# WebSocket relay on /ws → 8090
# WebSocket relay on /ws → 8090
location = /ws {
location = /ws {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.1:8090/;
proxy_pass http://127.0.0.1:8090/;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
}
}
location /ws/ {
location /ws/ {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_buffering off;
# Strip /ws prefix when proxying to backend root
# Strip /ws prefix when proxying to backend root
proxy_pass http://127.0.0.1:8090/;
proxy_pass http://127.0.0.1:8090/;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
}
}
# Next.js HMR websocket for lecoffre-front
# Next.js HMR websocket for lecoffre-front
location /_next/webpack-hmr {
location /_next/webpack-hmr {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/_next/webpack-hmr;
proxy_pass http://127.0.0.2:3004/_next/webpack-hmr;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
}
}

View File

@ -1,273 +0,0 @@
server {
server {
listen 80;
listen 80;
server_name dev4.4nkweb.com;
server_name dev4.4nkweb.com;
location /.well-known/acme-challenge/ {
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
root /var/www/letsencrypt;
}
}
location / {
location / {
proxy_pass http://127.0.0.1:3003;
proxy_pass http://127.0.0.1:3003;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
location = /favicon.ico {
location = /favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
try_files /favicon.ico =404;
access_log off;
access_log off;
expires 30d;
expires 30d;
}
}
location = /lecoffre {
location = /lecoffre {
proxy_pass http://127.0.0.2:3004/lecoffre;
proxy_pass http://127.0.0.2:3004/lecoffre;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
location /lecoffre/ {
location /lecoffre/ {
proxy_pass http://127.0.0.2:3004;
proxy_pass http://127.0.0.2:3004;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
location /lecoffre/_next/webpack-hmr {
location /lecoffre/_next/webpack-hmr {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/webpack-hmr;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/webpack-hmr;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
}
}
location /lecoffre/_next/ {
location /lecoffre/_next/ {
proxy_pass http://127.0.0.2:3004/lecoffre/_next/;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
location = /lecoffre/favicon.ico {
location = /lecoffre/favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
root /home/debian/lecoffre_node/conf/nginx/assets;
try_files /favicon.ico =404;
try_files /favicon.ico =404;
access_log off;
access_log off;
expires 30d;
expires 30d;
}
}
location /_next/ {
location /_next/ {
proxy_pass http://127.0.0.2:3004/_next/;
proxy_pass http://127.0.0.2:3004/_next/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
location /back/ {
rewrite ^\/back\/(.*)$ \/api\/\1 break;
proxy_pass http:\/\/127.0.0.1:8080;
location /back/ {
location /back/ {
rewrite ^\/back\/(.*)$ \/api\/\1 break;
proxy_pass http:\/\/127.0.0.1:8080;
location /back/ {
proxy_pass http://127.0.0.1:8080/back/;
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Connection "";
proxy_set_header Connection "";
proxy_buffering off;
proxy_buffering off;
}
}
location /api/ {
location /api/ {
proxy_pass http://127.0.0.1:8080/;
proxy_pass http://127.0.0.1:8080/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
location /blindbit/ {
location /blindbit/ {
proxy_pass http://127.0.0.1:8000/;
proxy_pass http://127.0.0.1:8000/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
location /signer/ {
location /signer/ {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_pass http://127.0.0.1:3001/;
proxy_pass http://127.0.0.1:3001/;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
proxy_buffering off;
proxy_buffering off;
}
}
location /storage/ {
location /storage/ {
proxy_pass http://127.0.0.1:8081/;
proxy_pass http://127.0.0.1:8081/;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_params;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
location = /ws {
location = /ws {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.1:8090/;
proxy_pass http://127.0.0.1:8090/;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
}
}
location /ws/ {
location /ws/ {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.1:8090/;
proxy_pass http://127.0.0.1:8090/;
proxy_read_timeout 600s;
proxy_read_timeout 600s;
}
}
location /_next/webpack-hmr {
location /_next/webpack-hmr {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/_next/webpack-hmr;
proxy_pass http://127.0.0.2:3004/_next/webpack-hmr;
proxy_read_timeout 300;
proxy_read_timeout 300;
}
}
}
}

View File

@ -1,54 +0,0 @@
server {
listen 127.0.0.1:3000;
server_name local.lecoffreio.4nkweb;
# Ne jamais forcer HTTPS ni HSTS sur ce vhost local
# Pas de return 301, pas de add_header HSTS
# Favicon local par défaut
location = /favicon.ico {
root /home/debian/lecoffre_node/conf/nginx/assets;
}
# Entrée sans slash pour éviter les boucles
location = /lecoffre {
proxy_pass http://127.0.0.2:3004;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
}
# Sous-chemin Next.js (préserve le prefix)
location /lecoffre/ {
proxy_pass http://127.0.0.2:3004;
include /etc/nginx/proxy_params;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Prefix /lecoffre;
proxy_read_timeout 300;
}
# HMR en dev (si jamais on lutilise en local HTTP)
location /lecoffre/_next/webpack-hmr {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_buffering off;
proxy_pass http://127.0.0.2:3004/lecoffre/_next/webpack-hmr;
proxy_read_timeout 600s;
}
# Assets Next.js / cache léger côté proxy
location ~* ^(/_next/static/|/lecoffre/_next/static/|/.+\.(?:css|js|png|jpg|jpeg|gif|svg|ico|webp|woff2?))$ {
expires 7d;
add_header Cache-Control "public, max-age=604800, immutable" always;
proxy_pass http://127.0.0.2:3004$request_uri;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;
proxy_read_timeout 300;
}
}

View File

@ -1,776 +0,0 @@
2025-09-19T13:07:01
2025-09-19T13:07:01 WARN Files in the public directory are served at the root path.
2025-09-19T13:07:01 Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T13:07:01
2025-09-19T13:23:38
2025-09-19T13:23:38 WARN Files in the public directory are served at the root path.
2025-09-19T13:23:38 Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T13:23:38
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] > sdk_client@1.0.0 start
2025-09-19T17:13:49 [IHM] > vite --host 0.0.0.0
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 1 import { Device, Process, SecretsStore } from "../pkg/sdk_client.js";
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 802 await service.updateMemberPublicName(process, newValue);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 861 const lastState = service.getLastCommitedState(process);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 870 const publicData = await service.getPublicData(process);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type '(h: string) => string' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => string'.
2025-09-19T17:13:49 [IHM] Types of parameters 'h' and 'value' are incompatible.
2025-09-19T17:13:49 [IHM] Type 'unknown' is not assignable to type 'string'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 174 state.commitmentHashes = Object.values(json.pcd_commitment).map((h: string) =>
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM] 175 h.toLowerCase()
2025-09-19T17:13:49 [IHM]   ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 209 const processId = state.certificate.process_id;
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 58 let newState = service.getStateFromId(process, stateId);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2322: Type 'Blob | null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 65 const blob = new Blob([encryptedData], { type: "application/octet-stream" });
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'generateProcessPdf' does not exist on type 'Services'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 74 await service.generateProcessPdf(processId, newState);
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS7053: Element implicitly has an 'any' type because expression of type '"process_id"' can't be used to index type 'ProcessState'.
2025-09-19T17:13:49 [IHM] Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 77 newState['process_id'] = processId;
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 3 import { Process } from '../../pkg/sdk_client.js';
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:50 [IHM] 7 import { RoleDefinition } from '../pkg/sdk_client.js';
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'storages' does not exist on type 'UserDiff'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 706 const storages = diff.storages;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'never[]' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Property 'states' is missing in type 'never[]' but required in type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 166 await service.checkConnections([]);
2025-09-19T17:13:50 [IHM]    ~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] pkg/sdk_client.d.ts:155:5
2025-09-19T17:13:50 [IHM] 155 states: ProcessState[];
2025-09-19T17:13:50 [IHM]    ~~~~~~
2025-09-19T17:13:50 [IHM] 'states' is declared here.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] VITE v5.4.11 ready in 6620 ms
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] ➜ Local: http://localhost:3003/
2025-09-19T17:13:50 [IHM] ➜ Network: http://172.20.0.5:3003/
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] > sdk_client@1.0.0 start
2025-09-19T17:13:50 [IHM] > vite --host 0.0.0.0
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 1 import { Device, Process, SecretsStore } from "../pkg/sdk_client.js";
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 802 await service.updateMemberPublicName(process, newValue);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 861 const lastState = service.getLastCommitedState(process);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 870 const publicData = await service.getPublicData(process);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type '(h: string) => string' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => string'.
2025-09-19T17:13:50 [IHM] Types of parameters 'h' and 'value' are incompatible.
2025-09-19T17:13:50 [IHM] Type 'unknown' is not assignable to type 'string'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 174 state.commitmentHashes = Object.values(json.pcd_commitment).map((h: string) =>
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM] 175 h.toLowerCase()
2025-09-19T17:13:50 [IHM]   ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 209 const processId = state.certificate.process_id;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 58 let newState = service.getStateFromId(process, stateId);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2322: Type 'Blob | null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 65 const blob = new Blob([encryptedData], { type: "application/octet-stream" });
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'generateProcessPdf' does not exist on type 'Services'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 74 await service.generateProcessPdf(processId, newState);
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS7053: Element implicitly has an 'any' type because expression of type '"process_id"' can't be used to index type 'ProcessState'.
2025-09-19T17:13:50 [IHM] Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 77 newState['process_id'] = processId;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 3 import { Process } from '../../pkg/sdk_client.js';
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 7 import { RoleDefinition } from '../pkg/sdk_client.js';
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'storages' does not exist on type 'UserDiff'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 706 const storages = diff.storages;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'never[]' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Property 'states' is missing in type 'never[]' but required in type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 166 await service.checkConnections([]);
2025-09-19T17:13:50 [IHM]    ~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] pkg/sdk_client.d.ts:155:5
2025-09-19T17:13:50 [IHM] 155 states: ProcessState[];
2025-09-19T17:13:50 [IHM]    ~~~~~~
2025-09-19T17:13:50 [IHM] 'states' is declared here.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] VITE v5.4.11 ready in 7270 ms
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] ➜ Local: http://localhost:3003/
2025-09-19T17:13:50 [IHM] ➜ Network: http://172.20.0.11:3003/
2025-09-19T17:14:29 [IHM]
2025-09-19T17:14:29 [IHM] WARN Files in the public directory are served at the root path.
2025-09-19T17:14:29 [IHM] Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T17:14:29 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] > sdk_client@1.0.0 start
2025-09-19T17:56:40 [IHM] > vite --host 0.0.0.0
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 1 import { Device, Process, SecretsStore } from "../pkg/sdk_client.js";
2025-09-19T17:56:40 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:56:40 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 802 await service.updateMemberPublicName(process, newValue);
2025-09-19T17:56:40 [IHM]    ~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:56:40 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 861 const lastState = service.getLastCommitedState(process);
2025-09-19T17:56:40 [IHM]    ~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:56:40 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 870 const publicData = await service.getPublicData(process);
2025-09-19T17:56:40 [IHM]    ~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type '(h: string) => string' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => string'.
2025-09-19T17:56:40 [IHM] Types of parameters 'h' and 'value' are incompatible.
2025-09-19T17:56:40 [IHM] Type 'unknown' is not assignable to type 'string'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 174 state.commitmentHashes = Object.values(json.pcd_commitment).map((h: string) =>
2025-09-19T17:56:40 [IHM]    ~~~~~~~~~~~~~~
2025-09-19T17:56:40 [IHM] 175 h.toLowerCase()
2025-09-19T17:56:40 [IHM]   ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 209 const processId = state.certificate.process_id;
2025-09-19T17:56:40 [IHM]    ~~~~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:56:40 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 58 let newState = service.getStateFromId(process, stateId);
2025-09-19T17:56:40 [IHM]    ~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2322: Type 'Blob | null' is not assignable to type 'BlobPart'.
2025-09-19T17:56:40 [IHM] Type 'null' is not assignable to type 'BlobPart'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 65 const blob = new Blob([encryptedData], { type: "application/octet-stream" });
2025-09-19T17:56:40 [IHM]    ~~~~~~~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'generateProcessPdf' does not exist on type 'Services'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 74 await service.generateProcessPdf(processId, newState);
2025-09-19T17:56:40 [IHM]    ~~~~~~~~~~~~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS7053: Element implicitly has an 'any' type because expression of type '"process_id"' can't be used to index type 'ProcessState'.
2025-09-19T17:56:40 [IHM] Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 77 newState['process_id'] = processId;
2025-09-19T17:56:40 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 3 import { Process } from '../../pkg/sdk_client.js';
2025-09-19T17:56:40 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 7 import { RoleDefinition } from '../pkg/sdk_client.js';
2025-09-19T17:56:40 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'storages' does not exist on type 'UserDiff'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 706 const storages = diff.storages;
2025-09-19T17:56:40 [IHM]    ~~~~~~~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] WARN 5:31:11 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'never[]' is not assignable to parameter of type 'Process'.
2025-09-19T17:56:40 [IHM] Property 'states' is missing in type 'never[]' but required in type 'Process'.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] 166 await service.checkConnections([]);
2025-09-19T17:56:40 [IHM]    ~~
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] pkg/sdk_client.d.ts:155:5
2025-09-19T17:56:40 [IHM] 155 states: ProcessState[];
2025-09-19T17:56:40 [IHM]    ~~~~~~
2025-09-19T17:56:40 [IHM] 'states' is declared here.
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] VITE v5.4.11 ready in 6819 ms
2025-09-19T17:56:40 [IHM]
2025-09-19T17:56:40 [IHM] ➜ Local: http://localhost:3003/
2025-09-19T17:56:40 [IHM] ➜ Network: http://172.20.0.11:3003/
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] > sdk_client@1.0.0 start
2025-09-19T18:08:06 [IHM] > vite --host 0.0.0.0
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 1 import { Device, Process, SecretsStore } from "../pkg/sdk_client.js";
2025-09-19T18:08:06 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:08:06 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 802 await service.updateMemberPublicName(process, newValue);
2025-09-19T18:08:06 [IHM]    ~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:08:06 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 861 const lastState = service.getLastCommitedState(process);
2025-09-19T18:08:06 [IHM]    ~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:08:06 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 870 const publicData = await service.getPublicData(process);
2025-09-19T18:08:06 [IHM]    ~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type '(h: string) => string' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => string'.
2025-09-19T18:08:06 [IHM] Types of parameters 'h' and 'value' are incompatible.
2025-09-19T18:08:06 [IHM] Type 'unknown' is not assignable to type 'string'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 174 state.commitmentHashes = Object.values(json.pcd_commitment).map((h: string) =>
2025-09-19T18:08:06 [IHM]    ~~~~~~~~~~~~~~
2025-09-19T18:08:06 [IHM] 175 h.toLowerCase()
2025-09-19T18:08:06 [IHM]   ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 209 const processId = state.certificate.process_id;
2025-09-19T18:08:06 [IHM]    ~~~~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:08:06 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 58 let newState = service.getStateFromId(process, stateId);
2025-09-19T18:08:06 [IHM]    ~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2322: Type 'Blob | null' is not assignable to type 'BlobPart'.
2025-09-19T18:08:06 [IHM] Type 'null' is not assignable to type 'BlobPart'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 65 const blob = new Blob([encryptedData], { type: "application/octet-stream" });
2025-09-19T18:08:06 [IHM]    ~~~~~~~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'generateProcessPdf' does not exist on type 'Services'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 74 await service.generateProcessPdf(processId, newState);
2025-09-19T18:08:06 [IHM]    ~~~~~~~~~~~~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS7053: Element implicitly has an 'any' type because expression of type '"process_id"' can't be used to index type 'ProcessState'.
2025-09-19T18:08:06 [IHM] Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 77 newState['process_id'] = processId;
2025-09-19T18:08:06 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 3 import { Process } from '../../pkg/sdk_client.js';
2025-09-19T18:08:06 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 7 import { RoleDefinition } from '../pkg/sdk_client.js';
2025-09-19T18:08:06 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'storages' does not exist on type 'UserDiff'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 706 const storages = diff.storages;
2025-09-19T18:08:06 [IHM]    ~~~~~~~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] WARN 6:07:56 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'never[]' is not assignable to parameter of type 'Process'.
2025-09-19T18:08:06 [IHM] Property 'states' is missing in type 'never[]' but required in type 'Process'.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] 166 await service.checkConnections([]);
2025-09-19T18:08:06 [IHM]    ~~
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] pkg/sdk_client.d.ts:155:5
2025-09-19T18:08:06 [IHM] 155 states: ProcessState[];
2025-09-19T18:08:06 [IHM]    ~~~~~~
2025-09-19T18:08:06 [IHM] 'states' is declared here.
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] VITE v5.4.11 ready in 6690 ms
2025-09-19T18:08:06 [IHM]
2025-09-19T18:08:06 [IHM] ➜ Local: http://localhost:3003/
2025-09-19T18:08:06 [IHM] ➜ Network: http://172.20.0.11:3003/
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] > sdk_client@1.0.0 start
2025-09-19T18:12:09 [IHM] > vite --host 0.0.0.0
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 1 import { Device, Process, SecretsStore } from "../pkg/sdk_client.js";
2025-09-19T18:12:09 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:12:09 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 802 await service.updateMemberPublicName(process, newValue);
2025-09-19T18:12:09 [IHM]    ~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:12:09 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 861 const lastState = service.getLastCommitedState(process);
2025-09-19T18:12:09 [IHM]    ~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:12:09 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 870 const publicData = await service.getPublicData(process);
2025-09-19T18:12:09 [IHM]    ~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type '(h: string) => string' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => string'.
2025-09-19T18:12:09 [IHM] Types of parameters 'h' and 'value' are incompatible.
2025-09-19T18:12:09 [IHM] Type 'unknown' is not assignable to type 'string'.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 174 state.commitmentHashes = Object.values(json.pcd_commitment).map((h: string) =>
2025-09-19T18:12:09 [IHM]    ~~~~~~~~~~~~~~
2025-09-19T18:12:09 [IHM] 175 h.toLowerCase()
2025-09-19T18:12:09 [IHM]   ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 209 const processId = state.certificate.process_id;
2025-09-19T18:12:09 [IHM]    ~~~~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:12:09 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 58 let newState = service.getStateFromId(process, stateId);
2025-09-19T18:12:09 [IHM]    ~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2322: Type 'Blob | null' is not assignable to type 'BlobPart'.
2025-09-19T18:12:09 [IHM] Type 'null' is not assignable to type 'BlobPart'.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 65 const blob = new Blob([encryptedData], { type: "application/octet-stream" });
2025-09-19T18:12:09 [IHM]    ~~~~~~~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'generateProcessPdf' does not exist on type 'Services'.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 74 await service.generateProcessPdf(processId, newState);
2025-09-19T18:12:09 [IHM]    ~~~~~~~~~~~~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS7053: Element implicitly has an 'any' type because expression of type '"process_id"' can't be used to index type 'ProcessState'.
2025-09-19T18:12:09 [IHM] Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 77 newState['process_id'] = processId;
2025-09-19T18:12:09 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 3 import { Process } from '../../pkg/sdk_client.js';
2025-09-19T18:12:09 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 7 import { RoleDefinition } from '../pkg/sdk_client.js';
2025-09-19T18:12:09 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'storages' does not exist on type 'UserDiff'.
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] 706 const storages = diff.storages;
2025-09-19T18:12:09 [IHM]    ~~~~~~~~
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM]
2025-09-19T18:12:09 [IHM] WARN 6:11:55 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'never[]' is not assignable to parameter of type 'Process'.
2025-09-19T18:12:09 [IHM] Property 'states' is missing in type 'never[]' but required in type 'Process'.
2025-09-19T18:12:10 [IHM]
2025-09-19T18:12:10 [IHM] 166 await service.checkConnections([]);
2025-09-19T18:12:10 [IHM]    ~~
2025-09-19T18:12:10 [IHM]
2025-09-19T18:12:10 [IHM] pkg/sdk_client.d.ts:155:5
2025-09-19T18:12:10 [IHM] 155 states: ProcessState[];
2025-09-19T18:12:10 [IHM]    ~~~~~~
2025-09-19T18:12:10 [IHM] 'states' is declared here.
2025-09-19T18:12:10 [IHM]
2025-09-19T18:12:10 [IHM]
2025-09-19T18:12:10 [IHM]
2025-09-19T18:12:10 [IHM] VITE v5.4.11 ready in 6156 ms
2025-09-19T18:12:10 [IHM]
2025-09-19T18:12:10 [IHM] ➜ Local: http://localhost:3003/
2025-09-19T18:12:10 [IHM] ➜ Network: http://172.20.0.11:3003/
2025-09-19T18:12:33 [IHM]
2025-09-19T18:12:33 [IHM] WARN Files in the public directory are served at the root path.
2025-09-19T18:12:33 [IHM] Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T18:12:33 [IHM]
2025-09-19T18:12:37 [IHM]
2025-09-19T18:12:37 [IHM] WARN Files in the public directory are served at the root path.
2025-09-19T18:12:37 [IHM] Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T18:12:37 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] > sdk_client@1.0.0 start
2025-09-19T18:14:42 [IHM] > vite --host 0.0.0.0
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 1 import { Device, Process, SecretsStore } from "../pkg/sdk_client.js";
2025-09-19T18:14:42 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:14:42 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 802 await service.updateMemberPublicName(process, newValue);
2025-09-19T18:14:42 [IHM]    ~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:14:42 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 861 const lastState = service.getLastCommitedState(process);
2025-09-19T18:14:42 [IHM]    ~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:14:42 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 870 const publicData = await service.getPublicData(process);
2025-09-19T18:14:42 [IHM]    ~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type '(h: string) => string' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => string'.
2025-09-19T18:14:42 [IHM] Types of parameters 'h' and 'value' are incompatible.
2025-09-19T18:14:42 [IHM] Type 'unknown' is not assignable to type 'string'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 174 state.commitmentHashes = Object.values(json.pcd_commitment).map((h: string) =>
2025-09-19T18:14:42 [IHM]    ~~~~~~~~~~~~~~
2025-09-19T18:14:42 [IHM] 175 h.toLowerCase()
2025-09-19T18:14:42 [IHM]   ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 209 const processId = state.certificate.process_id;
2025-09-19T18:14:42 [IHM]    ~~~~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T18:14:42 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 58 let newState = service.getStateFromId(process, stateId);
2025-09-19T18:14:42 [IHM]    ~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2322: Type 'Blob | null' is not assignable to type 'BlobPart'.
2025-09-19T18:14:42 [IHM] Type 'null' is not assignable to type 'BlobPart'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 65 const blob = new Blob([encryptedData], { type: "application/octet-stream" });
2025-09-19T18:14:42 [IHM]    ~~~~~~~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'generateProcessPdf' does not exist on type 'Services'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 74 await service.generateProcessPdf(processId, newState);
2025-09-19T18:14:42 [IHM]    ~~~~~~~~~~~~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS7053: Element implicitly has an 'any' type because expression of type '"process_id"' can't be used to index type 'ProcessState'.
2025-09-19T18:14:42 [IHM] Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 77 newState['process_id'] = processId;
2025-09-19T18:14:42 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 3 import { Process } from '../../pkg/sdk_client.js';
2025-09-19T18:14:42 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 7 import { RoleDefinition } from '../pkg/sdk_client.js';
2025-09-19T18:14:42 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'storages' does not exist on type 'UserDiff'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 706 const storages = diff.storages;
2025-09-19T18:14:42 [IHM]    ~~~~~~~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] WARN 6:14:27 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'never[]' is not assignable to parameter of type 'Process'.
2025-09-19T18:14:42 [IHM] Property 'states' is missing in type 'never[]' but required in type 'Process'.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] 166 await service.checkConnections([]);
2025-09-19T18:14:42 [IHM]    ~~
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] pkg/sdk_client.d.ts:155:5
2025-09-19T18:14:42 [IHM] 155 states: ProcessState[];
2025-09-19T18:14:42 [IHM]    ~~~~~~
2025-09-19T18:14:42 [IHM] 'states' is declared here.
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] VITE v5.4.11 ready in 7086 ms
2025-09-19T18:14:42 [IHM]
2025-09-19T18:14:42 [IHM] ➜ Local: http://localhost:3003/
2025-09-19T18:14:42 [IHM] ➜ Network: http://172.20.0.11:3003/
2025-09-19T18:15:04 [IHM]
2025-09-19T18:15:04 [IHM] WARN Files in the public directory are served at the root path.
2025-09-19T18:15:04 [IHM] Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T18:15:04 [IHM]
2025-09-19T18:15:04 [IHM]
2025-09-19T18:15:04 [IHM] WARN Files in the public directory are served at the root path.
2025-09-19T18:15:04 [IHM] Instead of /public/assets/bgd.webp, use /assets/bgd.webp.
2025-09-19T18:15:04 [IHM]
2025-09-19T18:15:39 [IHM]
2025-09-19T18:15:39 [IHM] WARN Files in the public directory are served at the root path.
2025-09-19T18:15:39 [IHM] Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T18:15:39 [IHM]

File diff suppressed because it is too large Load Diff

View File

@ -1,46 +0,0 @@
2025-09-19T13:06:59 targetOrigin is already set
2025-09-19T13:06:59 iframeUrl is already set
2025-09-19T13:06:59 targetOrigin is already set
2025-09-19T13:06:59 iframeUrl is already set
2025-09-19T13:06:59 targetOrigin is already set
2025-09-19T13:06:59 iframeUrl is already set
2025-09-19T13:06:59 targetOrigin is already set
2025-09-19T13:06:59 iframeUrl is already set
2025-09-19T13:06:59 targetOrigin is already set
2025-09-19T13:06:59 iframeUrl is already set
2025-09-19T13:06:59 targetOrigin is already set
2025-09-19T13:06:59 iframeUrl is already set
2025-09-19T13:23:05 targetOrigin is already set
2025-09-19T13:23:05 iframeUrl is already set
2025-09-19T13:23:11 targetOrigin is already set
2025-09-19T13:23:12 iframeUrl is already set
2025-09-19T13:23:25 targetOrigin is already set
2025-09-19T13:23:25 iframeUrl is already set
2025-09-19T13:23:27 targetOrigin is already set
2025-09-19T13:23:27 iframeUrl is already set
2025-09-19T13:23:36 targetOrigin is already set
2025-09-19T13:23:36 iframeUrl is already set
2025-09-19T13:23:37 targetOrigin is already set
2025-09-19T13:23:37 iframeUrl is already set
2025-09-19T17:13:41 [FRONT] ▲ Next.js 14.2.29
2025-09-19T17:13:41 [FRONT] - Local: http://bf96f82c6b28:3000
2025-09-19T17:13:41 [FRONT] - Network: http://172.20.0.4:3000
2025-09-19T17:13:41 [FRONT]
2025-09-19T17:13:41 [FRONT] ✓ Starting...
2025-09-19T17:13:41 [FRONT] ✓ Ready in 177ms
2025-09-19T17:13:41 [FRONT] targetOrigin is already set
2025-09-19T17:13:41 [FRONT] iframeUrl is already set
2025-09-19T17:13:41 [FRONT] ▲ Next.js 14.2.29
2025-09-19T17:13:41 [FRONT] - Local: http://bf96f82c6b28:3000
2025-09-19T17:13:41 [FRONT] - Network: http://172.20.0.4:3000
2025-09-19T17:13:41 [FRONT]
2025-09-19T17:13:41 [FRONT] ✓ Starting...
2025-09-19T17:13:41 [FRONT] ✓ Ready in 151ms
2025-09-19T17:14:17 [FRONT] targetOrigin is already set
2025-09-19T17:14:17 [FRONT] iframeUrl is already set
2025-09-19T17:14:27 [FRONT] targetOrigin is already set
2025-09-19T17:14:27 [FRONT] iframeUrl is already set
2025-09-19T17:14:28 [FRONT] targetOrigin is already set
2025-09-19T17:14:28 [FRONT] iframeUrl is already set
2025-09-19T17:14:28 [FRONT] targetOrigin is already set
2025-09-19T17:14:28 [FRONT] iframeUrl is already set

View File

@ -1,11 +0,0 @@
2025-09-19T17:13:52 [RELAY] [2025-09-19T15:11:12Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:38612: WebSocket protocol error: Handshake not finished
2025-09-19T17:13:52 [RELAY] [2025-09-19T15:24:36Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:44116: WebSocket protocol error: No "Connection: upgrade" header
2025-09-19T17:13:52 [RELAY] [2025-09-19T16:41:55Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:57946: WebSocket protocol error: Unsupported HTTP method used - only GET is allowed
2025-09-19T17:56:43 [RELAY] [2025-09-19T17:17:24Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:33312: WebSocket protocol error: No "Connection: upgrade" header
2025-09-19T17:56:43 [RELAY] [2025-09-19T17:36:55Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:57868: WebSocket protocol error: Unsupported HTTP method used - only GET is allowed
2025-09-19T18:08:09 [RELAY] [2025-09-19T17:17:24Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:33312: WebSocket protocol error: No "Connection: upgrade" header
2025-09-19T18:08:09 [RELAY] [2025-09-19T17:36:55Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:57868: WebSocket protocol error: Unsupported HTTP method used - only GET is allowed
2025-09-19T18:12:15 [RELAY] [2025-09-19T17:17:24Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:33312: WebSocket protocol error: No "Connection: upgrade" header
2025-09-19T18:12:15 [RELAY] [2025-09-19T17:36:55Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:57868: WebSocket protocol error: Unsupported HTTP method used - only GET is allowed
2025-09-19T18:14:44 [RELAY] [2025-09-19T17:17:24Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:33312: WebSocket protocol error: No "Connection: upgrade" header
2025-09-19T18:14:44 [RELAY] [2025-09-19T17:36:55Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:57868: WebSocket protocol error: Unsupported HTTP method used - only GET is allowed

View File

@ -1 +0,0 @@
2025-09-19T17:13:37+0000

View File

@ -1,16 +0,0 @@
# Variables d'environnement pour le miner Signet
RPC_HOST="bitcoin"
RPC_PORT="38332"
WATCHONLY_WALLET="watchonly"
MINING_WALLET="mining_mnemonic"
MINER_TAG="lecoffre"
SIGNET_CHALLENGE="0020341c43803863c252df326e73574a27d7e19322992061017b0dc893e2eab90821"
SIGNET_MAGIC="b066463d"
MINING_FINGERPRINT="86936c07"
MINING_XPRV="tprv8inwidD6qpNwMNY5ZadhYMn62d1WHvSVMRH2pPAj7RsAZGCY4YTiT1McMQSg5DAyijPBZ4HroX83vZQAevQkJSZUVH8kro9JnVbhTPBSAxL"
MINING_PATH_PREFIX="48'/1'/0'/2'"
COINBASE_INDEX="0"
COINBASE_ADDRESS=tb1q3389vh0k8e9fckjft2pxavnw5qy8xpyvfep8nrhfd07jag3z6pdqpuz82a
BITCOIN_CONTAINER="bitcoin-signet"
# Descripteur sortedmulti challenge (toutes pubs), une de nos clés sera remplacée par MINING_XPRV automatiquement
CHALLENGE_ALLPUBS="wsh(sortedmulti(1,[fca68db6/48'/1'/0'/2']tpubDFeV77XRwb9Lob5tBxtPUpZEu9fsj7xS3roiut4BBPzpVvGCT3SShGWksqUYLqKBrt7xeKmmmgSrgbRiffcoS5KPiqyDWk5Kgvxek52XnNV/0/*,[5df7e4b0/48'/1'/0'/2']tpubDF4ix3sjhgzM7iJVfTUVnx3HJ8kvkAvk36sPv5JmsmQcfPPK5KkHxJSgixZAdcYEsGcvHacm1hW4iLksGoTZocJozuaA2BTNp3GEvW432qu/0/*,[ef9d9ce6/48'/1'/0'/2']tpubDFecZkh4Bn5qutowNUC7huYGQeN9VRbNUauhAEN2ofVPat1zZ2yzYg7aULxsdzh79AFz7rBTVQeu2BsBay88XrFLc5diENj4ibizrwPNMbM/0/*,[86936c07/48'/1'/0'/2']tpubDFUys3FLzC4cEqZsTEJHwmSCbeXSTFdPvisp6uD2XhfZPkTJgwHJdVyUXYcfLRrikRxA2MpBaZWE5kZCtHFc15aVtktsHMrTijDjq2dKRGK/0/*,[7f7d263a/48'/1'/0'/2']tpubDEXXuskdCWjFnHuhjHYiWhcCGkz5YGUAj1THU6BRGhvrmwoKohttocoXTCCE9udffumcou7ZYUR5RNqwHW4kw7Jv2UXUUSKeKqJd9xGmSCs/0/*,[154159b3/48'/1'/0'/2']tpubDE3Nt1GGDjm9b2LNXCsszTgXwHDcpmXYCAsZzR9Uy9suicjmA6RqFezD5o8EWHk1vrztkPreHbYXKqGAdupKJNcKWYViKsQNMfr4uW8vcWq/0/*,[46d93da5/48'/1'/0'/2']tpubDF9n9yTw6Ck34SueKLCbv1djAhShkSoTG2m3kATNXKUi5nJwtJ6URJCg4M1je81fyabsX4t6F2itrQinMuu3cYLbpLbVQwWBUwYA8pPyKdZ/0/*,[d3c3bc8f/48'/1'/0'/2']tpubDFGmZ3HuCwoKMhMV7fMWAG2MBz3zWtvupca6oCys9KwAYKiYMB9NHGNq9qvVgPgDgpDLSiCqnp71f7WsV9N1cLkzsjqW9gxJF9VQ9oSZcj9/0/*,[8e236875/48'/1'/0'/2']tpubDFmB8SZte1hp77FdUn8kbHu7doJzWXaRLNoZ2r7V4x5aQY5dL9AaCmrvUNZSPYHJKeqto8roTvUpwWFazfxHEg5DvMq8br266uuD1JKieWj/0/*,[a3a9eb52/48'/1'/0'/2']tpubDE9uNJtEiu5UTMSEkK5egjKH6pXmw2KSAQQ6AbRqVngdHZuPHwxBeiofypHrGmG1WkvAtgjjn7gmPddzaz3ymQj9m3CDFLGEB6Ao4xqripj/0/*,[d03aacca/48'/1'/0'/2']tpubDFQ8YU5mdgP8kJcwhC9HPRQe6W83FNs3BMVTqq5S4ywanEqhdRkpp2cYpro3XRXKJPi8d1d3m4L2JXWdNQFfs31x37S3zfPpd7pwKEwLAm7/0/*,[ce3600ea/48'/1'/0'/2']tpubDFa2XbnHLcVbGM8NAq1soFJmJqtEeePkXAcWxHL71eWasMJujtrKWeQVp7NHQY5euJL2bFuBkVQHk4uoDrVRfCEELLxJhHuNouPquffbmUy/0/*,[fe898c92/48'/1'/0'/2']tpubDDzSj7jfCzXHnZjYNQV6MTK4iuztXr3SeXrQMWNwNiswTGJFdT9QGyjPWMoYcoPY9HCYbLdcMGiDokrWDWWZEhg8HpbgebenhJujvTzMeeN/0/*,[d33c583b/48'/1'/0'/2']tpubDFAeQcDpVPCyjLujPV1Li9LXJwqDvbmESE7wAMEABhesJM4Lhd8pqMgpDVSmf4cpdsfZbDWkhfyxeyG3SaWcB4MqEqhbseQ8mk41PPHb57T/0/*,[facf6b1f/48'/1'/0'/2']tpubDFBTNmh8E5RA9ehaZg9wCHWZvRMKNawQNmmd6V9SQb3NUW9s9y5iupMmDxAbBFFrytzotW9hu8REgqSFg26Q8mcvBjSAaVz9QcNzmCxRJdv/0/*))"

View File

@ -1,75 +0,0 @@
[
{
"Mnemonic": "tower keen enrich problem essence east plastic lounge merge sand increase company",
"xprv": "tprv8inwidD6qpNwMNY5ZadhYMn62d1WHvSVMRH2pPAj7RsAZGCY4YTiT1McMQSg5DAyijPBZ4HroX83vZQAevQkJSZUVH8kro9JnVbhTPBSAxL",
"wallet descriptor": "wsh(multi(1,[86936c07/48'/1'/0'/2']tpubDFUys3FLzC4cEqZsTEJHwmSCbeXSTFdPvisp6uD2XhfZPkTJgwHJdVyUXYcfLRrikRxA2MpBaZWE5kZCtHFc15aVtktsHMrTijDjq2dKRGK/0/*))#pslna7dm",
},
{
"Mnemonic": "deer trust ceiling youth brass rapid scout cradle better clap spike morning",
"xprv": "tprv8iNgodqVZKJgEFGhmoouPYPAj7EzaqjqToGcdZGUTVcDpu8YSvvhmoppYp7vWG2LR2SrF93AVYZGgG9bCzuQs1xqwJ2QW8hRwtEVdyUofuH",
"wallet descriptor": "wsh(multi(1,[5df7e4b0/48'/1'/0'/2']tpubDF4ix3sjhgzM7iJVfTUVnx3HJ8kvkAvk36sPv5JmsmQcfPPK5KkHxJSgixZAdcYEsGcvHacm1hW4iLksGoTZocJozuaA2BTNp3GEvW432qu/0/*))#4ma3uvl0"
},
{
"Mnemonic": "control load guard error caution hundred main adjust happy infant safe brother",
"xprv": "tprv8hTsDtqzaXPoZtQSrfR4HKfAXo1qmh8Xb6oJt5PY5WtET5ecfZ8bUEBoofVrH6s8STU586QHhYSppmQ3n1nvsZ6p5VaKu4MHxsvzUf1gg2D",
"wallet descriptor": "wsh(multi(1,[a3a9eb52/48'/1'/0'/2']tpubDE9uNJtEiu5UTMSEkK5egjKH6pXmw2KSAQQ6AbRqVngdHZuPHwxBeiofypHrGmG1WkvAtgjjn7gmPddzaz3ymQj9m3CDFLGEB6Ao4xqripj/0/*))#ju6z6s7v"
},
{
"Mnemonic": "venture ice crash venture tourist tail naive curtain pilot engage code celery",
"xprv": "tprv8iTk1ZRgwq4NAysrRgY1Wbycbfvmb7cYgjAGTeR573gKFJ4BFuGtEoaotCS6wdGiUfC2BTHg79tiX7i6NuFiTfjiaM8LXfNzL77YuBGY3K7",
"wallet descriptor": "wsh(multi(1,[46d93da5/48'/1'/0'/2']tpubDF9n9yTw6Ck34SueKLCbv1djAhShkSoTG2m3kATNXKUi5nJwtJ6URJCg4M1je81fyabsX4t6F2itrQinMuu3cYLbpLbVQwWBUwYA8pPyKdZ/0/*))#8q8j9sft"
},
{
"Mnemonic": "sheriff zone betray cactus error enable code flat coyote worry guitar equal",
"xprv": "tprv8iajQdFf4a7eUEKhE1gukrNEcxY4MZk1FJyKWgwZj48mhqTminKn6mkxyfyn1QwJ2XUke2aiXfXNQ2XqpGBbwXSSRK8hvqHQJuHWHs68YTh",
"wallet descriptor": "wsh(multi(1,[d3c3bc8f/48'/1'/0'/2']tpubDFGmZ3HuCwoKMhMV7fMWAG2MBz3zWtvupca6oCys9KwAYKiYMB9NHGNq9qvVgPgDgpDLSiCqnp71f7WsV9N1cLkzsjqW9gxJF9VQ9oSZcj9/0/*))#7r3f3xys"
},
{
"Mnemonic": "bottom sight mistake next reveal modify rather bulk mountain arrow useful buzz",
"xprv": "tprv8hqVmTiP493atpsuqdt87Hx5hjU9NwHG9hrWBa97rS8TwTYZBK5Jd8BfH4Jv154oP9YRWy7kU9p7xnqTwXCAnKZuEpACt2uzTx83HrTjqen",
"wallet descriptor": "wsh(multi(1,[7f7d263a/48'/1'/0'/2']tpubDEXXuskdCWjFnHuhjHYiWhcCGkz5YGUAj1THU6BRGhvrmwoKohttocoXTCCE9udffumcou7ZYUR5RNqwHW4kw7Jv2UXUUSKeKqJd9xGmSCs/0/*))#zc5ruh7c"
},
{
"Mnemonic": "payment ill whisper noble casual shallow clown pipe keen pencil fluid term""xprv": "tprv8hMLjbE25N5UhZJadZDHb42RNFhgfSLdcsGnhu7BYt5Wt8UzXhcF5ANLuezsgJUNyCC4TJtekes9gssUCm6UKASnqMTPwm6KcePSw4npybF""wallet descriptor": "wsh(multi(1,[154159b3/48'/1'/0'/2']tpubDE3Nt1GGDjm9b2LNXCsszTgXwHDcpmXYCAsZzR9Uy9suicjmA6RqFezD5o8EWHk1vrztkPreHbYXKqGAdupKJNcKWYViKsQNMfr4uW8vcWq/0/*))#5k6w6h6g"
},
{
"Mnemonic": "lesson trumpet royal bright three oval vague organ atom joke favorite april",
"xprv": "tprv8ixSxhVBoDTfv846JKDo5Qu8L89wZnmXUZCwdN1sm8CRfS1RpecrWmtthiTqepjnBroRit3Zygn53z3v8QWp3bqQYjev2Mn92g9jGkzaGya",
"wallet descriptor": "wsh(multi(1,[fca68db6/48'/1'/0'/2']tpubDFeV77XRwb9Lob5tBxtPUpZEu9fsj7xS3roiut4BBPzpVvGCT3SShGWksqUYLqKBrt7xeKmmmgSrgbRiffcoS5KPiqyDWk5Kgvxek52XnNV/0/*))#j6sm3ntm"
},
{
"Mnemonic": "lyrics undo baby chicken possible vicious capital fun order salon maple source",
"xprv": "tprv8ixaRLep3QQB2Rn9UpXXJVt9qcrDL6QTuHJusiKjPPgzkPmDveAQNBViJBrJakLKaoc3w7JzNUXAkSaeQHJAzGsMnrJQggWNkMn1e9rihgP",
"wallet descriptor": "wsh(multi(1,[ef9d9ce6/48'/1'/0'/2']tpubDFecZkh4Bn5qutowNUC7huYGQeN9VRbNUauhAEN2ofVPat1zZ2yzYg7aULxsdzh79AFz7rBTVQeu2BsBay88XrFLc5diENj4ibizrwPNMbM/0/*))#zyhj4kj3"
},
{
"Mnemonic": "canoe coral egg public boss stable mercy side tennis behind dance shy",
"xprv": "tprv8j58z2XeVe29DeDqb8UABtF14mo4MCPWm5CmkL5BegHBa3prhkLz2HF4JFwU5Z6ypnA7qCVcwdyPGj5yqXPoXiaE2Rcosmx9Ntiav39vRfp",
"wallet descriptor": "wsh(multi(1,[8e236875/48'/1'/0'/2']tpubDFmB8SZte1hp77FdUn8kbHu7doJzWXaRLNoZ2r7V4x5aQY5dL9AaCmrvUNZSPYHJKeqto8roTvUpwWFazfxHEg5DvMq8br266uuD1JKieWj/0/*))#8xxkeruq"
},
{
"Mnemonic": "expire document depend hamster spy become blossom midnight ecology salon all earth",
"xprv": "tprv8ii6Q43XVJhTrqb9oYUgz1kXXUc763g8c3tgZK38ei9Bwkaw12wEdXzgemB6fmF4jgDBAdavNg4YXyRe1XSx3jxjZ8i2fHruuyn6bP4r7uq",
"wallet descriptor": "wsh(multi(1,[d03aacca/48'/1'/0'/2']tpubDFQ8YU5mdgP8kJcwhC9HPRQe6W83FNs3BMVTqq5S4ywanEqhdRkpp2cYpro3XRXKJPi8d1d3m4L2JXWdNQFfs31x37S3zfPpd7pwKEwLAm7/0/*))#phcw966k"
},
{
"Mnemonic": "movie west unit carbon adapt liberty crack easily raise toward brother quality",
"xprv": "tprv8iszPBk3CEovNt6aHBMHPqeejpNJVKCqws1jfmHobNiC2s497W2jL9nde2FmTBWKMpkuKXDuFKPrBqKcEpsjgYeLsoQVT3MgsHoTjTL64qB",
"wallet descriptor": "wsh(multi(1,[ce3600ea/48'/1'/0'/2']tpubDFa2XbnHLcVbGM8NAq1soFJmJqtEeePkXAcWxHL71eWasMJujtrKWeQVp7NHQY5euJL2bFuBkVQHk4uoDrVRfCEELLxJhHuNouPquffbmUy/0/*))#lwv5ura2"
},
{
"Mnemonic": "tip mixture supreme govern faculty panel judge motion aim write soon arrive",
"xprv": "tprv8hJQahhR4cqcu6hkUkpVx3ex9tUxNWrY5EFd4zLdxT5Ycn3V14Kp6V7XLEtJ2N5p5dpVeP9mhMqNwTBBeJaavMDquLh8SRFfdDejAy8yygX",
"wallet descriptor": "wsh(multi(1,[fe898c92/48'/1'/0'/2']tpubDDzSj7jfCzXHnZjYNQV6MTK4iuztXr3SeXrQMWNwNiswTGJFdT9QGyjPWMoYcoPY9HCYbLdcMGiDokrWDWWZEhg8HpbgebenhJujvTzMeeN/0/*))#675457w4"
},
{
"Mnemonic": "identify devote dice young air turkey angle code observe innocent fragile bench",
"xprv": "tprv8iUcGCBaM1XJqsswVqLkJjgQjvKHmGaKrvX9sqBrmRrUTroa5EKEes4x3L7AFE7tLDW4mUCWLmpAhFrjQvZ1uUzuAaziFvLwrtq253g9yzp",
"wallet descriptor": "wsh(multi(1,[d33c583b/48'/1'/0'/2']tpubDFAeQcDpVPCyjLujPV1Li9LXJwqDvbmESE7wAMEABhesJM4Lhd8pqMgpDVSmf4cpdsfZbDWkhfyxeyG3SaWcB4MqEqhbseQ8mk41PPHb57T/0/*))#u9xx2lkz"
},
{
"Mnemonic": "slide hollow decade federal pair brief furnace fit pelican heart better place",
"xprv": "tprv8iVREMet5hjVGBfng2VLnsrTMPqPDFkVoUAqoy78zKEye1u6XaG8jKju3nsf6GN1UTMbkFWoD6TiTTvnP2ez4NvXyX9c1UMfQ932CmZjuLg",
"wallet descriptor": "wsh(multi(1,[facf6b1f/48'/1'/0'/2']tpubDFBTNmh8E5RA9ehaZg9wCHWZvRMKNawQNmmd6V9SQb3NUW9s9y5iupMmDxAbBFFrytzotW9hu8REgqSFg26Q8mcvBjSAaVz9QcNzmCxRJdv/0/*))#3407up02"
}
]

View File

@ -1,25 +0,0 @@
{
"type": "wsh",
"multi": "sortedmulti",
"min": "1",
"pubkeys": [
"[fca68db6/48'/1'/0'/2']tpubDFeV77XRwb9Lob5tBxtPUpZEu9fsj7xS3roiut4BBPzpVvGCT3SShGWksqUYLqKBrt7xeKmmmgSrgbRiffcoS5KPiqyDWk5Kgvxek52XnNV/0/*",
"[5df7e4b0/48'/1'/0'/2']tpubDF4ix3sjhgzM7iJVfTUVnx3HJ8kvkAvk36sPv5JmsmQcfPPK5KkHxJSgixZAdcYEsGcvHacm1hW4iLksGoTZocJozuaA2BTNp3GEvW432qu/0/*",
"[ef9d9ce6/48'/1'/0'/2']tpubDFecZkh4Bn5qutowNUC7huYGQeN9VRbNUauhAEN2ofVPat1zZ2yzYg7aULxsdzh79AFz7rBTVQeu2BsBay88XrFLc5diENj4ibizrwPNMbM/0/*",
"[86936c07/48'/1'/0'/2']tpubDFUys3FLzC4cEqZsTEJHwmSCbeXSTFdPvisp6uD2XhfZPkTJgwHJdVyUXYcfLRrikRxA2MpBaZWE5kZCtHFc15aVtktsHMrTijDjq2dKRGK/0/*",
"[7f7d263a/48'/1'/0'/2']tpubDEXXuskdCWjFnHuhjHYiWhcCGkz5YGUAj1THU6BRGhvrmwoKohttocoXTCCE9udffumcou7ZYUR5RNqwHW4kw7Jv2UXUUSKeKqJd9xGmSCs/0/*",
"[154159b3/48'/1'/0'/2']tpubDE3Nt1GGDjm9b2LNXCsszTgXwHDcpmXYCAsZzR9Uy9suicjmA6RqFezD5o8EWHk1vrztkPreHbYXKqGAdupKJNcKWYViKsQNMfr4uW8vcWq/0/*",
"[46d93da5/48'/1'/0'/2']tpubDF9n9yTw6Ck34SueKLCbv1djAhShkSoTG2m3kATNXKUi5nJwtJ6URJCg4M1je81fyabsX4t6F2itrQinMuu3cYLbpLbVQwWBUwYA8pPyKdZ/0/*",
"[d3c3bc8f/48'/1'/0'/2']tpubDFGmZ3HuCwoKMhMV7fMWAG2MBz3zWtvupca6oCys9KwAYKiYMB9NHGNq9qvVgPgDgpDLSiCqnp71f7WsV9N1cLkzsjqW9gxJF9VQ9oSZcj9/0/*",
"[8e236875/48'/1'/0'/2']tpubDFmB8SZte1hp77FdUn8kbHu7doJzWXaRLNoZ2r7V4x5aQY5dL9AaCmrvUNZSPYHJKeqto8roTvUpwWFazfxHEg5DvMq8br266uuD1JKieWj/0/*",
"[a3a9eb52/48'/1'/0'/2']tpubDE9uNJtEiu5UTMSEkK5egjKH6pXmw2KSAQQ6AbRqVngdHZuPHwxBeiofypHrGmG1WkvAtgjjn7gmPddzaz3ymQj9m3CDFLGEB6Ao4xqripj/0/*",
"[d03aacca/48'/1'/0'/2']tpubDFQ8YU5mdgP8kJcwhC9HPRQe6W83FNs3BMVTqq5S4ywanEqhdRkpp2cYpro3XRXKJPi8d1d3m4L2JXWdNQFfs31x37S3zfPpd7pwKEwLAm7/0/*",
"[ce3600ea/48'/1'/0'/2']tpubDFa2XbnHLcVbGM8NAq1soFJmJqtEeePkXAcWxHL71eWasMJujtrKWeQVp7NHQY5euJL2bFuBkVQHk4uoDrVRfCEELLxJhHuNouPquffbmUy/0/*",
"[fe898c92/48'/1'/0'/2']tpubDDzSj7jfCzXHnZjYNQV6MTK4iuztXr3SeXrQMWNwNiswTGJFdT9QGyjPWMoYcoPY9HCYbLdcMGiDokrWDWWZEhg8HpbgebenhJujvTzMeeN/0/*",
"[d33c583b/48'/1'/0'/2']tpubDFAeQcDpVPCyjLujPV1Li9LXJwqDvbmESE7wAMEABhesJM4Lhd8pqMgpDVSmf4cpdsfZbDWkhfyxeyG3SaWcB4MqEqhbseQ8mk41PPHb57T/0/*",
"[facf6b1f/48'/1'/0'/2']tpubDFBTNmh8E5RA9ehaZg9wCHWZvRMKNawQNmmd6V9SQb3NUW9s9y5iupMmDxAbBFFrytzotW9hu8REgqSFg26Q8mcvBjSAaVz9QcNzmCxRJdv/0/*"
],
"checksum": "#jmqku76u",
"signet_challenge": "0020341c43803863c252df326e73574a27d7e19322992061017b0dc893e2eab90821",
"magic": "b066463d"
}