Connection Timed Out during Sign in with twitter flow



Hi, I’ve successfull implemented Twitter Sign In flow ( in my web application through 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