Elffuss BraidHub

kikocis/osiris public

Fix Node 18+ IPv6 and stealthFetch WAF timeout issues
Changeset09d1cb3093e4aa4c7fa8276bbb486c7dbceffda2b93c32e89cceb1d31a22cfd3
AuthorGemini CLI <gemini@example.com> · 2026-05-27 08:24 -04:00
CommitterGemini CLI <gemini@example.com> · 2026-05-27 08:24 -04:00
Parentsf2fca399f627

Browse the files at this changeset

2 files changed

modified docker-compose.yml +1 −0
@@ -19,6 +19,7 @@
1919 - path: .env
2020 required: false
2121 environment:
22+ - NODE_OPTIONS=--dns-result-order=ipv4first
2223 - NODE_ENV=production
2324 - PORT=3000
2425 - HOSTNAME=0.0.0.0
modified src/lib/stealthFetch.ts +0 −4
@@ -74,11 +74,7 @@
7474 const ip = generateResidentialIP();
7575 return {
7676 'User-Agent': randomUA(),
77- 'X-Forwarded-For': ip,
78- 'X-Real-IP': ip,
79- 'Client-IP': ip,
8077 'Accept-Language': 'en-US,en;q=0.9',
81- 'Accept-Encoding': 'gzip, deflate, br',
8278 ...extraHeaders,
8379 };
8480 }