Bug ST00002: Inconsistent Error Responses for POST Upload
luke_church
Registered Users Posts: 507 Major grins
Hi All,
There isn't (yet) any test case value associated with this.
Tested against HTTP POST returning XML-RPC using MD5 and Byte length vefication. Sample POST available on request.
Bug: XML-RPC reponses to POST Upload failures seem to use an inconsistent error reporting scheme. (Either that or the meaning of 'System Error' is insufficently clear).
Reproduction context: Automated upload. Transfer of some 900 images. I'm getting high failure rates with these 'system errors' but the process does recover eventually so the user account and password are correct.
I believe the correct error (if an error should be returned) would be Fault Code 4: Invalid Login. Alternatively I may be mis-understanding this error message.
Sample response (cleaned):
(Please perform s / < / < vBulletin was being a pain again)
Sample reponse from packet-capture (I think this is Ethereal/PCap messing up with multi-TCP stream interleaving, rather than a Smugmug bug, but just in case):
Sorry for the haziness of the report, this is a sligthly ugly one...
Luke
There isn't (yet) any test case value associated with this.
Tested against HTTP POST returning XML-RPC using MD5 and Byte length vefication. Sample POST available on request.
Bug: XML-RPC reponses to POST Upload failures seem to use an inconsistent error reporting scheme. (Either that or the meaning of 'System Error' is insufficently clear).
Reproduction context: Automated upload. Transfer of some 900 images. I'm getting high failure rates with these 'system errors' but the process does recover eventually so the user account and password are correct.
I believe the correct error (if an error should be returned) would be Fault Code 4: Invalid Login. Alternatively I may be mis-understanding this error message.
Sample response (cleaned):
(Please perform s / < / < vBulletin was being a pain again)
<methodResponse> <fault> <value> <struct> <member> <name>faultCode</name> <value> <int>5</int> </value> </member> <member> <name>faultString</name> <value> <string>system error (nologin)</string> </value> </member> </struct> </value> </fault> </methodResponse>
Sample reponse from packet-capture (I think this is Ethereal/PCap messing up with multi-TCP stream interleaving, rather than a Smugmug bug, but just in case):
HTTP/11 200 OK Date: Sun, 18 Dec 2005 15:40:53 GMT Server: Apache Set-Cookie: smstatus=102727131134920453307223; path=/; max-age=3024000; domain=smugmugcom X-Powered-By: smugmug/120 Set-Cookie: ; path=/; domain=smugmugcom Cache-Control: private, max-age=1, must-revalidate Pragma: Transfer-Encoding: chunked Content-Type: text/xml 2d <?xml version='10' encoding="iso-8859-1" ?> 13 <methodResponse> 1c <fault> <value> 2 <s be truct> <member> <name>faultCode</name> <value> <int>5</int> </value> </member> <member> <name>faultString</name> <value> 2 <s 14 tring>system error ( 7 nologin 56 )</string> </value> </member> </struct> </value> </fault> 16 </methodResponse>
Sorry for the haziness of the report, this is a sligthly ugly one...
Luke
0
Comments
The prior version of VBulleting was allowing to post "less than" sign if it was followed by space, like that:
< This should work>
it works
< /This should work>
Looks like the current one works, too:-)
HTH
OK, I'll do the replace all from '<' to '< ' instead next time.
Thanks,
Luke
SmugSoftware: www.smugtools.com