Connection Timed Out during Sign in with twitter flow

login
signin
php

#1

Hi, I’ve successfull implemented Twitter Sign In flow (https://dev.twitter.com/web/sign-in/implementing) in my web application through https://github.com/abraham/twitteroauth php sdk but randomly fires out following exception during oauth/request_token or oauth/authenticate calls:

{“code”:“28”,“message”:“Connection time-out”}

It’s random, because many times I’ve succesfull logged in with the same code but I can’t figure out which may be the reason for this behaviour.

Could I ask some help about it?

As additional note, my app is developed with symfony 2.7 for backend section and the frontend is in AngularJS.

Any help would be appreciated,

Thanks in advance