AGENT SKILL

proxy-troubleshooting

Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.

License 许可
MIT
所属仓库
bg-szy/TOP-SKILLS
最近更新
2026-11-15
Stars
★ 6
Forks
0

01 前言 Front Matter

name
proxy-troubleshooting
license
MIT
description
Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.

02 资源文件 1

03 SKILL.md 正文

Proxy troubleshooting

Start by getting the gateway's own status code. A browser hides it behind ERR_TUNNEL_CONNECTION_FAILED or ERR_PROXY_CONNECTION_FAILED, and most HTTP clients turn it into a generic exception. One CONNECT shows it:

curl -sv -o /dev/null -x http://gate.nodemaven.com:8080 \
  -U "$NODEMAVEN_LOGIN-country-us:$NODEMAVEN_PASSWORD" https://api.ipify.org 2>&1 \
  | grep -E "^< HTTP|CONNECT phase"

Or proxy.check() in the NodeMaven SDKs, which also prints what the code means. Do not paste the full -v output anywhere: it contains the Proxy-Authorization header, which is the password in base64.

What the NodeMaven gateway's status codes mean

answer most likely cause
407 usually a bad value, not bad credentials. A value the gateway will not take on country, filter, ttl, type or speed answers 407, exactly like a wrong password. Check values first: ttl must be lower case with m or h (10m, not 10M, 10s or 10); country a two-letter code or any
406 region, city or isp names something unknown or unavailable to the account. The code does not say which of the three
410 isp names a network the gateway knows but will not give this account
500 measured cause: city sent without its region. Add the region the location catalogue files the city under
no reply, ~20 s, then timeout an empty value somewhere in the username, e.g. country- or sid--ttl from an unset variable
200 but the setting is not applied a misspelt parameter name (contry, filtr) is answered 200 and dropped

Look up valid region, city and ISP names in the account API location catalogue (locations/regions/, cities/, isps/ with country__code) or the MCP server's list_locations, instead of guessing.

Symptom checklist

407 in Playwright with credentials that work in curl. Playwright ignores a username and password written into proxy.server. Pass them separately: {"server": "http://gate.nodemaven.com:8080", "username": ..., "password": ...}.

Chrome or Selenium cannot authenticate. Chrome takes no credentials in --proxy-server and cannot authenticate to SOCKS5 at all. Use the driver's own proxy auth (Playwright proxy, Puppeteer page.authenticate), or whitelist the machine's IP in the dashboard and drop the credentials.

Works in one tool, 407 or a parse error in another, password has #, /, ?, %, @ or :. The credentials were put into a URL unencoded. Encode both parts (urllib.parse.quote(value, safe=""), encodeURIComponent), or pass username and password as separate fields.

The exit IP is the machine's own address. The proxy was never applied: wrong proxies key (https missing), a client that ignores environment variables (trust_env=False) or reads them when you did not expect it, or a browser launched without the proxy argument. Check with https://api.ipify.org.

The sticky session changes IP. In order of likelihood:

  1. Another parameter changed. The session is keyed on the whole parameter set, so adding filter or changing country is a new session even with the same sid.
  2. The sid contains -. The gateway cuts the value there, so order-1 and order-2 are the same session order, and the tail is read as a parameter.
  3. ttl ran out, or the exit went offline. Residential exits are people's connections; plan for an exit to disappear and move to a new sid.

Geo-targeting is ignored. A misspelt parameter name (200 and dropped), a location value with spaces instead of _, or no country at all, in which case the country is not stable.

The exit IP header is missing. Some gateway back ends send the exit address on the CONNECT reply and some do not. Read the IP through the tunnel from an echo service when you need it every time.

Retrying a refused exit. If a target refused an exit (captcha, block), move to a new sid rather than retrying the same one. On the published proxy-benchmark runs, an attempt succeeded 75% of the time with no failures before it in its cell, and 1.6% from the sixth failure on. Stop after a few consecutive failures instead of looping.

Unexpected traffic from Chrome

A fresh Chrome profile downloads an on-device model from optimizationguide-pa.googleapis.com while idle: 24 to 45 MB per fresh profile measured through a proxy with several automation libraries, billed as proxy traffic. --disable-features=OptimizationHints stops it. It is probabilistic, so one quiet run proves nothing. One report linked this flag to a startup crash on an early unbranded Chromium 151 build; test it on your build.

Chrome honours only the last --disable-features switch and discards earlier ones whole. A library that emits its own and then appends yours (or the reverse) silently loses one list, including Playwright's defaults, which already contain OptimizationHints. Merge everything into one switch: --disable-features=OptimizationHints,Translate,YourFeature. Check the real command line at chrome://version.

04 同仓库更多 Skills

bg-szy
bg-szy/TOP-SKILLS

serpmaven

Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-landing-page-audit

Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: "audit my landing page", "why isn't this page converting", "review my homepage", "my ads get clicks but no signups", "people bounce from the pricing page", "CRO review", "improve conversion rate", "is my hero section clear", "roast my landing page", "rewrite my headline", "what's wrong with this page", "landing page feedback", "make the signup page convert better". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-growth-context

Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents/revnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says "set up our marketing context", "who is our ideal customer", "write our ICP", "describe the product for marketing", "positioning doc", "what's our brand voice", "remember this about our customers", "log what we tried", "what have we learned from marketing", "we changed pricing, update the context", "update our growth notes", "summarize the business for the agent", "import my product-marketing.md", "start a growth doc", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-get-listed

Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: "best X" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says "get us listed", "which directories should we submit to", "how do we get into best-of lists", "why does ChatGPT recommend competitors and not us", "get mentioned in AI answers", "submit to awesome lists", "get on G2", "where are our competitors listed", "pitch listicle authors", "find backlink opportunities", "launch directories", "get into roundups", "Product Hunt alternatives", "where should we be listed", "get cited by Perplexity". Never submits, pays or posts without a yes. Works without a Revnu account.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-ai-readiness-audit

Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks "is my site ready for AI search", "audit my site for AI answers", "AEO audit", "GEO audit", "why doesn't ChatGPT quote our pricing", "make our pages citable by AI", "do I need llms.txt", "does schema help with ChatGPT", "check our structured data", "is our content visible without JavaScript", "AI SEO audit", "optimize our homepage for AI answers", "LLM SEO check", "why does AI get our product wrong", "fix our site for AI Overviews". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.

★ 6
bg-szy
bg-szy/TOP-SKILLS

proxy-benchmark

Measure proxies and scraping browsers with the open-source proxy-benchmark harness - success rate on real targets (Google, Bing, DuckDuckGo, Amazon), bytes per page, exit yield, and side-by-side comparison of providers or automation engines (Playwright, Patchright, Camoufox, zendriver, SeleniumBase and others). Use when the user wants to test or compare proxy providers, check which browser gets past a target, estimate traffic cost, or reproduce a published number.

★ 6