berbw
berbw
WWindmill
Created by berbw on 3/21/2025 in #help
Synchronize Hub Ressource types with instance throws "Error: Could not reauth"
Hi there! We are just getting started evaluating Windmill self-hosted for a possible EE-deployment. We are currently running version Windmill CE v1.478.1-5-g46797f072 behind an explicit proxy. Proxy settings are passed to the docker containers via env variables HTTP_PROXY=http://redacted.local:3128, HTTPS_PROXY=http://redacted.local:3128, NO_PROXY=localhost,windmill.local,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16. I can see in the proxy logs, that Windmill uses the explicit proxy for outbound connections. Running the default Script Synchronize Hub Resource types with instance results in an error and Windmill Resources are not loaded. However: Windmill Hub Scripts/Flows/Apps are loaded correctly. What could cause this? Thank you!
{
"error": {
"name": "Error",
"stack": "Error: Could not reauth\n at <anonymous> (/tmp/windmill/cache/bun/c568fcc2fbf82e82cd6db9f9a40abb6366c832daece3b3364c8028f9f293ae9a:57432:22)\n at processTicksAndRejections (native:7:39)",
"message": "Could not reauth"
}
}
{
"error": {
"name": "Error",
"stack": "Error: Could not reauth\n at <anonymous> (/tmp/windmill/cache/bun/c568fcc2fbf82e82cd6db9f9a40abb6366c832daece3b3364c8028f9f293ae9a:57432:22)\n at processTicksAndRejections (native:7:39)",
"message": "Could not reauth"
}
}
Logs:
job=0195b845-2aaf-e9e3-60cb-56ad91bb69ef tag=bun worker=wk-default-c67bf71951c7-SxCO2 hostname=c67bf71951c7

loaded from local cache: /tmp/windmill/cache/bun/c568fcc2fbf82e82cd6db9f9a40abb6366c832daece3b3364c8028f9f293ae9a


--- BUN BUNDLE SNAPSHOT EXECUTION ---

INFO ! Could not reach API given existing credentials. Attempting to reauth...
INFO Not a TTY, can't login interactively.
57427 | try {
57428 | return await exports_deps.UserService.globalWhoami();
57429 | } catch {
57430 | exports_mod9.info("! Could not reach API given existing credentials. Attempting to reauth...");
57431 | let newToken = await loginInteractive(workspace.remote);
57432 | throw new Error("Could not reauth");
^
error: Could not reauth
at <anonymous> (/tmp/windmill/cache/bun/c568fcc2fbf82e82cd6db9f9a40abb6366c832daece3b3364c8028f9f293ae9a:57432:13)
job=0195b845-2aaf-e9e3-60cb-56ad91bb69ef tag=bun worker=wk-default-c67bf71951c7-SxCO2 hostname=c67bf71951c7

loaded from local cache: /tmp/windmill/cache/bun/c568fcc2fbf82e82cd6db9f9a40abb6366c832daece3b3364c8028f9f293ae9a


--- BUN BUNDLE SNAPSHOT EXECUTION ---

INFO ! Could not reach API given existing credentials. Attempting to reauth...
INFO Not a TTY, can't login interactively.
57427 | try {
57428 | return await exports_deps.UserService.globalWhoami();
57429 | } catch {
57430 | exports_mod9.info("! Could not reach API given existing credentials. Attempting to reauth...");
57431 | let newToken = await loginInteractive(workspace.remote);
57432 | throw new Error("Could not reauth");
^
error: Could not reauth
at <anonymous> (/tmp/windmill/cache/bun/c568fcc2fbf82e82cd6db9f9a40abb6366c832daece3b3364c8028f9f293ae9a:57432:13)
9 replies