Skip to content

Instantly share code, notes, and snippets.

View vitalygashkov's full-sized avatar

Vitaly Gashkov vitalygashkov

View GitHub Profile
@vitalygashkov
vitalygashkov / repro-impit.mjs
Last active February 28, 2026 09:57
Repro for impit error "SelectedUnusableCipherSuiteForVersion"
import { fetch as undiciFetch } from 'undici';
import { Impit } from 'impit';
const url = 'https://api.ivi.ru/mobileapi/user/register/storageless/v5/';
const method = 'POST';
console.log(`Node: ${process.version}`);
console.log(`Platform: ${process.platform} ${process.arch}`);
console.log(`URL: ${url}`);
console.log(`Method: ${method}`);