Hi, I'm (still) trying to run the java orkut-os-client, but it keeps
giving me the 417 error. Can someone help me with this?

The problem is happening on class Transport, method sendRequest, line
105. He is more detail of the errors:

e.toString():
"net.oauth.OAuthProblemException: HTTP/1.0 417 Expectation failed"

e.parameters.toString():
"{amp;oauth_signature=UmM2u0c952/51skLhOBO7oz6RkI= HTTP/1.1
Content-Type: application/json

X-Orkut-Client-Lib: 1.1

Content-Length: 152

Host: www.orkut.com

Connection: Keep-Alive

User-Agent: Apache-HttpClient/4.0-beta2 (java 1.5)

Expect: 100-Continue


</PRE>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Invalid Request
</STRONG>
</UL>

<P>
Some aspect of the HTTP Request is invalid.  Possible problems:
<UL>
<LI>Missing or unknown request method
<LI>Missing URL
<LI>Missing HTTP Identifier (HTTP/1.0)
<LI>Request is too large
<LI>Content-Length missing for POST or PUT requests
<LI>Illegal character in hostname; underscores are not allowed
</UL>
<P>Your cache administrator is <A HREF="mailto:webmaster";>webmaster</
A>.

<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Fri, 13 Aug 2010 17:57:19 GMT by fw.ctba.cesar.org.br (squid/
2.7.STABLE3)
</ADDRESS>
</BODY></HTML>, amp;oauth_nonce=201651116621,
amp;oauth_signature_method=HMAC-SHA1, HTTP request=POST /social/rpc?
oauth_token=1/
UX72lWGE-3SJyq**********************P9qJE&oauth_consumer_key=fabricialeme.com&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1281721708&oauth_nonce=201651116621&oauth_version=1.0&oauth_signature=UmM2*******************z6RkI=

Content-Type: application/json

X-Orkut-Client-Lib: 1.1

Content-Length: 152



[{"params":
{"messageGroup":"birthdays","messageType":"notification","groupId":"@friends","userId":"@me"},"id":"0-
messages.get","method":"messages.get"}], HTTP status=417,
amp;oauth_version=1.0, HTTP response=HTTP/1.0 417 Expectation failed

Server: squid/2.7.STABLE3

Date: Fri, 13 Aug 2010 17:57:19 GMT

Content-Type: text/html

Content-Length: 1672

Expires: Fri, 13 Aug 2010 17:57:19 GMT

X-Squid-Error: ERR_INVALID_REQ 0

X-Cache: MISS from fw.ctba.cesar.org.br

X-Cache-Lookup: NONE from fw.ctba.cesar.org.br:3128

Via: 1.0 fw.ctba.cesar.org.br:3128 (squid/2.7.STABLE3)

Connection: close



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-
family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to process the request:
<PRE>
POST /social/rpc?
oauth_token=1%2FUX72l**********************************VmCwO6P9qJE&amp;oauth_consumer_key=fabricialeme.com&amp;oauth_signature_method=HMAC-
SHA1&amp;oauth_timestamp=1281721708&amp;oauth_nonce=201651116621&amp;oauth_version=1.0&amp;oauth_signature=UmM************************D
HTTP/1.1
Content-Type: application/json

X-Orkut-Client-Lib: 1.1

Content-Length: 152

Host: www.orkut.com

Connection: Keep-Alive

User-Agent: Apache-HttpClient/4.0-beta2 (java 1.5)

Expect: 100-Continue


 ..., amp;oauth_timestamp=1281721708, URL=http://www.orkut.com/social/
rpc?
oauth_token=1%2FU**************************************qJE&oauth_consumer_key=fabricialeme.com&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1281721708&oauth_nonce=201651116621&oauth_version=1.0&oauth_signature=UmM*********************kI
%3D, <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-
family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to process the request:
<PRE>
POST /social/rpc?oauth_token=1/
UX72l****************************************6P9qJE,
amp;oauth_consumer_key=fabricialeme.com}"

-- 
You received this message because you are subscribed to the Google Groups 
"orkut Developer Forum" group.
To post to this group, send email to opensocial-or...@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.

Reply via email to