Karpfen
08/06/2024, 11:06 AMWe were unable to configure Fleet. If your Fleet server is behind a proxy, please ensure the server can be reached.Can't find anything inside the logs. What can i do to troubleshoot/fix this?
Grant Bilstad
08/06/2024, 5:37 PMKarpfen
08/06/2024, 5:52 PMKarpfen
08/06/2024, 5:55 PMapp = 'fleet'
primary_region = 'fra'
[build]
[deploy]
release_command = "fleet prepare db"
[env]
FLEET_MYSQL_ADDRESS = '[...]:3306'
FLEET_MYSQL_DATABASE = 'fleet'
FLEET_MYSQL_USERNAME = 'fleet'
FLEET_REDIS_ADDRESS = '[...]:6379'
FLEET_REDIS_USERNAME = 'default'
FLEET_SERVER_TLS = 'false'
FLEET_S3_SOFTWARE_INSTALLERS_BUCKET = 'fleet'
FLEET_LOGGING_DEBUG = 'true'
FLEET_DOMAIN = 'fleet.[...]'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = 'off'
auto_start_machines = true
min_machines_running = 1
processes = ['app']
[[http_service.checks]]
interval = '30s'
timeout = '10s'
grace_period = '20s'
method = 'GET'
path = '/healthz'
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
Karpfen
08/06/2024, 5:56 PMKarpfen
08/06/2024, 5:58 PMFROM fleetdm/fleet:latest
CMD fleet serve
copied the Dockerfile and fly.toml from somewhere in here, slightly adjusted the fly.toml (release command and some ENV vars)Grant Bilstad
08/06/2024, 6:30 PMGrant Bilstad
08/06/2024, 6:36 PMfleetctl setup
.Karpfen
08/06/2024, 7:47 PM{
"message": "Validation Failed",
"errors": [
{
"name": "Could not create user. Password is over the 48 characters limit. If the password is under 48 characters, please check the auth_salt_key_size in your Fleet server config.",
"reason": "password too long"
}
],
"uuid": "1a6b885c-3c0a-45a6-8150-f8a1811527d4"
}
Error: error setting up Fleet: setup received status 422 Validation Failed: password too long
Karpfen
08/06/2024, 7:47 PMKarpfen
08/06/2024, 7:48 PM