{"record":{"id":"cd5f9aafabfca9f7","repo":"windmill-labs/windmill","slug":"cause-inline-source-credentials-are-not-sup","errorCode":null,"errorMessage":"!> {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.","messagePattern":"!> (.+?) - 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\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"backend/windmill-worker/src/ruby_executor.rs","lineNumber":308,"sourceCode":"        .into());\n    }\n\n    let gemfile: String = windmill_parser_ruby::parse_ruby_requirements(&inner_content)?\n        .lines()\n        .map(str::trim)\n        .filter(|s| !s.is_empty() && !s.starts_with('#'))\n        .join(\"\\n\");\n\n    if let Some(caps) = UNSUPPORTED_SOURCE_RE.captures(&gemfile) {\n        if let (Some(src_m), Some(usr_m), Some(passwd_m)) =\n            (caps.name(\"src\"), caps.name(\"usr\"), caps.name(\"passwd\"))\n        {\n            let cause = src_m\n                .as_str()\n                .replace(usr_m.as_str(), \"REDACTED\")\n                .replace(passwd_m.as_str(), \"REDACTED\");\n\n            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());\n        }\n    }\n\n    let mut file = File::create(job_dir.to_owned() + \"/Gemfile\").await?;\n    file.write_all(&gemfile.as_bytes()).await?;\n\n    let ws_suffix = crate::workspace_registry_cache_suffix(w_id).await;\n    let req_hash = format!(\"ruby-{}{ws_suffix}\", calculate_hash(&gemfile));\n    if let Some(db) = conn.as_sql() {\n        if let Some(cached) = sqlx::query_scalar!(\n            \"SELECT lockfile FROM pip_resolution_cache WHERE hash = $1\",\n            req_hash\n        )\n        .fetch_optional(db)\n        .await?\n        {\n            return Ok(cached);\n        }","sourceCodeStart":290,"sourceCodeEnd":326,"githubUrl":"https://github.com/windmill-labs/windmill/blob/e474e8803ce2ff5c2df09a58dab51d45f5c922ca/backend/windmill-worker/src/ruby_executor.rs#L290-L326","documentation":"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.","triggerScenarios":"Thrown at backend/windmill-worker/src/ruby_executor.rs:308 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e474e8803ce2ff5c2df09a58dab51d45f5c922ca","analyzedAt":"2026-09-03T12:38:19.024Z","contentChangedAt":"2026-09-03T12:38:19.024Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}