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

Use a private SSL context for OkHttp to avoid crashing when certain other libraries are also used. #40

Closed
wants to merge 1 commit into from

Conversation

tpurtell
Copy link
Contributor

add workaround of having a private SSL context so crashes don't occur when using a library like google analytics along side OkHttp square/okhttp#184 . an alternative might be to update the okhttp library, they seemed to have finally closed the issue...

… when using a library like good analytics along side OkHttp square/okhttp#184 . an alternative might be to update the okhttp library, they seemed to have finally closed the issue...
@anaisbetts
Copy link
Owner

It looks like this is already fixed in OkHttp master, no? Would a better solution just be to move the submodule up to a later version?

@tpurtell
Copy link
Contributor Author

tpurtell commented Mar 4, 2014

This is my tried and tested solution which I have found to be working reliably, but I think updating is probably a better long term solution. I will close this out. I just wanted to make sure this didn't slip through the cracks.

@tpurtell tpurtell closed this Mar 4, 2014
@anaisbetts anaisbetts reopened this Mar 4, 2014
@anaisbetts
Copy link
Owner

@tpurtell Just revert your previous commit and make the submodule change in the same PR, or reset it away (you knew that you can keep committing to a PR and it'll show up here, even after submitting, riiiiiiiight?)

@anaisbetts
Copy link
Owner

I'm going to fix this by bumping the OkHttp version. Thanks though!

@anaisbetts anaisbetts closed this Mar 10, 2014
@gshackles
Copy link

I'm still hitting this crash consistently when mixing ModernHttpClient and Google Analytics. @paulcbetts, can you confirm that the latest versions were actually built with updated versions of OkHttp? This could be a red herring, but when I look at the assembly for OkHttp in ModernHttpClient v1.2.1 I see this:

screen shot 2014-04-07 at 2 09 04 pm

@anaisbetts anaisbetts reopened this Apr 7, 2014
@anaisbetts
Copy link
Owner

@gshackles I want to die

@Cheesebaron
Copy link
Contributor

@paulcbetts please don't we still love you!

@anaisbetts
Copy link
Owner

@Cheesebaron 😍

@anaisbetts
Copy link
Owner

This shouuuuuld be good now. Reopen if it's not

@anaisbetts anaisbetts closed this Sep 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants