Closed rynowak closed 6 months ago
Upon looking through the code, it looks like we may be hitting this due to not specifying the --dashboard-version
.
Since we're not specifying the dashboard version I think it's doing a lookup rather than assuming we want to match the version of the runtime.
Does this make sense? I would have assumed it's better for the versions to match unless the user asked for something else. In the interim, I'll try specifying the --dashboard-version
as well.
Upon looking through the code, it looks like we may be hitting this due to not specifying the
--dashboard-version
.Since we're not specifying the dashboard version I think it's doing a lookup rather than assuming we want to match the version of the runtime.
Does this make sense? I would have assumed it's better for the versions to match unless the user asked for something else. In the interim, I'll try specifying the
--dashboard-version
as well.
Dashboard version is completely independent of the runtime version, so if not specified, it will be looked up from GitHub.
In the interim, I'll try specifying the --dashboard-version as well.
By the way, I can confirm that specifying --dashboard-version
solved the issue for me.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.
Expected Behavior
Dapr init succeeds 😄
In this case we're running:
We're trying to avoid autodetection of the Dapr version because we've seen this fail routinely due to rate-limiting by the Github Releases API.
Actual Behavior
Steps to Reproduce the Problem
Run the following from a high-traffic source, for example inside a Github Actions pipeline. The problem is due to rate-limiting, so the context where this command is being run matters. We're seeing failures in maybe 1/20 cases.
Release Note
RELEASE NOTE: FIX dapr init with a specific version no longer has a dependency on the Github API, and is no longer susceptible to Github API Rate Limits.