My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 337: Problem in getting session key using auth_getsession
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by shreyara...@gmail.com, Oct 7, 2010
What steps will reproduce the problem?
1. Create Facebook application and get its api key and secret.
2. Use api key and secret to use any of the FacebookJsonRestClient.
3. Run your servlet to get auth token.
4. Call client.auth_getSession(token).


What is the expected output? What do you see instead?

I should get the session key but I get a RuntimeException as follows:

java.lang.RuntimeException: java.net.ConnectException: Connection timed out: connect
	at com.google.code.facebookapi.BasicClientHelper.runtimeException(BasicClientHelper.java:123)
	at com.google.code.facebookapi.ExtensibleClient.callMethod(ExtensibleClient.java:538)
	at com.google.code.facebookapi.ExtensibleClient.callMethod(ExtensibleClient.java:460)
	at com.google.code.facebookapi.ExtensibleClient.auth_getSession(ExtensibleClient.java:326)
	at com.google.code.facebookapi.ExtensibleClient.auth_getSession(ExtensibleClient.java:317)
	at com.google.code.facebookapi.SpecificReturnTypeAdapter.auth_getSession(SpecificReturnTypeAdapter.java:81)
	at com.facebook.ex.FacebookAuth.doGet(FacebookAuth.java:76)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:717)



What version of the product are you using? On what operating system?


Please provide any additional information below.


Oct 22, 2010
#1 jainadi...@gmail.com
I am facing the same issue... Please help if you got the solution. Reploy at jainaditi1@gmail.com
Oct 22, 2010
#2 jainadi...@gmail.com
I am using windows. My collegues using mac - the same jar working for them. But not for me at all.. please help
Sign in to add a comment

Powered by Google Project Hosting