splix / grails-spring-security-facebook

Facebook Authentication plugin for Grails
http://splix.github.io/grails-spring-security-facebook/index.html
Other
39 stars 35 forks source link

Timeouts when requesting Facebook #68

Open maurociancio opened 10 years ago

maurociancio commented 10 years ago

In FacebookAuthUtils.groovy (https://github.com/splix/grails-spring-security-facebook/blob/master/src/groovy/com/the6hours/grails/springsecurity/facebook/FacebookAuthUtils.groovy#L98 and https://github.com/splix/grails-spring-security-facebook/blob/master/src/groovy/com/the6hours/grails/springsecurity/facebook/FacebookAuthUtils.groovy#L136) requests are made to Facebook API.

The connection has no timeout so the request thread can block forever (I've experienced this with other api's, not with Facebook itself, but it can happen).