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

Update API endpoint #46

Closed
RoyalTS opened this issue Sep 20, 2016 · 7 comments
Closed

Update API endpoint #46

RoyalTS opened this issue Sep 20, 2016 · 7 comments

Comments

@RoyalTS
Copy link

RoyalTS commented Sep 20, 2016

As per today's announcement:

The API endpoint has changed from https://api.forecast.io/ to https://api.darksky.net/. The previous endpoint will continue to work for the foreseeable future, but please change your software as soon as possible.

@fabaff
Copy link
Contributor

fabaff commented Sep 26, 2016

Would be nice if a new release is created and published at PyPI.

Thanks

@blocke
Copy link

blocke commented Sep 30, 2016

(Sorry, I was incorrect and didn't notice the many subject alt names on the certificate being exposed.)

Many of us are getting the following error with this module:

requests.exceptions.SSLError: [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:600)

@BrianMitchL
Copy link

BrianMitchL commented Sep 30, 2016

I'm getting the same error, though referencing a different line in _ssl.c:
requests.exceptions.SSLError: [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:645)

Based on the error, it seems that it's requests or OpenSSL related.

I'm running my code on the python:3 docker image. It seems strange for this (python-forecast.io) to suddenly stop working. @blocke, what is your environment like?

@ZeevG
Copy link
Owner

ZeevG commented Sep 30, 2016

Interesting... I ran some tests on Travis to try and reproduce the problem. I ran this commit 1faf779... which should be the same as the current 1.3.4 version and the tests didn't fail (for SSL reasons). The current master branch is also passing.

I'll try to get a release out soon but it could still be 24 hours or so... and I'm not sure it will necessarily fix the problem.

Could it be a similar problem to this one https://github.com/kennethreitz/requests/issues/3593 ?

@BrianMitchL
Copy link

I should note that I am using v1.3.4 with a manual URL pointing to the newer api.darksky.net. I don't think that should matter though.

Because it worked fine on this version before today, and nothing has changed I wonder if darksky has changed certs or something has expired causing SSL in requests to fail.

I don't think that this is related to that issue, but I could be wrong, I'm not an expert on SSL/TLS.

@BrianMitchL
Copy link

All issues from yesterday seem to be gone. I'm assuming it was an issue with api.darksky.net or something between it and my server.

@ZeevG
Copy link
Owner

ZeevG commented Oct 3, 2016

I've released 1.3.5 which included the switch to api.darksky.net. I'm going to close this issue but feel free to reopen it if the problem comes back.

@ZeevG ZeevG closed this as completed Oct 3, 2016
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

5 participants