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

Possible timeout waiting for a redis connection #8

Open
ethanopp opened this issue Aug 14, 2020 · 1 comment
Open

Possible timeout waiting for a redis connection #8

ethanopp opened this issue Aug 14, 2020 · 1 comment

Comments

@ethanopp
Copy link

Calling
workouts = PelotonWorkout.list()

Is getting the following error - initially a response 200, but as it goes through the loops, it eventually gives a 500... I've xxx'd out the middle because it would be way too long to post the entire response here

Response 200: [b'{"data": [{"created_at": 1597411076, "device_type": "home_tread", "end_time": 1597412935, "fitbit_id": null, "fitness_discipline": "running", "has_pedaling_metrics": false, "has_leaderboard_metrics": true, "id": "913a35be
b8a1408483886e22cc870da2", "is_total_work_personal_record": false, "metrics_type": "running", "name": "Running Workout", "peloton_id": "e362bebdfaed49419919939ec33e0249", "platform": "home_tread", "start_time": 1597411137, "strava_id": nu
ll, "status": "COMPLETE", "timezone": "America/New_York", "title": null, "total_work": 399148.75, "user_id": "ffe93aa9227f46a48227052e8680089e", "workout_type": "class", "total_video_watch_time_seconds": 1831, "total_video_buffering_secon
ds": 0, "

xxxxxxxxxxxxxxx

, "2020-03": 9, "2020-02": 16, "2020-01": 17, "2019-12": 2, "2019-11": 12, "2019-10": 16, "2019-09": 10, "2019-08": 10, "2019-07": 21, "2019-06": 23, "2018-10": 11, "2018-09": 8, "2018-08": 2, "2018-07": 6, "2018-06": 14, "2018-05": 11, "
2018-04": 10, "2018-03": 8, "2018-02": 7, "2018-01": 12}, "aggregate_stats": []}']

Response 500: [b'{"status":500,"error_code":null,"subcode":null,"message":"Possible timeout waiting for a redis connection","details":null}']

@geudrik
Copy link
Owner

geudrik commented Sep 18, 2020

I haven't seen this before, but with what you've pasted here, this is a server-side issue with @pelotoncycle that you're right, we should handle better. :S

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

2 participants