Skip to content

Collector URL for dotnet 0.0.123 is broken. #4459

@felipe-beamable

Description

@felipe-beamable

Describe the Bug

When the microservice try to run the dotnet beam telemetry collector get --quiet for any version 0.0.123.x it is throwing an exception. The URL does not exist. So it is falling to download the collector.

To Reproduce

Steps to reproduce the behavior:

  1. Run the dotnet beam telemetry collector get --quiet in a 0.0.123.x version.
  2. See the logs.

Logs:

resolving collector... bin/Debug/net8.0/ Downloading collector... 0.0.123 --- dotnet beam telemetry collector get --quiet Response status code does not indicate success: 404 (Not Found). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at CollectorManager.DownloadAndDecompressGzip(HttpClient httpClient, String url, String outputPath, Boolean makeExecutable) in /Users/felipearruda/Documents/Work/BeamableProduct/microservice/beamable.tooling.common/Microservice/CollectorManager.cs:line 271 at CollectorManager.ResolveCollector(String absBasePath, Boolean allowDownload, OSPlatform platform, Architecture arch) in /Users/felipearruda/Documents/Work/BeamableProduct/microservice/beamable.tooling.common/Microservice/CollectorManager.cs:line 254 at cli.OtelCommands.DownloadCollectorCommand.GetResult(DownloadCollectorCommandArgs args) in /Users/felipearruda/Documents/Work/BeamableProduct/cli/cli/Commands/OtelCommands/DownloadCollectorCommand.cs:line 59 at cli.AtomicCommand2.Handle(TArgs args) in /Users/felipearruda/Documents/Work/BeamableProduct/cli/cli/CommandContext.cs:line 160
at cli.DependencyInjectionExtensions.<>c__DisplayClass3_03.<<AddSubCommandWithHandler>b__1>d.MoveNext() in /Users/felipearruda/Documents/Work/BeamableProduct/cli/cli/DependencyInjectionExtensions.cs:line 107

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions