nint8835-archive / iTunesRichPresence

Bring iTunes now playing information to Discord using Rich Presence
https://itunesrichpresence.com
MIT License
274 stars 44 forks source link

WebException: The remote name could not be resolved: 'api.github.com' #42

Closed sentry-io[bot] closed 5 years ago

sentry-io[bot] commented 5 years ago

Sentry Issue: ITUNESRICHPRESENCE-1E

XamlParseException: The invocation of the constructor on type 'iTunesRichPresence_Rewrite.MainWindow' that matches the specified binding constraints threw an exception.
  Module "MS.Internal.CulturePreservingExecutionContext", line 27, in CallbackWrapper
    Void CallbackWrapper(System.Object)
  Module "MS.Internal.CulturePreservingExecutionContext", line 0, in Run
    Void Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
  Module "MS.Win32.HwndWrapper", line 48, in WndProc
    IntPtr WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
  Module "MS.Win32.HwndSubclass", line 54, in DispatcherCallbackOperation
    System.Object DispatcherCallbackOperation(System.Object)
  Module "MS.Win32.HwndSubclass", line 285, in SubclassWndProc
    IntPtr SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
...
(27 additional frame(s) were not displayed)

AggregateException: One or more errors occurred.
  Module "iTunesRichPresence_Rewrite.MainWindow", line 486, in .ctor
    Void .ctor()

HttpRequestException: An error occurred while sending the request.
  Module "Octokit.Internal.HttpClientAdapter", line 266, in SendAsync
    Void MoveNext()
  Module "Octokit.Internal.HttpClientAdapter", line 185, in Send
    Void MoveNext()
  Module "Octokit.Connection", line 277, in RunRequest
    Void MoveNext()
  Module "Octokit.Connection+<Run>d__57`1", line 140, in MoveNext
    Void MoveNext()
  Module "Octokit.ApiConnection+<Get>d__8`1", line 0, in MoveNext
    Void MoveNext()
...
(10 additional frame(s) were not displayed)

WebException: The remote name could not be resolved: 'api.github.com'
  Module "System.Net.HttpWebRequest", line 273, in EndGetResponse
    System.Net.WebResponse EndGetResponse(System.IAsyncResult)
  Module "System.Net.Http.HttpClientHandler", line 12, in GetResponseCallback
    Void GetResponseCallback(System.IAsyncResult)

The invocation of the constructor on type 'iTunesRichPresence_Rewrite.MainWindow' that matches the specified binding constraints threw an exception.
nint8835 commented 5 years ago

Occurs when the app fails to connect to GitHub to check for version updates. We should gracefully handle this and allow the app to start anyway, just with update checking disabled.