brew安装jaeger时github凭证失效

安装jaeger报错

brew install jaeger
Warning: No available formula or cask with the name "jaeger".

==> Searching for similarly named formulae...

Error: No similarly named formulae found.

==> Searching for a previously deleted formula (in the last month)...

Error: No previously deleted formula found.

==> Searching taps on GitHub...

Warning: Error searching on GitHub: GitHub API Error: Requires authentication

The GitHub credentials in the macOS keychain may be invalid.

Clear them with:

printf "protocol=https\nhost=github.com\n" | git credential-osxkeychain erase

Create a GitHub personal access token:

https://github.com/settings/tokens/new?scopes=gist,public_repo,workflow\&description=Homebrew

echo 'export HOMEBREW_GITHUB_API_TOKEN=your_token_here' >> ~/.zshrc

Error: No formulae found in taps.

原因

github凭证失效

解决

跟着报错提示走就行

  1. 清除无效的凭证

    printf "protocol=https\nhost=github.com\n" | git credential-osxkeychain erase

  2. github创建新凭证

    https://github.com/settings/tokens/new?scopes=gist,public_repo,workflow\&description=Homebrew

    已经默认勾选好,直接生成就行

    配置凭证,上图的红色部分替换到下面的token

    echo 'export HOMEBREW_GITHUB_API_TOKEN=your_token_here' >> ~/.zshrc

    重新加载配置文件

    source ~/.zshrc

虽然,还是没找到...

但是,以后找别的包就能用了...

最后,还是用了docker...

docker run -itd -d --name jaeger -p 16686:16686 -p 4317:4317 -p 4318:4318 -p 5778:5778 -p 9411:9411 jaegertracing/all-in-one

相关推荐
敢敢是只喵i4 小时前
OpenAPI 里有两个 quantity,审批规则到底在比哪个?
github
七分辣度4 小时前
GitHub/Git 常用命令及使用场景
git·github
dong_junshuai4 小时前
每天一个开源项目#160 LoopForge:把Agent交付拆成可退回的验收流程
github
Allen36686 小时前
给博客和秘书加上 HTTPS 之后的一点记录
github
laoyeye8317 小时前
手写 vLLM 分页 KV Cache(二):深入物理块分配、Block Table 与 Slot Mapping
github
Summer-Bright9 小时前
企业落地智能体,供应链签名还是空白:1862 个 MCP 服务器无认证裸奔
服务器·人工智能·github·mcp
一条Go9 小时前
Pod 终端与日志:为什么浏览器建连要先换一张 60 秒的票
后端·架构·github
一条Go9 小时前
开源新生代雷达 · 第 14 期
github
徐小夕12 小时前
万字拆解:零向量库、无模型微调,SAG2 凭什么刷新多跳问答 SOTA
前端·vue.js·github
黑土豆12 小时前
用 drawink 给业务页面加一层画板:从网页批注到无限板书
前端·javascript·github