windmill-labs/windmill · error
!> {cause} - inline source credentials are not supported at
Error message
!> {cause} - inline source credentials are not supported at the moment. Please set up credentials in instance settings, if you do not have access to it, contact your administrator. If you need this feature please let us know. What it means
Error "!> {cause} - inline source credentials are not supported at the moment. Please set up credentials in instance settings, if you do not have access to it, contact your administrator. If you need this feature please let us know." thrown in windmill-labs/windmill.
Source
Thrown at backend/windmill-worker/src/ruby_executor.rs:308
.into());
}
let gemfile: String = windmill_parser_ruby::parse_ruby_requirements(&inner_content)?
.lines()
.map(str::trim)
.filter(|s| !s.is_empty() && !s.starts_with('#'))
.join("\n");
if let Some(caps) = UNSUPPORTED_SOURCE_RE.captures(&gemfile) {
if let (Some(src_m), Some(usr_m), Some(passwd_m)) =
(caps.name("src"), caps.name("usr"), caps.name("passwd"))
{
let cause = src_m
.as_str()
.replace(usr_m.as_str(), "REDACTED")
.replace(passwd_m.as_str(), "REDACTED");
return Err(anyhow!("!> {cause} - inline source credentials are not supported at the moment. Please set up credentials in instance settings, if you do not have access to it, contact your administrator. If you need this feature please let us know.").into());
}
}
let mut file = File::create(job_dir.to_owned() + "/Gemfile").await?;
file.write_all(&gemfile.as_bytes()).await?;
let ws_suffix = crate::workspace_registry_cache_suffix(w_id).await;
let req_hash = format!("ruby-{}{ws_suffix}", calculate_hash(&gemfile));
if let Some(db) = conn.as_sql() {
if let Some(cached) = sqlx::query_scalar!(
"SELECT lockfile FROM pip_resolution_cache WHERE hash = $1",
req_hash
)
.fetch_optional(db)
.await?
{
return Ok(cached);
}View on GitHub (pinned to e474e8803c)
Solutions
- Remove the inline credentials from the source URL and configure gem credentials in instance settings instead
- Contact your administrator if you lack access to instance settings
- Use a credential-free mirror URL for the gem source if one is available
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at backend/windmill-worker/src/ruby_executor.rs:308 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of windmill-labs/windmill@e474e8803c (2026-09-03).
Data as JSON: /api/errors/cd5f9aafabfca9f7.
Report an issue: GitHub.