We're trying to allow FindBugs users to semi-automatically submit
issues to their Google Code projects, for bugs they find in their
software.

After successfully authenticating, our code is sending the following
HTTP request to 74.125.91.102 (xml content abridged for brevity):

POST /feeds/issues/p/findbugs/issues/full HTTP/1.1
Content-Type: application/atom+xml;charset=UTF-8
Authorization: OAuth realm="", oauth_signature="UR6fOy
%2FJP2QuhIYxR7fMssWyIQc%3D", oauth_nonce="2266528189040303",
oauth_signature_method="HMAC-SHA1",
oauth_consumer_key="findbugs.sourceforge.net",
oauth_token="1%2FeSforvbeXqZw0iA1IO8MY6lupomMp21jl6xybd-wyWY",
oauth_timestamp="1291142127"
User-Agent: findbugs-cloud-client GProjectHosting-Java/null GData-Java/
null(gzip)
Accept-Encoding: gzip
GData-Version: 1.0
Cache-Control: no-cache
Pragma: no-cache
Host: code.google.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 2146

<?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/
2005/Atom' xmlns:projects='http://schemas.google.com/projecthosting/
projects/2010' xmlns:issues='http://schemas.google.com/projecthosting/
issues/2009'><title>Call to java.io.File.equals(java.net.URL) in
doDistribute(Target[], ModuleType, InputStream, InputStream) in
DeploymentManagerImpl.java</title><atom:content xmlns:atom='http://
www.w3.org/2005/Atom' type='html'>[...omitted...]</
atom:content><atom:author xmlns:atom='http://www.w3.org/2005/Atom'/
><issues:status>New</issues:status><issues:sendEmail>True</
issues:sendEmail><issues:label>FindBugsGenerated</issues:label></
entry>


And we get this response:

HTTP/1.1 500 Internal Server Error

Content-Type: text/html; charset=UTF-8
Content-Encoding: gzip
Transfer-Encoding: chunked
Date: Tue, 30 Nov 2010 18:35:27 GMT
Expires: Tue, 30 Nov 2010 18:35:27 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE


A
..........
18
..+I-.K.Qp-*./....V.....
0


That last part looks like this in hex:

    00000150  65 72 76 65 72 3a 20 47  53 45 0d 0a 0d 0a 41 0d erver:
G SE....A.
    00000160  0a 1f 8b 08 00 00 00 00  00 00 00 0d
0a          ........ .....
    0000016D  31 38 0d 0a f3 cc 2b 49  2d ca 4b cc 51 70 2d 2a
18....+I -.K.Qp-*
    0000017D  ca 2f 02 00 10 cf 56 a7  0e 00 00 00 0d 0a 30
0d ./....V. ......0.
    0000018D  0a 0d 0a                                         ...


I'm not really sure what to do, this is really basic functionality,
and AFAICT this same code it worked 6 months ago, when we first
developed this feature.

I'd love to know how to work around this at least!

-- 
You received this message because you are subscribed to the Google Groups 
"Project Hosting on Google Code" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code-hosting?hl=en.

Reply via email to