ProxymanApp / ProxymanApp/Proxyman

Failed to intercept connections from kubectl command

Open
#1,879 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Description

I want to intercept traffic generated by kubectl command but Proxyman doesn't work.

Steps to Reproduce

  • Intercept HTTPS traffic of kubectl command by adding kubectl app in Tools -> SSL Proxying List -> Include List.
  • Add client certificate and client key file in Certificate -> Add Custom Certificate.
  • Enable SOCKS Proxy in Proxyman.
  • Set HTTPS_PROXY environment variable in terminal.
  • Run command kubectl --insecure-skip-tls-verify=true get pods.
    CleanShot 2023-12-14 at 12 45 50@2x
    CleanShot 2023-12-14 at 12 46 22@2x

Current Behavior

kubectl command retries all the time.
CleanShot 2023-12-14 at 12 42 42@2x

CleanShot 2023-12-14 at 12 43 43@2x

BTW, if I edit and repeat the request, Proxyman fails with invalid host.

Expected Behavior

kubectl command works as usual.

Environment

  • App version: 4.15.0 (49600)
  • macOS version: 14.1.2 (23B92)

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 the kubectl request through Proxyman's SOCKS Proxy with HTTPS_PROXY, the SSL Proxying Include List, and the custom certificate settings described. Investigate why kubectl retries and why an edited request produces "invalid host"; done means kubectl --insecure-skip-tls-verify=true get pods works normally through the proxy.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
networking
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.