{"record":{"id":"b096dae5523eb0b8","repo":"sqlmapproject/sqlmap","slug":"invalid-url-address-used-s","errorCode":null,"errorMessage":"invalid URL address used (%s)","messagePattern":"invalid URL address used \\((.+?)\\)","errorType":"exception","errorClass":"SqlmapSyntaxException","httpStatus":null,"severity":"error","filePath":"lib/request/connect.py","lineNumber":984,"sourceCode":"\n            if conf.debug:\n                dataToStdout(tbMsg)\n\n            if checking:\n                return None, None, None\n            elif \"KeyError:\" in tbMsg:\n                if \"content-length\" in tbMsg:\n                    return None, None, None\n                else:\n                    raise\n            elif \"AttributeError:\" in tbMsg:\n                if \"WSAECONNREFUSED\" in tbMsg:\n                    return None, None, None\n                else:\n                    raise\n            elif \"no host given\" in tbMsg:\n                warnMsg = \"invalid URL address used (%s)\" % repr(url)\n                raise SqlmapSyntaxException(warnMsg)\n            elif any(_ in tbMsg for _ in (\"forcibly closed\", \"Connection is already closed\", \"ConnectionAbortedError\")):\n                warnMsg = \"connection was forcibly closed by the target URL\"\n            elif \"timed out\" in tbMsg:\n                if kb.testMode and kb.testType not in (None, PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED):\n                    singleTimeWarnMessage(\"there is a possibility that the target (or WAF/IPS) is dropping 'suspicious' requests\")\n                    kb.droppingRequests = True\n                warnMsg = \"connection timed out to the target URL\"\n            elif \"Connection reset\" in tbMsg:\n                if not conf.disablePrecon:\n                    singleTimeWarnMessage(\"turning off pre-connect mechanism because of connection reset(s)\")\n                    conf.disablePrecon = True\n\n                if kb.testMode:\n                    singleTimeWarnMessage(\"there is a possibility that the target (or WAF/IPS) is resetting 'suspicious' requests\")\n                    kb.droppingRequests = True\n                warnMsg = \"connection reset to the target URL\"\n            elif \"URLError\" in tbMsg or \"error\" in tbMsg:\n                warnMsg = \"unable to connect to the target URL\"","sourceCodeStart":966,"sourceCodeEnd":1002,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/request/connect.py#L966-L1002","documentation":"Error \"invalid URL address used (%s)\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/request/connect.py:984 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":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}