PutFailed
This is a message of the
Freenet Client Protocol 2.0 (FCP 2.0).
It is sent from the Freenet node to a client program and indicates that an insert has failed. The error codes and their descriptions are listed below.
Example
PutFailed
Code=9 // error code
Identifier=1 // identifier
ExpectedURI=freenet:KSK@hello.toad // insert URI if it succeeded
CodeDescription=Insert collided with different, pre-existing data at the
same key // description of error
ExtraDescription=SSK collision // more info on the error
Fatal=true // No point retrying; permanent error
ShortCodeDescription=Insert collision // short version of CodeDescription
EndMessage
It is also possible to have a more complex Put
Failed: (this is an example, the strings and codes returned may be different)
PutFailed
Code=8
Identifier=7
Global=true
ExpectedURI=KSK@hello.toad
CodeDescription=Too many retries in blocks
ExtraDescription=Splitfile failed because many blocks had too many retries
Fatal=false // can retry, but we ran out of retries for at least one block
ShortCodeDescription=Too many retries in blocks
Errors.7.Description=Route not found // the number is that particular error code
Errors.7.Count=457 // 457 block inserts were abandoned due to RNF
Errors.4.Description=Rejected due to overload
Errors.4.Count=781 // 781 block inserts were abandoned due to overload
EndMessage