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

Cannot Connect to APOD via HTTPS on Pre-Lollipop Android devices #80

Closed
JeffreyCA opened this issue Jan 10, 2017 · 3 comments
Closed

Cannot Connect to APOD via HTTPS on Pre-Lollipop Android devices #80

JeffreyCA opened this issue Jan 10, 2017 · 3 comments

Comments

@JeffreyCA
Copy link

I am trying to connect to APOD resources such as https://apod.nasa.gov/apod/astropix.html on Android using OkHttp, but I keep getting an SSL Handshake error. This occurs on devices running Android versions earlier than 4.4.2.

I ran some tests on SSLLabs and here are the results: https://www.ssllabs.com/ssltest/analyze.html?d=apod.nasa.gov&s=129.164.179.22

Note all of the pre-4.4.2 devices result in a handshake failure.

NASA's other domains do not have this problem, all devices are able to handshake without any problems: https://www.ssllabs.com/ssltest/analyze.html?d=api.nasa.gov&s=34.193.234.42

I'm currently developing an Android application which uses APOD images and since the move to HTTPS, I've been getting handshake errors on certain Android devices as a result.

@brianthomas
Copy link
Member

I just ran your tests from ssllabs and it ran OK for me ("Grade B" for both tests although I admit to having no idea what the grading system means..)

@jasonduley
Copy link
Contributor

thanks @brianthomas
we had to implement OMB Mandate M-15-13 https://https.cio.gov/guide/ and update all of our SSL configurations to the newest versions and this is most likely the cause of your client breaking

@JeffreyCA
Copy link
Author

JeffreyCA commented Apr 24, 2017

Hello, thanks for the response!

I totally forgot about this open issue, but I managed to solve resolve the problem with a combination of this and this.

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

No branches or pull requests

3 participants