xamarin-macios
xamarin-macios copied to clipboard
sharpie update fails with "no such host"
trafficstars
Calling sharpie update gives the following. I think the server it is checking must be gone.
Current version: 3.5.61
Checking stable channel for newer version ...
Unhandled Exception:
System.AggregateException: One or more errors occurred. (No such host is known) ---> System.Net.Http.HttpRequestException: No such host is known ---> System.Net.Sockets.SocketException: No such host is known
at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x00110] in <918e4b7c7e23462cb34be0116230ccaf>:0
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x001ac] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00134] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <918e4b7c7e23462cb34be0116230ccaf>:0
at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029
at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:496
at System.Threading.Tasks.Task`1[TResult].get_Result () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:466
at Sharpie.UpdateTool.GetLatestRelease (System.String channel) [0x00001] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:115
at Sharpie.UpdateTool.Run () [0x00039] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:52
at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180
at Sharpie.Tooling.ToolRunnerTool.Run () [0x000eb] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:95
at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180
at Sharpie.Tooling.ToolRunnerTool.Run (System.Collections.Generic.IEnumerable`1[T] args, System.Action`1[T] aboutToRunToolHandler) [0x00008] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:68
at Sharpie.Entry.Main (System.String[] args) [0x00142] in /Users/runner/work/1/s/Sharpie/Entry.cs:89
---> (Inner Exception #0) System.Net.Http.HttpRequestException: No such host is known ---> System.Net.Sockets.SocketException: No such host is known
at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x00110] in <918e4b7c7e23462cb34be0116230ccaf>:0
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x001ac] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00134] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <918e4b7c7e23462cb34be0116230ccaf>:0
at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121 <---
[ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occurred. (No such host is known) ---> System.Net.Http.HttpRequestException: No such host is known ---> System.Net.Sockets.SocketException: No such host is known
at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x00110] in <918e4b7c7e23462cb34be0116230ccaf>:0
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x001ac] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00134] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <918e4b7c7e23462cb34be0116230ccaf>:0
at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029
at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:496
at System.Threading.Tasks.Task`1[TResult].get_Result () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:466
at Sharpie.UpdateTool.GetLatestRelease (System.String channel) [0x00001] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:115
at Sharpie.UpdateTool.Run () [0x00039] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:52
at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180
at Sharpie.Tooling.ToolRunnerTool.Run () [0x000eb] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:95
at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180
at Sharpie.Tooling.ToolRunnerTool.Run (System.Collections.Generic.IEnumerable`1[T] args, System.Action`1[T] aboutToRunToolHandler) [0x00008] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:68
at Sharpie.Entry.Main (System.String[] args) [0x00142] in /Users/runner/work/1/s/Sharpie/Entry.cs:89
---> (Inner Exception #0) System.Net.Http.HttpRequestException: No such host is known ---> System.Net.Sockets.SocketException: No such host is known
at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x00110] in <918e4b7c7e23462cb34be0116230ccaf>:0
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x001ac] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00134] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <918e4b7c7e23462cb34be0116230ccaf>:0
at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <918e4b7c7e23462cb34be0116230ccaf>:0
at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121 <---
Of course, I can download from https://aka.ms/objective-sharpie, but seems like if it has self-update functionality that it should work.
Thank you we will have a look at this for a future release!
I noticed this issue as well. What is the most recent version now and where can we get it? Is https://aka.ms/objective-sharpie always up to date?