Skip to content

Failed to upload to Garmin Connect - SSLError #71

Description

@willberriss

Hi

Today I tried to upload data to GC for the first time. I have had no luck, not even with the latest version of the code in git-hub that I cloned today. I am using Debian 8. I created a GC account only yesterday and this is the first time I have tried to use it. My GC username is my email address and that works when I login to GC myself from Firefox.

Here is the debug output:

[MainThread] 2016-06-16 08:13:08,065 INFO tcx: writing 20160616-081250.raw -> /home/will/.antd/0xd46925b1/tcx/20160616-070739.tcx.
[MainThread] 2016-06-16 08:13:08,068 DEBUG Checking to see what style of login to use for Garmin Connect.
Waiting for lock
[MainThread] 2016-06-16 08:13:08,240 DEBUG Using new style login
[MainThread] 2016-06-16 08:13:08,241 DEBUG Fetching login variables
[MainThread] 2016-06-16 08:13:08,285 WARNING Failed to upload to Garmin Connect.
Traceback (most recent call last):
File "/home/will/git-repos/python-ant-downloader/antd/connect.py", line 94, in data_available
self.login()
File "/home/will/git-repos/python-ant-downloader/antd/connect.py", line 172, in login
preResp = self.rsession.get("https://sso.garmin.com/sso/login", params=params)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 469, in get
return self.request('GET', url, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 420, in send
raise SSLError(e, request=request)
SSLError:
[MainThread] 2016-06-16 08:13:08,286 DEBUG SEND: a4094f004403000000000000a5
[MainThread] 2016-06-16 08:13:08,287 DEBUG Executing Command. RESET_SYSTEM()
[MainThread] 2016-06-16 08:13:08,287 DEBUG SEND: a4014a00ef
[Thread-1] 2016-06-16 08:13:08,292 DEBUG RECV: a40340004f16be
[Thread-1] 2016-06-16 08:13:08,292 DEBUG Processing reply. CHANNEL_EVENT(channel_number=0, msg_id=79, msg_code=22)

Anyone any ideas on how to get this working?

Thanks! :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions