Closed aegershman closed 2 years ago
@aegershman apologies for missing the original issue. not sure what happened, but I just got the notification for closing the issue. please share the manifest.yml file that you were using
thank you
No worries at all @shahramk I don't recall, that's okay though it's all good. Thank you though 👍
@no problem @aegershman - I noticed that you were using version 1.1.5 from May of 2020. There are newer releases after that. This issue was addressed in later releases and is fixed. Please use the latest release from March 2021.
TL;DR the lookup pattern matching for the newrelic buildpack to download the latest newrelic agent is 404ing 😉
We're using 1.1.5 of the newrelic-dotnet-buildpack; when using the "online" (e.g. the not
cached
version) buildpack, where the buildpack reaches out todownload.newrelic.com
to get the version of the newrelic agent to use, apps are failing during staging due to the newrelic-dotnot buildpack getting 404's:We turned on debugging and saw the agent was reaching out to:
which doesn't exist. However, this does:
In
/.../newrelic-dotnetcore-extension/.../supply.go
it appears a regex is used to consume the latest available newrelic agent listed ondownload.newrelic.com/...
underprevious_releases
as seen here.As of writing this,
8.30.0
is the latest agent listed in thatprevious_releases
index; however, the regex the newrelic dotnet buildpack appears to be searching for is8.30.0.0
, which doesn't exist in theprevious_releases
(though8.30.0
does), thus the buildpacksupply
throwing 404'sWe've switched to using the
cached
(nr_dotnetcore_extension_cached
) buildpack for now, but anyone who is using the "online" buildpack variant (nr_dotnetcore_extension
) would have problems when restaging their dotnet applications unless they pinned the url, version, or until a newrelic agent version of 8.30.0.0 or anx.x.x.x
of the newrelic agent were published 👍thanks for your time all