Hi,
I'm using the LinkedIn Connect function and I'm seeing a kind of sometimes it works, sometimes it doesn't. This is what I seem to be getting at times
And then it suddenly works normally. So, the 401 seems kind of false.PHP Code:[MSA] WARN [2011-08-12 15:11:55,438] RestTemplate.handleResponseError(478) | POST request for "https://api.linkedin.com/uas/oauth/accessToken" resulted in 401 (Unauthorized); invoking error handler
[MSA] ERROR [2011-08-12 15:11:55,442] MySimpleExceptionResolver.doResolveException(24) | org.springframework.web.client.HttpClientErrorException: 401 Unauthorized
org.springframework.web.client.HttpClientErrorException: 401 Unauthorized
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:75)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:486)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:443)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:415)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:391)
at org.springframework.social.oauth1.OAuth1Template.exchangeForToken(OAuth1Template.java:195)
at org.springframework.social.oauth1.OAuth1Template.exchangeForAccessToken(OAuth1Template.java:133)
at org.springframework.social.connect.web.ConnectSupport.completeConnection(ConnectSupport.java:101)
at org.springframework.social.connect.web.ConnectController.oauth1Callback(ConnectController.java:154)
Does Linkedin use some kind of timeout on your connect requests where in a development situation rapid connect, disconnect leads to exceptions?
Kind regards,
Marc


Reply With Quote