Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login Flow Fails With Older Curl Due to SSL Issue #790

Closed
jlukic opened this issue Aug 19, 2019 · 0 comments

Comments

@jlukic
Copy link

commented Aug 19, 2019

Leaving this as a breadcrumb for any developers who run into issues with this library on older PHP setup.

The CURL auth flow will fail with older versions of curl with

Unknown SSL protocol error in connection to api.twitter.com:443

I fixed the authentication flow by updating from 7.22.0 to 7.39.0 using this guide
http://pavelpolyakov.com/2014/11/17/updating-php-curl-on-ubuntu/

I believe this is an issue with older curl versions not being able to force SSL version CURL_SSLVERSION_TLSv1_2 which I think is now mandatory for twitter apis.

This library was previously working with older curl, but presumably because of the recent SSL changes on twitter end required an update.

@jlukic jlukic closed this Aug 19, 2019

@jlukic jlukic changed the title Login Flow Fails With Older PHP Login Flow Fails With Older PHP Due to SSL Issue Aug 19, 2019

@jlukic jlukic changed the title Login Flow Fails With Older PHP Due to SSL Issue Login Flow Fails With Older Curl Due to SSL Issue Aug 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.