vendredi 10 février 2017

Python sdk requests.exceptions.SSLError while connecting alchemyapi

Vote count: 0

We are trying to connect alchemyapi from python 2.7.6 but getting below error,

requests.exceptions.SSLError: hostname 'gateway-a.watsonplatform.net' doesn't match either of 'tickets.alchemyapi.com', 'access.alchemyapi.com'

We are trying to connect with below code,

alchemy_language = AlchemyLanguageV1(api_key='**************************') 
print(json.dumps(
      alchemy_language.entities(
      text=text),
      indent=2))

We have already upgraded python and API version. Has anybody tried setting end point manually in python?

asked 2 mins ago

Let's block ads! (Why?)



Python sdk requests.exceptions.SSLError while connecting alchemyapi

Aucun commentaire:

Enregistrer un commentaire