source: Validate External Links/Documentation/curl codes.txt@ 1140

Last change on this file since 1140 was 1139, checked in by iritscen, 4 years ago

ValExtLinks: The 'I Just Broke All The Diff-Gazing' Commit. Revised file structure of the project and added the MIT license. Revised all documentation. HTTP and curl codes are now wiki-formatted and hosted online. In Val itself, I made these changes: Added --timeout argument to change default URL query timeout of 10 seconds. Revised the report header to be easier to read. Less advice is printed directly in the report and more is online at the location linked to under the Legend section.

File size: 7.0 KB
RevLine 
[1139]1ValExtLinks uses the Unix tool 'curl' to query each link. These are the return values which can come from 'curl', taken from its man page. These codes appear in parentheses after the three-digit [[../HTTP codes|HTTP response code]] for each link (except EI and IW links).
2
3<pre>EXIT CODES
4 1 Unsupported protocol. This build of curl has no support for this
5 protocol.
6
7 2 Failed to initialize.
8
9 3 URL malformed. The syntax was not correct.
10
11 4 A feature or option that was needed to perform the desired
12 request was not enabled or was explicitly disabled at build-
13 time. To make curl able to do this, you probably need another
14 build of libcurl!
15
16 5 Couldn't resolve proxy. The given proxy host could not be
17 resolved.
18
19 6 Couldn't resolve host. The given remote host was not resolved.
20
21 7 Failed to connect to host.
22
23 8 Weird server reply. The server sent data curl couldn't parse.
24
25 9 FTP access denied. The server denied login or denied access to
26 the particular resource or directory you wanted to reach. Most
27 often you tried to change to a directory that doesn't exist on
28 the server.
29
30 10 FTP accept failed. While waiting for the server to connect back
31 when an active FTP session is used, an error code was sent over
32 the control connection or similar.
33
34 11 FTP weird PASS reply. Curl couldn't parse the reply sent to the
35 PASS request.
36
37 12 During an active FTP session while waiting for the server to
38 connect back to curl, the timeout expired.
39
40 13 FTP weird PASV reply, Curl couldn't parse the reply sent to the
41 PASV request.
42
43 14 FTP weird 227 format. Curl couldn't parse the 227-line the
44 server sent.
45
46 15 FTP can't get host. Couldn't resolve the host IP we got in the
47 227-line.
48
49 16 HTTP/2 error. A problem was detected in the HTTP2 framing layer.
50 This is somewhat generic and can be one out of several problems,
51 see the error message for details.
52
53 17 FTP couldn't set binary. Couldn't change transfer method to
54 binary.
55
56 18 Partial file. Only a part of the file was transferred.
57
58 19 FTP couldn't download/access the given file, the RETR (or simi-
59 lar) command failed.
60
61 21 FTP quote error. A quote command returned error from the server.
62
63 22 HTTP page not retrieved. The requested url was not found or
64 returned another error with the HTTP error code being 400 or
65 above. This return code only appears if -f, --fail is used.
66
67 23 Write error. Curl couldn't write data to a local filesystem or
68 similar.
69
70 25 FTP couldn't STOR file. The server denied the STOR operation,
71 used for FTP uploading.
72
73 26 Read error. Various reading problems.
74
75 27 Out of memory. A memory allocation request failed.
76
77 28 Operation timeout. The specified time-out period was reached
78 according to the conditions.
79
80 30 FTP PORT failed. The PORT command failed. Not all FTP servers
81 support the PORT command, try doing a transfer using PASV
82 instead!
83
84 31 FTP couldn't use REST. The REST command failed. This command is
85 used for resumed FTP transfers.
86
87 33 HTTP range error. The range "command" didn't work.
88
89 34 HTTP post error. Internal post-request generation error.
90
91 35 SSL connect error. The SSL handshaking failed.
92
93 36 Bad download resume. Couldn't continue an earlier aborted down-
94 load.
95
96 37 FILE couldn't read file. Failed to open the file. Permissions?
97
98 38 LDAP cannot bind. LDAP bind operation failed.
99
100 39 LDAP search failed.
101
102 41 Function not found. A required LDAP function was not found.
103
104 42 Aborted by callback. An application told curl to abort the oper-
105 ation.
106
107 43 Internal error. A function was called with a bad parameter.
108
109 45 Interface error. A specified outgoing interface could not be
110 used.
111
112 47 Too many redirects. When following redirects, curl hit the maxi-
113 mum amount.
114
115 48 Unknown option specified to libcurl. This indicates that you
116 passed a weird option to curl that was passed on to libcurl and
117 rejected. Read up in the manual!
118
119 49 Malformed telnet option.
120
121 51 The peer's SSL certificate or SSH MD5 fingerprint was not OK.
122
123 52 The server didn't reply anything, which here is considered an
124 error.
125
126 53 SSL crypto engine not found.
127
128 54 Cannot set SSL crypto engine as default.
129
130 55 Failed sending network data.
131
132 56 Failure in receiving network data.
133
134 58 Problem with the local certificate.
135
136 59 Couldn't use specified SSL cipher.
137
138 60 Peer certificate cannot be authenticated with known CA certifi-
139 cates.
140
141 61 Unrecognized transfer encoding.
142
143 62 Invalid LDAP URL.
144
145 63 Maximum file size exceeded.
146
147 64 Requested FTP SSL level failed.
148
149 65 Sending the data requires a rewind that failed.
150
151 66 Failed to initialise SSL Engine.
152
153 67 The user name, password, or similar was not accepted and curl
154 failed to log in.
155
156 68 File not found on TFTP server.
157
158 69 Permission problem on TFTP server.
159
160 70 Out of disk space on TFTP server.
161
162 71 Illegal TFTP operation.
163
164 72 Unknown TFTP transfer ID.
165
166 73 File already exists (TFTP).
167
168 74 No such user (TFTP).
169
170 75 Character conversion failed.
171
172 76 Character conversion functions required.
173
174 77 Problem with reading the SSL CA cert (path? access rights?).
175
176 78 The resource referenced in the URL does not exist.
177
178 79 An unspecified error occurred during the SSH session.
179
180 80 Failed to shut down the SSL connection.
181
182 82 Could not load CRL file, missing or wrong format (added in
183 7.19.0).
184
185 83 Issuer check failed (added in 7.19.0).
186
187 84 The FTP PRET command failed
188
189 85 RTSP: mismatch of CSeq numbers
190
191 86 RTSP: mismatch of Session Identifiers
192
193 87 unable to parse FTP file list
194
195 88 FTP chunk callback reported error
196
197 89 No connection available, the session will be queued
198
199 90 SSL public key does not matched pinned public key
200
201 91 Invalid SSL certificate status.
202
203 92 Stream error in HTTP/2 framing layer.</pre>
Note: See TracBrowser for help on using the repository browser.