garmin-connect-export icon indicating copy to clipboard operation
garmin-connect-export copied to clipboard

503 Service Unavailable

Open MrDam opened this issue 6 years ago • 6 comments

https://connect.garmin.com/gauth/hostname

MrDam avatar Apr 05 '18 02:04 MrDam

definitely this is not working

frechina avatar Apr 05 '18 08:04 frechina

Traceback (most recent call last): File "C:\ENYDOG\GCTools\GCtoED.py", line 102, in hostname_url = http_req('http://connect.garmin.com/gauth/hostname') File "C:\ENYDOG\GCTools\GCtoED.py", line 81, in http_req response = opener.open(request, data=post) # This line may throw a urllib2.HTTPError. File "C:\Python27\lib\urllib2.py", line 435, in open response = meth(req, response) File "C:\Python27\lib\urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "C:\Python27\lib\urllib2.py", line 467, in error result = self._call_chain(*args) File "C:\Python27\lib\urllib2.py", line 407, in _call_chain result = func(*args) File "C:\Python27\lib\urllib2.py", line 654, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "C:\Python27\lib\urllib2.py", line 435, in open response = meth(req, response) File "C:\Python27\lib\urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "C:\Python27\lib\urllib2.py", line 473, in error return self._call_chain(*args) File "C:\Python27\lib\urllib2.py", line 407, in _call_chain result = func(*args) File "C:\Python27\lib\urllib2.py", line 556, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 503: Service Unavailable

MrDam avatar Apr 05 '18 09:04 MrDam

try https://connect.garmin.com/modern/auth/hostname

frechina avatar Apr 05 '18 09:04 frechina

Traceback (most recent call last): File "C:\GCtoED.py", line 179, in http_req(url_gc_post_auth + 'ticket=' + login_ticket) File "C:\GCtoED.py", line 81, in http_req response = opener.open(request, data=post) # This line may throw a urllib2.HTTPError. File "C:\Python27\lib\urllib2.py", line 435, in open response = meth(req, response) File "C:\Python27\lib\urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "C:\Python27\lib\urllib2.py", line 473, in error return self._call_chain(*args) File "C:\Python27\lib\urllib2.py", line 407, in _call_chain result = func(*args) File "C:\Python27\lib\urllib2.py", line 556, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 503: Service Unavailable

MrDam avatar Apr 05 '18 09:04 MrDam

fixed here: https://github.com/pe-st/garmin-connect-export/tree/develop

lefty01 avatar Apr 06 '18 09:04 lefty01

FYI, I couldn't get the Python 3 version to work and the limit of 1000 activities isn't enforced, I got about 1600 in one shot.

pdxvr avatar Apr 20 '18 22:04 pdxvr