Artifactspublic-v0

curl

master
ply4 git calls537 ms294 KiB2 cachedprotocol v2
767 lines17 KiBRaw

NAME

libcurl-errors - error codes in libcurl

DESCRIPTION

This man page includes most, if not all, available error codes in libcurl. Why they occur and possibly what you can do to fix the problem are also included.

CURLcode

Almost all "easy" interface functions return a CURLcode error code. No matter what, using the curl_easy_setopt(3) option CURLOPT_ERRORBUFFER(3) is a good idea as it gives you a human readable error string that may offer more details about the cause of the error than the error code alone. curl_easy_strerror(3) can be called to get an error string from a given CURLcode number.

CURLcode is one of the following:

CURLE_OK (0)

All fine. Proceed as usual.

CURLE_UNSUPPORTED_PROTOCOL (1)

The URL you passed to libcurl used a protocol that this libcurl does not support. The support might be a compile-time option that you did not use, it can be a misspelled protocol string or a protocol libcurl has no code for.

CURLE_FAILED_INIT (2)

Early initialization code failed. This is likely to be an internal error or problem, or a resource problem where something fundamental could not get done at init time.

CURLE_URL_MALFORMAT (3)

The URL was not properly formatted.

CURLE_NOT_BUILT_IN (4)

A requested feature, protocol or option was not found built into this libcurl due to a build-time decision. This means that a feature or option was not enabled or explicitly disabled when libcurl was built and in order to get it to function you have to get a rebuilt libcurl.

CURLE_COULDNT_RESOLVE_PROXY (5)

Could not resolve proxy. The given proxy host could not be resolved.

CURLE_COULDNT_RESOLVE_HOST (6)

Could not resolve host. The given remote host was not resolved.

CURLE_COULDNT_CONNECT (7)

Failed to connect() to host or proxy.

CURLE_WEIRD_SERVER_REPLY (8)

The server sent data libcurl could not parse. This error code was known as CURLE_FTP_WEIRD_SERVER_REPLY before 7.51.0.

CURLE_REMOTE_ACCESS_DENIED (9)

We were denied access to the resource given in the URL. For FTP, this occurs while trying to change to the remote directory.

CURLE_FTP_ACCEPT_FAILED (10)

While waiting for the server to connect back when an active FTP session is used, an error code was sent over the control connection or similar.

CURLE_FTP_WEIRD_PASS_REPLY (11)

After having sent the FTP password to the server, libcurl expects a proper reply. This error code indicates that an unexpected code was returned.

CURLE_FTP_ACCEPT_TIMEOUT (12)

During an active FTP session while waiting for the server to connect, the CURLOPT_ACCEPTTIMEOUT_MS(3) (or the internal default) timeout expired.

CURLE_FTP_WEIRD_PASV_REPLY (13)

libcurl failed to get a sensible result back from the server as a response to either a PASV or an EPSV command. The server is flawed.

CURLE_FTP_WEIRD_227_FORMAT (14)

FTP servers return a 227-line as a response to a PASV command. If libcurl fails to parse that line, this return code is passed back.

CURLE_FTP_CANT_GET_HOST (15)

An internal failure to lookup the host used for the new connection.

CURLE_HTTP2 (16)

A problem was detected in the HTTP2 framing layer. This is somewhat generic and can be one out of several problems, see the error buffer for details.

CURLE_FTP_COULDNT_SET_TYPE (17)

Received an error when trying to set the transfer mode to binary or ASCII.

CURLE_PARTIAL_FILE (18)

A file transfer was shorter or larger than expected. This happens when the server first reports an expected transfer size, and then delivers data that does not match the previously given size.

CURLE_FTP_COULDNT_RETR_FILE (19)

This was either a weird reply to a 'RETR' command or a zero byte transfer complete.

Obsolete error (20)

Not used in modern versions.

CURLE_QUOTE_ERROR (21)

When sending custom "QUOTE" commands to the remote server, one of the commands returned an error code that was 400 or higher (for FTP) or otherwise indicated unsuccessful completion of the command.

CURLE_HTTP_RETURNED_ERROR (22)

This is returned if CURLOPT_FAILONERROR(3) is set TRUE and the HTTP server returns an error code that is >= 400.

CURLE_WRITE_ERROR (23)

An error occurred when writing received data to a local file, or an error was returned to libcurl from a write callback.

Obsolete error (24)

Not used in modern versions.

CURLE_UPLOAD_FAILED (25)

Failed starting the upload. For FTP, the server typically denied the STOR command. The error buffer usually contains the server's explanation for this.

CURLE_READ_ERROR (26)

There was a problem reading a local file or an error returned by the read callback.

CURLE_OUT_OF_MEMORY (27)

A memory allocation request failed. This is serious badness and things are severely screwed up if this ever occurs.

CURLE_OPERATION_TIMEDOUT (28)

Operation timeout. The specified time-out period was reached according to the conditions.

Obsolete error (29)

Not used in modern versions.

CURLE_FTP_PORT_FAILED (30)

The FTP PORT command returned error. This mostly happens when you have not specified a good enough address for libcurl to use. See CURLOPT_FTPPORT(3).

CURLE_FTP_COULDNT_USE_REST (31)

The FTP REST command returned error. This should never happen if the server is sane.

Obsolete error (32)

Not used in modern versions.

CURLE_RANGE_ERROR (33)

The server does not support or accept range requests.

Obsolete error (34)

Not used since 7.56.0.

CURLE_SSL_CONNECT_ERROR (35)

A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others.

CURLE_BAD_DOWNLOAD_RESUME (36)

The download could not be resumed because the specified offset was out of the file boundary.

CURLE_FILE_COULDNT_READ_FILE (37)

A file given with file:// could not be opened. Most likely because the file path does not identify an existing file. Did you check file permissions?

CURLE_LDAP_CANNOT_BIND (38)

LDAP cannot bind. LDAP bind operation failed.

CURLE_LDAP_SEARCH_FAILED (39)

LDAP search failed.

Obsolete error (40)

Not used in modern versions.

Obsolete error (41)

Not used since 7.53.0.

CURLE_ABORTED_BY_CALLBACK (42)

Aborted by callback. A callback returned "abort" to libcurl.

CURLE_BAD_FUNCTION_ARGUMENT (43)

A function was called with a bad parameter.

Obsolete error (44)

Not used in modern versions.

CURLE_INTERFACE_FAILED (45)

Interface error. A specified outgoing interface could not be used. Set which interface to use for outgoing connections' source IP address with CURLOPT_INTERFACE(3).

Obsolete error (46)

Not used in modern versions.

CURLE_TOO_MANY_REDIRECTS (47)

Too many redirects. When following redirects, libcurl hit the maximum amount. Set your limit with CURLOPT_MAXREDIRS(3).

CURLE_UNKNOWN_OPTION (48)

An option passed to libcurl is not recognized/known. Refer to the appropriate documentation. This is most likely a problem in the program that uses libcurl. The error buffer might contain more specific information about which exact option it concerns.

CURLE_SETOPT_OPTION_SYNTAX (49)

An option passed in to a setopt was wrongly formatted. See error message for details about what option.

Obsolete errors (50-51)

Not used in modern versions.

CURLE_GOT_NOTHING (52)

Nothing was returned from the server, and under the circumstances, getting nothing is considered an error.

CURLE_SSL_ENGINE_NOTFOUND (53)

The specified crypto engine was not found.

CURLE_SSL_ENGINE_SETFAILED (54)

Failed setting the selected SSL crypto engine as default.

CURLE_SEND_ERROR (55)

Failed sending network data.

CURLE_RECV_ERROR (56)

Failure with receiving network data.

Obsolete error (57)

Not used in modern versions.

CURLE_SSL_CERTPROBLEM (58)

problem with the local client certificate.

CURLE_SSL_CIPHER (59)

Could not use specified cipher.

CURLE_PEER_FAILED_VERIFICATION (60)

The remote server's SSL certificate or SSH fingerprint was deemed not OK. This error code has been unified with CURLE_SSL_CACERT since 7.62.0. Its previous value was 51.

CURLE_BAD_CONTENT_ENCODING (61)

Unrecognized transfer encoding.

Obsolete error (62)

Not used in modern versions.

CURLE_FILESIZE_EXCEEDED (63)

Maximum file size exceeded.

CURLE_USE_SSL_FAILED (64)

Requested FTP SSL level failed.

CURLE_SEND_FAIL_REWIND (65)

When doing a send operation curl had to rewind the data to retransmit, but the rewinding operation failed.

CURLE_SSL_ENGINE_INITFAILED (66)

Initiating the SSL Engine failed.

CURLE_LOGIN_DENIED (67)

The remote server denied curl to login

CURLE_TFTP_NOTFOUND (68)

File not found on TFTP server.

CURLE_TFTP_PERM (69)

Permission problem on TFTP server.

CURLE_REMOTE_DISK_FULL (70)

Out of disk space on the server.

CURLE_TFTP_ILLEGAL (71)

Illegal TFTP operation.

CURLE_TFTP_UNKNOWNID (72)

Unknown TFTP transfer ID.

CURLE_REMOTE_FILE_EXISTS (73)

File already exists and is not overwritten.

CURLE_TFTP_NOSUCHUSER (74)

This error should never be returned by a properly functioning TFTP server.

Obsolete error (75-76)

Not used in modern versions.

CURLE_SSL_CACERT_BADFILE (77)

Problem with reading the SSL CA cert (path? access rights?)

CURLE_REMOTE_FILE_NOT_FOUND (78)

The resource referenced in the URL does not exist.

CURLE_SSH (79)

An unspecified error occurred during the SSH session.

CURLE_SSL_SHUTDOWN_FAILED (80)

Failed to shut down the SSL connection.

CURLE_AGAIN (81)

Socket is not ready for send/recv. Wait until it is ready and try again. This return code is only returned from curl_easy_recv(3) and curl_easy_send(3)

CURLE_SSL_CRL_BADFILE (82)

Failed to load CRL file

CURLE_SSL_ISSUER_ERROR (83)

Issuer check failed

CURLE_FTP_PRET_FAILED (84)

The FTP server does not understand the PRET command at all or does not support the given argument. Be careful when using CURLOPT_CUSTOMREQUEST(3), a custom LIST command is sent with the PRET command before PASV as well.

CURLE_RTSP_CSEQ_ERROR (85)

Mismatch of RTSP CSeq numbers.

CURLE_RTSP_SESSION_ERROR (86)

Mismatch of RTSP Session Identifiers.

CURLE_FTP_BAD_FILE_LIST (87)

Unable to parse FTP file list (during FTP wildcard downloading).

CURLE_CHUNK_FAILED (88)

Chunk callback reported error.

CURLE_NO_CONNECTION_AVAILABLE (89)

(For internal use only, is never returned by libcurl) No connection available, the session is queued.

CURLE_SSL_PINNEDPUBKEYNOTMATCH (90)

Failed to match the pinned key specified with CURLOPT_PINNEDPUBLICKEY(3).

CURLE_SSL_INVALIDCERTSTATUS (91)

Status returned failure when asked with CURLOPT_SSL_VERIFYSTATUS(3).

CURLE_HTTP2_STREAM (92)

Stream error in the HTTP/2 framing layer.

CURLE_RECURSIVE_API_CALL (93)

An API function was called from inside a callback.

CURLE_AUTH_ERROR (94)

An authentication function returned an error.

CURLE_HTTP3 (95)

A problem was detected in the HTTP/3 layer. This is somewhat generic and can be one out of several problems, see the error buffer for details.

CURLE_QUIC_CONNECT_ERROR (96)

QUIC connection error. This error may be caused by an SSL library error. QUIC is the protocol used for HTTP/3 transfers.

CURLE_PROXY (97)

Proxy handshake error. CURLINFO_PROXY_ERROR(3) provides extra details on the specific problem.

CURLE_SSL_CLIENTCERT (98)

SSL Client Certificate required.

CURLE_UNRECOVERABLE_POLL (99)

An internal call to poll() or select() returned error that is not recoverable.

CURLE_TOO_LARGE (100)

A value or data field grew larger than allowed.

CURLE_ECH_REQUIRED (101)

ECH was attempted but failed.

CURLMcode

This is the generic return code used by functions in the libcurl multi interface. Also consider curl_multi_strerror(3).

CURLM_CALL_MULTI_PERFORM (-1)

This is not really an error. It means you should call curl_multi_perform(3) again without doing select() or similar in between. Before version 7.20.0 (released on February 9 2010) this could be returned by curl_multi_perform(3), but in later versions this return code is never used.

CURLM_CALL_MULTI_SOCKET (-1)

An alias for CURLM_CALL_MULTI_PERFORM. Never returned by modern libcurl versions.

CURLM_OK (0)

Things are fine.

CURLM_BAD_HANDLE (1)

The passed-in handle is not a valid CURLM handle.

CURLM_BAD_EASY_HANDLE (2)

An easy handle was not good/valid. It could mean that it is not an easy handle at all, or possibly that the handle already is in use by this or another multi handle.

CURLM_OUT_OF_MEMORY (3)

You are doomed.

CURLM_INTERNAL_ERROR (4)

This can only be returned if libcurl bugs. Please report it to us.

CURLM_BAD_SOCKET (5)

The passed-in socket is not a valid one that libcurl already knows about.

CURLM_UNKNOWN_OPTION (6)

curl_multi_setopt() with unsupported option

CURLM_ADDED_ALREADY (7)

An easy handle already added to a multi handle was attempted to get added a second time.

CURLM_RECURSIVE_API_CALL (8)

An API function was called from inside a callback.

CURLM_WAKEUP_FAILURE (9)

Wake up is unavailable or failed.

CURLM_BAD_FUNCTION_ARGUMENT (10)

A function was called with a bad parameter.

CURLM_ABORTED_BY_CALLBACK (11)

A multi handle callback returned error.

CURLM_UNRECOVERABLE_POLL (12)

An internal call to poll() or select() returned error that is not recoverable.

CURLSHcode

The "share" interface returns a CURLSHcode to indicate when an error has occurred. Also consider curl_share_strerror(3).

CURLSHE_OK (0)

All fine. Proceed as usual.

CURLSHE_BAD_OPTION (1)

An invalid option was passed to the function.

CURLSHE_IN_USE (2)

The share object is currently in use.

CURLSHE_INVALID (3)

An invalid share object was passed to the function.

CURLSHE_NOMEM (4)

Not enough memory was available.

CURLSHE_NOT_BUILT_IN (5)

The requested sharing could not be done because the library you use do not have that particular feature enabled.

CURLUcode

The URL interface returns a CURLUcode to indicate when an error has occurred. Also consider curl_url_strerror(3).

CURLUE_OK (0)

All fine. Proceed as usual.

CURLUE_BAD_HANDLE (1)

An invalid URL handle was passed as argument.

CURLUE_BAD_PARTPOINTER (2)

An invalid 'part' argument was passed as argument.

CURLUE_MALFORMED_INPUT (3)

A malformed input was passed to a URL API function.

CURLUE_BAD_PORT_NUMBER (4)

The port number was not a decimal number between 0 and 65535.

CURLUE_UNSUPPORTED_SCHEME (5)

This libcurl build does not support the given URL scheme.

CURLUE_URLDECODE (6)

URL decode error, most likely because of rubbish in the input.

CURLUE_OUT_OF_MEMORY (7)

A memory function failed.

CURLUE_USER_NOT_ALLOWED (8)

Credentials was passed in the URL when prohibited.

CURLUE_UNKNOWN_PART (9)

An unknown part ID was passed to a URL API function.

CURLUE_NO_SCHEME (10)

There is no scheme part in the URL.

CURLUE_NO_USER (11)

There is no user part in the URL.

CURLUE_NO_PASSWORD (12)

There is no password part in the URL.

CURLUE_NO_OPTIONS (13)

There is no options part in the URL.

CURLUE_NO_HOST (14)

There is no host part in the URL.

CURLUE_NO_PORT (15)

There is no port part in the URL.

CURLUE_NO_QUERY (16)

There is no query part in the URL.

CURLUE_NO_FRAGMENT (17)

There is no fragment part in the URL.

CURLUE_NO_ZONEID (18)

There is no zone id set in the URL.

CURLUE_BAD_FILE_URL (19)

The file:// URL is invalid.

CURLUE_BAD_FRAGMENT (20)

The fragment part of the URL contained bad or invalid characters.

CURLUE_BAD_HOSTNAME (21)

The hostname contained bad or invalid characters.

CURLUE_BAD_IPV6 (22)

The IPv6 address hostname contained bad or invalid characters.

CURLUE_BAD_LOGIN (23)

The login part of the URL contained bad or invalid characters.

CURLUE_BAD_PASSWORD (24)

The password part of the URL contained bad or invalid characters.

CURLUE_BAD_PATH (25)

The path part of the URL contained bad or invalid characters.

CURLUE_BAD_QUERY (26)

The query part of the URL contained bad or invalid characters.

CURLUE_BAD_SCHEME (27)

The scheme part of the URL contained bad or invalid characters.

CURLUE_BAD_SLASHES (28)

The URL contained an invalid number of slashes.

CURLUE_BAD_USER (29)

The user part of the URL contained bad or invalid characters.

CURLUE_LACKS_IDN (30)

libcurl lacks IDN support.

CURLUE_TOO_LARGE (31)

A value or data field is larger than allowed.

CURLUE_BACKSLASH (32)

Found a backslash character where a forward slash was expected. URL separators are forward slashes (/), not backslashes (\).

CURLHcode

The header interface returns a CURLHcode to indicate when an error has occurred.

CURLHE_OK (0)

All fine. Proceed as usual.

CURLHE_BADINDEX (1)

There is no header with the requested index.

CURLHE_MISSING (2)

No such header exists.

CURLHE_NOHEADERS (3)

No headers at all have been recorded.

CURLHE_NOREQUEST (4)

There was no such request number.

CURLHE_OUT_OF_MEMORY (5)

Out of resources

CURLHE_BAD_ARGUMENT (6)

One or more of the given arguments are bad.

CURLHE_NOT_BUILT_IN (7)

HTTP support or the header API has been disabled in the build.

1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Title: libcurl-errors
5Section: 3
6Source: libcurl
7See-also:
8 - CURLOPT_DEBUGFUNCTION (3)
9 - CURLOPT_ERRORBUFFER (3)
10 - CURLOPT_VERBOSE (3)
11 - curl_easy_strerror (3)
12 - curl_multi_strerror (3)
13 - curl_share_strerror (3)
14 - curl_url_strerror (3)
15Protocol:
16 - All
17Added-in: n/a
18---
20# NAME
22libcurl-errors - error codes in libcurl
24# DESCRIPTION
26This man page includes most, if not all, available error codes in libcurl.
27Why they occur and possibly what you can do to fix the problem are also included.
29# CURLcode
31Almost all "easy" interface functions return a CURLcode error code. No matter
32what, using the curl_easy_setopt(3) option CURLOPT_ERRORBUFFER(3) is a good
33idea as it gives you a human readable error string that may offer more details
34about the cause of the error than the error code alone. curl_easy_strerror(3)
35can be called to get an error string from a given CURLcode number.
37CURLcode is one of the following:
39## CURLE_OK (0)
41All fine. Proceed as usual.
43## CURLE_UNSUPPORTED_PROTOCOL (1)
45The URL you passed to libcurl used a protocol that this libcurl does not
46support. The support might be a compile-time option that you did not use, it
47can be a misspelled protocol string or a protocol libcurl has no code for.
49## CURLE_FAILED_INIT (2)
51Early initialization code failed. This is likely to be an internal error or
52problem, or a resource problem where something fundamental could not get done
53at init time.
55## CURLE_URL_MALFORMAT (3)
57The URL was not properly formatted.
59## CURLE_NOT_BUILT_IN (4)
61A requested feature, protocol or option was not found built into this libcurl
62due to a build-time decision. This means that a feature or option was not
63enabled or explicitly disabled when libcurl was built and in order to get it
64to function you have to get a rebuilt libcurl.
66## CURLE_COULDNT_RESOLVE_PROXY (5)
68Could not resolve proxy. The given proxy host could not be resolved.
70## CURLE_COULDNT_RESOLVE_HOST (6)
72Could not resolve host. The given remote host was not resolved.
74## CURLE_COULDNT_CONNECT (7)
76Failed to connect() to host or proxy.
78## CURLE_WEIRD_SERVER_REPLY (8)
80The server sent data libcurl could not parse. This error code was known as
81*CURLE_FTP_WEIRD_SERVER_REPLY* before 7.51.0.
83## CURLE_REMOTE_ACCESS_DENIED (9)
85We were denied access to the resource given in the URL. For FTP, this occurs
86while trying to change to the remote directory.
88## CURLE_FTP_ACCEPT_FAILED (10)
90While waiting for the server to connect back when an active FTP session is
91used, an error code was sent over the control connection or similar.
93## CURLE_FTP_WEIRD_PASS_REPLY (11)
95After having sent the FTP password to the server, libcurl expects a proper
96reply. This error code indicates that an unexpected code was returned.
98## CURLE_FTP_ACCEPT_TIMEOUT (12)
100During an active FTP session while waiting for the server to connect, the
101CURLOPT_ACCEPTTIMEOUT_MS(3) (or the internal default) timeout expired.
103## CURLE_FTP_WEIRD_PASV_REPLY (13)
105libcurl failed to get a sensible result back from the server as a response to
106either a PASV or an EPSV command. The server is flawed.
108## CURLE_FTP_WEIRD_227_FORMAT (14)
110FTP servers return a 227-line as a response to a PASV command. If libcurl
111fails to parse that line, this return code is passed back.
113## CURLE_FTP_CANT_GET_HOST (15)
115An internal failure to lookup the host used for the new connection.
117## CURLE_HTTP2 (16)
119A problem was detected in the HTTP2 framing layer. This is somewhat generic
120and can be one out of several problems, see the error buffer for details.
122## CURLE_FTP_COULDNT_SET_TYPE (17)
124Received an error when trying to set the transfer mode to binary or ASCII.
126## CURLE_PARTIAL_FILE (18)
128A file transfer was shorter or larger than expected. This happens when the
129server first reports an expected transfer size, and then delivers data that
130does not match the previously given size.
132## CURLE_FTP_COULDNT_RETR_FILE (19)
134This was either a weird reply to a 'RETR' command or a zero byte transfer
135complete.
137## Obsolete error (20)
139Not used in modern versions.
141## CURLE_QUOTE_ERROR (21)
143When sending custom "QUOTE" commands to the remote server, one of the commands
144returned an error code that was 400 or higher (for FTP) or otherwise
145indicated unsuccessful completion of the command.
147## CURLE_HTTP_RETURNED_ERROR (22)
149This is returned if CURLOPT_FAILONERROR(3) is set TRUE and the HTTP server
150returns an error code that is \>= 400.
152## CURLE_WRITE_ERROR (23)
154An error occurred when writing received data to a local file, or an error was
155returned to libcurl from a write callback.
157## Obsolete error (24)
159Not used in modern versions.
161## CURLE_UPLOAD_FAILED (25)
163Failed starting the upload. For FTP, the server typically denied the STOR
164command. The error buffer usually contains the server's explanation for this.
166## CURLE_READ_ERROR (26)
168There was a problem reading a local file or an error returned by the read
169callback.
171## CURLE_OUT_OF_MEMORY (27)
173A memory allocation request failed. This is serious badness and
174things are severely screwed up if this ever occurs.
176## CURLE_OPERATION_TIMEDOUT (28)
178Operation timeout. The specified time-out period was reached according to the
179conditions.
181## Obsolete error (29)
183Not used in modern versions.
185## CURLE_FTP_PORT_FAILED (30)
187The FTP PORT command returned error. This mostly happens when you have not
188specified a good enough address for libcurl to use. See
189CURLOPT_FTPPORT(3).
191## CURLE_FTP_COULDNT_USE_REST (31)
193The FTP REST command returned error. This should never happen if the server is
194sane.
196## Obsolete error (32)
198Not used in modern versions.
200## CURLE_RANGE_ERROR (33)
202The server does not support or accept range requests.
204## Obsolete error (34)
206Not used since 7.56.0.
208## CURLE_SSL_CONNECT_ERROR (35)
210A problem occurred somewhere in the SSL/TLS handshake. You really want the
211error buffer and read the message there as it pinpoints the problem slightly
212more. Could be certificates (file formats, paths, permissions), passwords, and
213others.
215## CURLE_BAD_DOWNLOAD_RESUME (36)
217The download could not be resumed because the specified offset was out of the
218file boundary.
220## CURLE_FILE_COULDNT_READ_FILE (37)
222A file given with `file://` could not be opened. Most likely because the file
223path does not identify an existing file. Did you check file permissions?
225## CURLE_LDAP_CANNOT_BIND (38)
227LDAP cannot bind. LDAP bind operation failed.
229## CURLE_LDAP_SEARCH_FAILED (39)
231LDAP search failed.
233## Obsolete error (40)
235Not used in modern versions.
237## Obsolete error (41)
239Not used since 7.53.0.
241## CURLE_ABORTED_BY_CALLBACK (42)
243Aborted by callback. A callback returned "abort" to libcurl.
245## CURLE_BAD_FUNCTION_ARGUMENT (43)
247A function was called with a bad parameter.
249## Obsolete error (44)
251Not used in modern versions.
253## CURLE_INTERFACE_FAILED (45)
255Interface error. A specified outgoing interface could not be used. Set which
256interface to use for outgoing connections' source IP address with
257CURLOPT_INTERFACE(3).
259## Obsolete error (46)
261Not used in modern versions.
263## CURLE_TOO_MANY_REDIRECTS (47)
265Too many redirects. When following redirects, libcurl hit the maximum amount.
266Set your limit with CURLOPT_MAXREDIRS(3).
268## CURLE_UNKNOWN_OPTION (48)
270An option passed to libcurl is not recognized/known. Refer to the appropriate
271documentation. This is most likely a problem in the program that uses
272libcurl. The error buffer might contain more specific information about which
273exact option it concerns.
275## CURLE_SETOPT_OPTION_SYNTAX (49)
277An option passed in to a setopt was wrongly formatted. See error message for
278details about what option.
280## Obsolete errors (50-51)
282Not used in modern versions.
284## CURLE_GOT_NOTHING (52)
286Nothing was returned from the server, and under the circumstances, getting
287nothing is considered an error.
289## CURLE_SSL_ENGINE_NOTFOUND (53)
291The specified crypto engine was not found.
293## CURLE_SSL_ENGINE_SETFAILED (54)
295Failed setting the selected SSL crypto engine as default.
297## CURLE_SEND_ERROR (55)
299Failed sending network data.
301## CURLE_RECV_ERROR (56)
303Failure with receiving network data.
305## Obsolete error (57)
307Not used in modern versions.
309## CURLE_SSL_CERTPROBLEM (58)
311problem with the local client certificate.
313## CURLE_SSL_CIPHER (59)
315Could not use specified cipher.
317## CURLE_PEER_FAILED_VERIFICATION (60)
319The remote server's SSL certificate or SSH fingerprint was deemed not OK.
320This error code has been unified with CURLE_SSL_CACERT since 7.62.0. Its
321previous value was 51.
323## CURLE_BAD_CONTENT_ENCODING (61)
325Unrecognized transfer encoding.
327## Obsolete error (62)
329Not used in modern versions.
331## CURLE_FILESIZE_EXCEEDED (63)
333Maximum file size exceeded.
335## CURLE_USE_SSL_FAILED (64)
337Requested FTP SSL level failed.
339## CURLE_SEND_FAIL_REWIND (65)
341When doing a send operation curl had to rewind the data to retransmit, but the
342rewinding operation failed.
344## CURLE_SSL_ENGINE_INITFAILED (66)
346Initiating the SSL Engine failed.
348## CURLE_LOGIN_DENIED (67)
350The remote server denied curl to login
352## CURLE_TFTP_NOTFOUND (68)
354File not found on TFTP server.
356## CURLE_TFTP_PERM (69)
358Permission problem on TFTP server.
360## CURLE_REMOTE_DISK_FULL (70)
362Out of disk space on the server.
364## CURLE_TFTP_ILLEGAL (71)
366Illegal TFTP operation.
368## CURLE_TFTP_UNKNOWNID (72)
370Unknown TFTP transfer ID.
372## CURLE_REMOTE_FILE_EXISTS (73)
374File already exists and is not overwritten.
376## CURLE_TFTP_NOSUCHUSER (74)
378This error should never be returned by a properly functioning TFTP server.
380## Obsolete error (75-76)
382Not used in modern versions.
384## CURLE_SSL_CACERT_BADFILE (77)
386Problem with reading the SSL CA cert (path? access rights?)
388## CURLE_REMOTE_FILE_NOT_FOUND (78)
390The resource referenced in the URL does not exist.
392## CURLE_SSH (79)
394An unspecified error occurred during the SSH session.
396## CURLE_SSL_SHUTDOWN_FAILED (80)
398Failed to shut down the SSL connection.
400## CURLE_AGAIN (81)
402Socket is not ready for send/recv. Wait until it is ready and try again. This
403return code is only returned from curl_easy_recv(3) and curl_easy_send(3)
405## CURLE_SSL_CRL_BADFILE (82)
407Failed to load CRL file
409## CURLE_SSL_ISSUER_ERROR (83)
411Issuer check failed
413## CURLE_FTP_PRET_FAILED (84)
415The FTP server does not understand the PRET command at all or does not support
416the given argument. Be careful when using CURLOPT_CUSTOMREQUEST(3), a
417custom LIST command is sent with the PRET command before PASV as well.
419## CURLE_RTSP_CSEQ_ERROR (85)
421Mismatch of RTSP CSeq numbers.
423## CURLE_RTSP_SESSION_ERROR (86)
425Mismatch of RTSP Session Identifiers.
427## CURLE_FTP_BAD_FILE_LIST (87)
429Unable to parse FTP file list (during FTP wildcard downloading).
431## CURLE_CHUNK_FAILED (88)
433Chunk callback reported error.
435## CURLE_NO_CONNECTION_AVAILABLE (89)
437(For internal use only, is never returned by libcurl) No connection available,
438the session is queued.
440## CURLE_SSL_PINNEDPUBKEYNOTMATCH (90)
442Failed to match the pinned key specified with CURLOPT_PINNEDPUBLICKEY(3).
444## CURLE_SSL_INVALIDCERTSTATUS (91)
446Status returned failure when asked with CURLOPT_SSL_VERIFYSTATUS(3).
448## CURLE_HTTP2_STREAM (92)
450Stream error in the HTTP/2 framing layer.
452## CURLE_RECURSIVE_API_CALL (93)
454An API function was called from inside a callback.
456## CURLE_AUTH_ERROR (94)
458An authentication function returned an error.
460## CURLE_HTTP3 (95)
462A problem was detected in the HTTP/3 layer. This is somewhat generic and can
463be one out of several problems, see the error buffer for details.
465## CURLE_QUIC_CONNECT_ERROR (96)
467QUIC connection error. This error may be caused by an SSL library error. QUIC
468is the protocol used for HTTP/3 transfers.
470## CURLE_PROXY (97)
472Proxy handshake error. CURLINFO_PROXY_ERROR(3) provides extra details on
473the specific problem.
475## CURLE_SSL_CLIENTCERT (98)
477SSL Client Certificate required.
479## CURLE_UNRECOVERABLE_POLL (99)
481An internal call to poll() or select() returned error that is not recoverable.
483## CURLE_TOO_LARGE (100)
485A value or data field grew larger than allowed.
487## CURLE_ECH_REQUIRED (101)
489ECH was attempted but failed.
491# CURLMcode
493This is the generic return code used by functions in the libcurl multi
494interface. Also consider curl_multi_strerror(3).
496## CURLM_CALL_MULTI_PERFORM (-1)
498This is not really an error. It means you should call
499curl_multi_perform(3) again without doing select() or similar in
500between. Before version 7.20.0 (released on February 9 2010) this could be returned by
501curl_multi_perform(3), but in later versions this return code is never
502used.
504## CURLM_CALL_MULTI_SOCKET (-1)
506An alias for *CURLM_CALL_MULTI_PERFORM*. Never returned by modern libcurl
507versions.
509## CURLM_OK (0)
511Things are fine.
513## CURLM_BAD_HANDLE (1)
515The passed-in handle is not a valid *CURLM* handle.
517## CURLM_BAD_EASY_HANDLE (2)
519An easy handle was not good/valid. It could mean that it is not an easy handle
520at all, or possibly that the handle already is in use by this or another multi
521handle.
523## CURLM_OUT_OF_MEMORY (3)
525You are doomed.
527## CURLM_INTERNAL_ERROR (4)
529This can only be returned if libcurl bugs. Please report it to us.
531## CURLM_BAD_SOCKET (5)
533The passed-in socket is not a valid one that libcurl already knows about.
535## CURLM_UNKNOWN_OPTION (6)
537curl_multi_setopt() with unsupported option
539## CURLM_ADDED_ALREADY (7)
541An easy handle already added to a multi handle was attempted to get added a
542second time.
544## CURLM_RECURSIVE_API_CALL (8)
546An API function was called from inside a callback.
548## CURLM_WAKEUP_FAILURE (9)
550Wake up is unavailable or failed.
552## CURLM_BAD_FUNCTION_ARGUMENT (10)
554A function was called with a bad parameter.
556## CURLM_ABORTED_BY_CALLBACK (11)
558A multi handle callback returned error.
560## CURLM_UNRECOVERABLE_POLL (12)
562An internal call to poll() or select() returned error that is not recoverable.
564# CURLSHcode
566The "share" interface returns a **CURLSHcode** to indicate when an error has
567occurred. Also consider curl_share_strerror(3).
569## CURLSHE_OK (0)
571All fine. Proceed as usual.
573## CURLSHE_BAD_OPTION (1)
575An invalid option was passed to the function.
577## CURLSHE_IN_USE (2)
579The share object is currently in use.
581## CURLSHE_INVALID (3)
583An invalid share object was passed to the function.
585## CURLSHE_NOMEM (4)
587Not enough memory was available.
589## CURLSHE_NOT_BUILT_IN (5)
591The requested sharing could not be done because the library you use do not have
592that particular feature enabled.
594# CURLUcode
596The URL interface returns a *CURLUcode* to indicate when an error has
597occurred. Also consider curl_url_strerror(3).
599## CURLUE_OK (0)
601All fine. Proceed as usual.
603## CURLUE_BAD_HANDLE (1)
605An invalid URL handle was passed as argument.
607## CURLUE_BAD_PARTPOINTER (2)
609An invalid 'part' argument was passed as argument.
611## CURLUE_MALFORMED_INPUT (3)
613A malformed input was passed to a URL API function.
615## CURLUE_BAD_PORT_NUMBER (4)
617The port number was not a decimal number between 0 and 65535.
619## CURLUE_UNSUPPORTED_SCHEME (5)
621This libcurl build does not support the given URL scheme.
623## CURLUE_URLDECODE (6)
625URL decode error, most likely because of rubbish in the input.
627## CURLUE_OUT_OF_MEMORY (7)
629A memory function failed.
631## CURLUE_USER_NOT_ALLOWED (8)
633Credentials was passed in the URL when prohibited.
635## CURLUE_UNKNOWN_PART (9)
637An unknown part ID was passed to a URL API function.
639## CURLUE_NO_SCHEME (10)
641There is no scheme part in the URL.
643## CURLUE_NO_USER (11)
645There is no user part in the URL.
647## CURLUE_NO_PASSWORD (12)
649There is no password part in the URL.
651## CURLUE_NO_OPTIONS (13)
653There is no options part in the URL.
655## CURLUE_NO_HOST (14)
657There is no host part in the URL.
659## CURLUE_NO_PORT (15)
661There is no port part in the URL.
663## CURLUE_NO_QUERY (16)
665There is no query part in the URL.
667## CURLUE_NO_FRAGMENT (17)
669There is no fragment part in the URL.
671## CURLUE_NO_ZONEID (18)
673There is no zone id set in the URL.
675## CURLUE_BAD_FILE_URL (19)
677The `file://` URL is invalid.
679## CURLUE_BAD_FRAGMENT (20)
681The fragment part of the URL contained bad or invalid characters.
683## CURLUE_BAD_HOSTNAME (21)
685The hostname contained bad or invalid characters.
687## CURLUE_BAD_IPV6 (22)
689The IPv6 address hostname contained bad or invalid characters.
691## CURLUE_BAD_LOGIN (23)
693The login part of the URL contained bad or invalid characters.
695## CURLUE_BAD_PASSWORD (24)
697The password part of the URL contained bad or invalid characters.
699## CURLUE_BAD_PATH (25)
701The path part of the URL contained bad or invalid characters.
703## CURLUE_BAD_QUERY (26)
705The query part of the URL contained bad or invalid characters.
707## CURLUE_BAD_SCHEME (27)
709The scheme part of the URL contained bad or invalid characters.
711## CURLUE_BAD_SLASHES (28)
713The URL contained an invalid number of slashes.
715## CURLUE_BAD_USER (29)
717The user part of the URL contained bad or invalid characters.
719## CURLUE_LACKS_IDN (30)
721libcurl lacks IDN support.
723## CURLUE_TOO_LARGE (31)
725A value or data field is larger than allowed.
727## CURLUE_BACKSLASH (32)
729Found a backslash character where a forward slash was expected. URL separators
730are forward slashes (`/`), not backslashes (`\`).
732# CURLHcode
734The header interface returns a *CURLHcode* to indicate when an error has
735occurred.
737## CURLHE_OK (0)
739All fine. Proceed as usual.
741## CURLHE_BADINDEX (1)
743There is no header with the requested index.
745## CURLHE_MISSING (2)
747No such header exists.
749## CURLHE_NOHEADERS (3)
751No headers at all have been recorded.
753## CURLHE_NOREQUEST (4)
755There was no such request number.
757## CURLHE_OUT_OF_MEMORY (5)
759Out of resources
761## CURLHE_BAD_ARGUMENT (6)
763One or more of the given arguments are bad.
765## CURLHE_NOT_BUILT_IN (7)
767HTTP support or the header API has been disabled in the build.
Diagnostics4 git calls · 537 ms
CallStatusSizeTime0537 ms
discover200152 B2 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=2
git.response.bytes=152
git.server.agent=gitty/1.0
git.server.object_format=sha1
git.server.caps=agent ls-refs fetch object-format
git.server.fetch=shallow filter sideband-all
git.protocol.version=2
git.pkt.frames=8
git.pkt.data=6
git.pkt.flush=2
git.pkt.delim=0
git.pkt.bytes=152
git.pkt.payload.max=34
ls-refs200149 B · hit2 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=2
git.response.bytes=149
git.response.cache=HIT
git.response.duration_ms=2
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=149
git.pkt.payload.max=78
git.ls_refs.count=2
git.ls_refs.head=refs/heads/master
fetchblob:none · deepen 10200287 KiB · hit3 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=3
git.response.bytes=293470
git.response.cache=HIT
git.response.duration_ms=3
git.fetch.filter=blob:none
git.fetch.filter.requested=tree:0
git.fetch.filter.fallback=blob:none
git.fetch.filter.learned=false
git.fetch.wants=31c911efe5652725e930f4d2e60c9060e5f6646d
git.fetch.haves.count=0
git.fetch.deepen=10
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=10
git.pkt.data=8
git.pkt.flush=1
git.pkt.delim=1
git.pkt.bytes=293470
git.pkt.payload.max=65516
git.sideband.band1.bytes=293354
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=87
git.pack.bytes=293354
git.pack.ofs_delta=0
git.pack.ref_delta=1
git.pack.chain.max=1
git.pack.trailer=6a646bcda6740bab42e321b51998b52ea15146c0
git.pack.full=86
Open pack map
fetch2006.8 KiB532 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=532
git.response.bytes=6977
git.response.cache=MISS
git.response.duration_ms=532
git.fetch.wants=6f348eb5813f754eab8c898991bfdc671541d854
git.fetch.haves.count=0
git.fetch.deepen=0
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=6977
git.pkt.payload.max=6956
git.sideband.band1.bytes=6955
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0

Each row is one HTTP round trip ply made to the git server for this page, on one timeline. discover asks what the server speaks, ls-refs lists branch tips, fetch brings objects by id. A hit was served by Workers Cache. Tap a row for its wire details.

Remote
https://5ad2236b39de4c8bd8f6270ea63f3ea9.artifacts.cloudflare.net/git/public-v0/curl.git
Ref
refs/heads/master
Commit
31c911efe5652725e930f4d2e60c9060e5f6646d
cf-ray
a5e1c339e84536cd
Request
9e8aa3b8…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format