Skip to content

Conversation

sorccu
Copy link
Member

@sorccu sorccu commented Oct 6, 2025

WARNING: This PR currently has an issue where the proxy server port gets attached to port-lacking destination URLs. So, https://api.checklyhq.com becomes https://api.checklyhq.com:8080 if https_proxy=http://localhost:8080, for example.

The tunnel package we use has not been updated for 7 years and it's a bit unclear if it still does what it's supposed to in recent Node versions. I was having some trouble getting MITM to work today and rather than diving deep into an ancient package, I figured we should update to something more modern.

This change is better for security, and potentially enables new types of proxy-reliant setups with no effort from our side.

Affected Components

  • CLI
  • Create CLI
  • Test
  • Docs
  • Examples
  • Other

Notes for the Reviewer

Resolves #[issue-number]

New Dependency Submission

@sorccu sorccu force-pushed the simo/sim-138-cli-replace-7-year-told-tunnel-package-with-proxy-agent branch from 65fa143 to 70d8793 Compare October 6, 2025 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant