logdna / logdna/logdna-cli

2.0.0 binary release failing with "Error: certificate has expired"

Open
#65 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
27
Forks
15
PR merge metrics
No merged PRs in 30d

Description

As of a few days ago logdna-cli commands started failing with "certificate is expired".

Here's a reproducible example from a fresh install running on macOS Sonoma 14.4.1:

user@host ~ $ rm -f ~/.logdna.conf
user@host ~ $ ls -l ~/Library/Caches/Homebrew/downloads/
total 0
user@host ~ $ brew install --cask logdna-cli
==> Downloading https://github.com/logdna/logdna-cli/releases/download/2.0.0/logdna-cli.pkg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/55010834/55081e00-9aa8-11ea-89b6-11a05c1b6d27?X-Amz-Algorithm
######################################################################################################################################################## 100.0%
==> Installing Cask logdna-cli
==> Running installer for logdna-cli with sudo; the password may be necessary.
installer: Package name is logdna-cli
installer: Installing at base path /
installer: The install was successful.
🍺  logdna-cli was successfully installed!
user@host ~ $ logdna login
Email: me@domain.com
Password: ********************
Error: Error: certificate has expired

Running from source (node index.js login etc) works, the problem seems to be only with the binary release.

Contributor guide

Open the contributing guide

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 the failure with the 2.0.0 macOS package using brew install --cask logdna-cli and logdna login, then compare it with node index.js login, which reportedly works from source. Investigate the binary release path and verify that the installed binary can complete login without the certificate error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli
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.