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

SSLError: <class 'requests.exceptions.SSLError'> #469

Open
jlark opened this issue Aug 30, 2017 · 0 comments
Open

SSLError: <class 'requests.exceptions.SSLError'> #469

jlark opened this issue Aug 30, 2017 · 0 comments

Comments

@jlark
Copy link
Contributor

jlark commented Aug 30, 2017

View details in Rollbar: https://rollbar.com/GLE/Sesh-dash/items/121/

Traceback (most recent call last):
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/dev/sesh-dash/src/seshdash/tasks.py", line 111, in get_BOM_data
    v_client = VictronAPI(site.vrm_account.vrm_user_id,site.vrm_account.vrm_password)
  File "/home/dev/sesh-dash/src/seshdash/api/victron.py", line 76, in __init__
    self.initialize()
  File "/home/dev/sesh-dash/src/seshdash/api/victron.py", line 105, in initialize
    atr = self.get_site_attributes_list(site_id)
  File "/home/dev/sesh-dash/src/seshdash/api/victron.py", line 206, in get_site_attributes_list
    result =  self._make_request("sites","get_site_attributes", siteid=site_id, instance = 0)
  File "/home/dev/sesh-dash/src/seshdash/api/victron.py", line 146, in _make_request
    r = requests.post(formated_URL,data=data, headers = headers)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/requests/api.py", line 109, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/requests/api.py", line 50, in request
    response = session.request(method=method, url=url, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/requests/adapters.py", line 433, in send
    raise SSLError(e, request=request)
SSLError: <class 'requests.exceptions.SSLError'>
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

1 participant