cabird / PelotonData

C# code for pulling fine grained data from Peloton Workouts
25 stars 3 forks source link

Web Exception Error #1

Open mistrb01 opened 3 years ago

mistrb01 commented 3 years ago

I just started getting this error today, Jan 1, 2021.

Authenticating Error: Received Web Exception from Peloton Server Exception: System.Net.WebException: The remote name could not be resolved: 'api.onepeloton.com' at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult) at System.Net.WebClient.UploadBitsRequestCallback(IAsyncResult result) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at PelotonData.PelotonDataDownloader.<AuthenticateAsync>d__4.MoveNext() in C:\Users\cbird\Documents\repos\PelotonData\PelotonData\PelotonDataDownloader.cs:line 92 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at PelotonDataGui.MainWindow.d__6.MoveNext() in C:\Users\cbird\Documents\repos\PelotonData\PelotonDataGui\MainWindow.xaml.cs:line 102 Aborting...

cabird commented 3 years ago

Thanks. I wonder if a domain name changed or expired. I’ll take a look at it this week. Thanks for letting me know.

Best, Chris

On Fri, Jan 1, 2021 at 1:24 PM mistrb01 notifications@github.com wrote:

I just started getting this error today, Jan 1, 2021.

Authenticating Error: Received Web Exception from Peloton Server Exception: System.Net.WebException: The remote name could not be resolved: 'api.onepeloton.com' at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult) at System.Net.WebClient.UploadBitsRequestCallback(IAsyncResult result) --- End of stack trace from previous location where exception was thrown

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at PelotonData.PelotonDataDownloader.d__4.MoveNext() in C:\Users\cbird\Documents\repos\PelotonData\PelotonData\PelotonDataDownloader.cs:line 92 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at PelotonDataGui.MainWindow.d__6.MoveNext() in C:\Users\cbird\Documents\repos\PelotonData\PelotonDataGui\MainWindow.xaml.cs:line 102 Aborting...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cabird/PelotonData/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAOBJTG2XZCXYSFNVWJQJLSXYVORANCNFSM4VQQHAQQ .

-- Christian Bird cabird@gmail.com

mistrb01 commented 3 years ago

Thanks for the quick response!!

George

Liese2007 commented 2 years ago

Hi, I got the same issue. Just 1 year later. Any update for this tool available? Regards, Joerg