Merge pull request 'hotfix(proxy): rotate Floxy creds (402 balance) — restore pcat' (#128) from hotfix-floxy-creds into main
This commit was merged in pull request #128.
This commit is contained in:
@@ -96,8 +96,8 @@ export class EmexBrowserService implements OnModuleInit, OnModuleDestroy {
|
||||
this.proxyPassword = this.configService.get<string>("EMEX_PROXY_PASS", "f11c7b6128cc86c6");
|
||||
this.floxyHost = this.configService.get<string>("EMEX_FLOXY_HOST", "residential.floxy.io");
|
||||
this.floxyPort = Number(this.configService.get("EMEX_FLOXY_PORT", 12321)) || 12321;
|
||||
this.floxyUser = this.configService.get<string>("EMEX_FLOXY_USER", "d739255e819b");
|
||||
this.floxyPass = this.configService.get<string>("EMEX_FLOXY_PASS", "9092873ba4e0");
|
||||
this.floxyUser = this.configService.get<string>("EMEX_FLOXY_USER", "cac4b0d96a80");
|
||||
this.floxyPass = this.configService.get<string>("EMEX_FLOXY_PASS", "dfc38fe467a3");
|
||||
this.floxyLifetime = Number(this.configService.get("EMEX_FLOXY_LIFETIME", 300)) || 300;
|
||||
}
|
||||
|
||||
|
||||
@@ -189,8 +189,8 @@ export class EmexService {
|
||||
this.emexFloxy = {
|
||||
host: this.configService.get<string>("EMEX_FLOXY_HOST", "residential.floxy.io"),
|
||||
port: Number.isInteger(fport) && fport >= 1 && fport <= 65535 ? fport : 12321,
|
||||
user: this.configService.get<string>("EMEX_FLOXY_USER", "d739255e819b"),
|
||||
pass: this.configService.get<string>("EMEX_FLOXY_PASS", "9092873ba4e0"),
|
||||
user: this.configService.get<string>("EMEX_FLOXY_USER", "cac4b0d96a80"),
|
||||
pass: this.configService.get<string>("EMEX_FLOXY_PASS", "dfc38fe467a3"),
|
||||
lifetime: Number.isInteger(flife) && flife >= 0 ? flife : 300,
|
||||
};
|
||||
this.logger.log(
|
||||
|
||||
@@ -99,8 +99,10 @@ const DI_DEFAULT_PASS = "78ebc3d881de6ec0";
|
||||
// Playwright capture so the partner site sees a coherent session.
|
||||
const FLOXY_HOST = "residential.floxy.io";
|
||||
const FLOXY_PORT = 12321;
|
||||
const FLOXY_DEFAULT_USER = "d739255e819b";
|
||||
const FLOXY_DEFAULT_PASS = "9092873ba4e0";
|
||||
// Floxy account creds (overridable via PCAT_FLOXY_USER/PASS). Rotated 2026-06-11
|
||||
// after the prior account (d739255e819b) hit HTTP 402 (balance exhausted).
|
||||
const FLOXY_DEFAULT_USER = "cac4b0d96a80";
|
||||
const FLOXY_DEFAULT_PASS = "dfc38fe467a3";
|
||||
const FLOXY_CAPTURE_LIFETIME_S = 60; // sticky window for one capture attempt
|
||||
|
||||
type ProxyProvider = "floxy" | "dataimpulse" | "none";
|
||||
|
||||
Reference in New Issue
Block a user