-
Notifications
You must be signed in to change notification settings - Fork 861
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Descritpion
I clicked the button Sync resource types with Hub to sync resources from the hub, it shows authentication error
Job log
job=019b720b-8b89-2625-e9fe-1af7fc221cae tag=bun worker=wk-default-p95lh-5KWsF hostname=windmill-workers-default-f84bff95b-p95lh
loaded from local cache: /tmp/windmill/cache/bun/8b2e8836e919f149606021bc0ba6ecb14511b66732a48f84cd5e2d6a329bcbbb
--- BUN BUNDLE SNAPSHOT EXECUTION ---
INFO ! Could not reach API given existing credentials. Attempting to reauth...
INFO Not a TTY, can't login interactively.
56943 | let errorMsg = error3 instanceof Error ? error3.message : String(error3);
56944 | if (errorMsg.includes("fetch") || errorMsg.includes("connection") || errorMsg.includes("ECONNREFUSED") || errorMsg.includes("refused"))
56945 | throw Error(`Network error: Could not connect to Windmill server at ${workspace.remote}`);
56946 | exports_mod2.info("! Could not reach API given existing credentials. Attempting to reauth...");
56947 | let newToken = await loginInteractive(workspace.remote);
56948 | throw Error("Unauthorized: Could not authenticate with the provided credentials");
^
error: Unauthorized: Could not authenticate with the provided credentials
at requireLogin (/tmp/windmill/cache/bun/8b2e8836e919f149606021bc0ba6ecb14511b66732a48f84cd5e2d6a329bcbbb:56948:18)
at async pull2 (/tmp/windmill/cache/bun/8b2e8836e919f149606021bc0ba6ecb14511b66732a48f84cd5e2d6a329bcbbb:67782:36)
at async main3 (/tmp/windmill/cache/bun/8b2e8836e919f149606021bc0ba6ecb14511b66732a48f84cd5e2d6a329bcbbb:70060:14)
at async run (/tmp/windmill/wk-default-p95lh-5KWsF/019b720b-8b89-2625-e9fe-1af7fc221cae/wrapper.mjs:27:26)
at processTicksAndRejections (7:39)
To reproduce
- Go to Resource page /resources
- Click on
Add resourceon the top right of the page - Click
Sync resource types with Hub - See error
Expected behavior
resources sync from the hub successfully
Screenshots
Browser information
Version 143.0.7499.170 (Official Build) (arm64)
Application version
CE v1.599.3
Additional Context
- We are self-hosting windmill on k8s cluster, and currently our windmill domain is internal only not accessible by external network
- I can get the Script from the hub
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working