{"record":{"id":"889e0514ae699077","repo":"projectdiscovery/nuclei","slug":"dialers-not-initialized-for-s-889e05","errorCode":null,"errorMessage":"dialers not initialized for %s","messagePattern":"dialers not initialized for (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/js/libs/redis/redis.go","lineNumber":156,"sourceCode":"\n// IsAuthenticated checks if the redis server requires authentication\n// @example\n// ```javascript\n// const redis = require('nuclei/redis');\n// const isAuthenticated = redis.IsAuthenticated('acme.com', 6379);\n// ```\nfunc IsAuthenticated(ctx context.Context, host string, port int) (bool, error) {\n\texecutionId := ctx.Value(\"executionId\").(string)\n\treturn memoizedisAuthenticated(ctx, executionId, host, port)\n}\n\n// @memo\nfunc isAuthenticated(ctx context.Context, executionId string, host string, port int) (bool, error) {\n\tplugin := pluginsredis.REDISPlugin{}\n\ttimeout := 5 * time.Second\n\tdialer := protocolstate.GetDialersWithId(executionId)\n\tif dialer == nil {\n\t\treturn false, fmt.Errorf(\"dialers not initialized for %s\", executionId)\n\t}\n\n\tconn, err := dialer.Fastdialer.Dial(ctx, \"tcp\", fmt.Sprintf(\"%s:%d\", host, port))\n\tif err != nil {\n\t\treturn false, err\n\t}\n\tdefer func() {\n\t\t_ = conn.Close()\n\t}()\n\n\t_, err = plugin.Run(conn, timeout, plugins.Target{Host: host})\n\tif err != nil {\n\t\treturn false, err\n\t}\n\treturn true, nil\n}\n\n// RunLuaScript runs a lua script on the redis server","sourceCodeStart":138,"sourceCodeEnd":174,"githubUrl":"https://github.com/projectdiscovery/nuclei/blob/265b3a3dec374741614e342f813c10f8b38d2bb7/pkg/js/libs/redis/redis.go#L138-L174","documentation":"Error \"dialers not initialized for %s\" thrown in projectdiscovery/nuclei.","triggerScenarios":"Thrown at pkg/js/libs/redis/redis.go:156 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"265b3a3dec374741614e342f813c10f8b38d2bb7","analyzedAt":"2026-08-15T20:05:51.855Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}