lando / lando/core

lando update fails to update lando cli

Open
#271 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
62
Forks
41
Avg merge
2h 1m
Merged PRs (30d)
2

Description

When running lando update, the @lando/cli package fails with message:
API rate limit exceeded for [MY.IP.ADDR]. (But here's the good news: Authenticated requests get a higher rate limit

This problem is persistent. I can wait for a hour, day, indeed several weeks and I always get this message.

All other packages can be updated successfully.

Aa a workaround: If I connect to a VPN (and hence change my IP) the problem goes away and I am able to update @lando/cli.

I've tried removing caches in ~/.lando/cache.
I've tried setting up an auth.json file to authenticate my github requests - but confess I'm not entirely sure where I need to place the auth.json file.

The problem occurs in the v3.23.1 version of lando and several versions prior to that. I generally keep lando up to date and it has been occurring for about a month.

My OS is Ubuntu 22.04 running through WSL2.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing lando update on Ubuntu 22.04 under WSL2 and trace the update path for @lando/cli. Inspect how the command uses GitHub requests, ~/.lando/cache, and auth.json; done means the CLI updates successfully without requiring a VPN or repeatedly hitting the API rate limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, javascript, ubuntu
Domain
cli, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.