Skip to content

v1.2.2

Choose a tag to compare

@B3hnamR B3hnamR released this 27 Oct 00:36
· 85 commits to master since this release

v1.2.2 — signup fingerprints, registration resilience

Fixes

  • Fingerprint timezone now follows the real exit IP. The old code only knew the
    two-letter country and mapped it through a ~40-entry table with a US default, so a
    Finnish exit IP presented America/New_York. That continent-away mismatch is a live
    fraud signal. exit_ip_geo() now reads countryCode + timezone from the exit IP
    (through the proxy, with a proxy-host fallback for SOCKS), and the IANA zone is what
    the browser reports. The [fp] line in worker logs now shows the real zone.

  • Registrations no longer die on a single network flake (thanks @amirshaker000, PR #1).

    • requests on Windows silently inherits the IE/registry proxy even when the config
      says ip_source: direct, so "direct" flows rode a VPN tunnel that drops TLS at
      random. Sessions now set trust_env=False, and ZAI_PROXY still wins when set.
    • Per-request retries on the device-flow chain (init/authorize/callback/poll) and the
      billing calls, plus per-attempt exception handling in register_account — one
      ConnectionError now costs one attempt instead of dropping the account.
  • Sessions are per-thread. register_account runs one thread per account; a shared
    requests.Session is not thread-safe and cross-pollinated cookies between accounts.
    Each thread now gets its own session.

  • The claim never retries a spent captcha token. x-aliyun-captcha-verify-param is
    single-use. Retrying the claim after a transport error returned 3007 with a dead
    token; the claim now fires once and the caller mints a fresh token, which is the retry
    that actually works.

Diagnostics

  • plans*.jsonl rows now carry signup_cc and signup_tz, so the split between
    Start Plan variants (…-0817 vs …-nt-1026) can be correlated with the signup exit
    location.
  • An account that arrived with the Start Plan already granted is logged as
    Start Plan already active instead of claiming a "best offer" claim that never ran.

Upgrading

Replace ZcodeGateway.exe next to your existing accounts/ and generator-data/.
Nothing to migrate.

SHA-256: f6b94e1199c97822e92fab45e2763d8f8f5564afb2668031111c827d4feb9214 (checksums.sha256)