{"record":{"id":"db117f281cf1b67d","repo":"projectdiscovery/nuclei","slug":"no-port-provided-in-network-protocol-request","errorCode":null,"errorMessage":"no port provided in network protocol request","messagePattern":"no port provided in network protocol request","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/protocols/network/request.go","lineNumber":220,"sourceCode":"\n\t\t\tcallback(&output.InternalWrappedEvent{InternalEvent: outputEvent})\n\t\t}\n\n\t\tif shouldStopAtFirstMatch && atomicBool.Load() {\n\t\t\tbreak\n\t\t}\n\t}\n\n\treturn err\n}\n\n// executeAddress executes the request for an address\nfunc (request *Request) executeAddress(variables map[string]interface{}, actualAddress, address string, input *contextargs.Context, shouldUseTLS bool, previous output.InternalEvent, interactshURLs []string, callback protocols.OutputEventCallback) error {\n\tvariables = generators.MergeMaps(variables, map[string]interface{}{\"Hostname\": address})\n\tpayloads := generators.BuildPayloadFromOptions(request.options.Options)\n\n\tif !strings.Contains(actualAddress, \":\") {\n\t\terr := errors.New(\"no port provided in network protocol request\")\n\t\trequest.options.Output.Request(request.options.TemplatePath, address, request.Type().String(), err)\n\t\trequest.options.Progress.IncrementFailedRequestsBy(1)\n\t\treturn err\n\t}\n\tupdatedTarget := input.Clone()\n\tupdatedTarget.MetaInput.Input = actualAddress\n\n\t// if request threads matches global payload concurrency we follow it\n\tshouldFollowGlobal := request.Threads == request.options.Options.PayloadConcurrency\n\n\tif request.generator != nil {\n\t\titerator := request.generator.NewIterator()\n\t\tvar multiErr error\n\t\tm := &sync.Mutex{}\n\t\tswg, err := syncutil.New(syncutil.WithSize(request.Threads))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}","sourceCodeStart":202,"sourceCodeEnd":238,"githubUrl":"https://github.com/projectdiscovery/nuclei/blob/265b3a3dec374741614e342f813c10f8b38d2bb7/pkg/protocols/network/request.go#L202-L238","documentation":"Error \"no port provided in network protocol request\" thrown in projectdiscovery/nuclei.","triggerScenarios":"Thrown at pkg/protocols/network/request.go:220 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"}