You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trying to use deno exit node, but got a json in return #1387
Upgraded normal Code.gs works with Chatgpt even though it throws an error:
WARN chatgpt.com returned a Cloudflare bot-block even through your exit node — the exit-node host's outbound IP is itself on Cloudflare's blocklist for this site. Switch your exit-node deployment to a host with a non-GCP outbound IP (fly.io or a small VPS using assets/exit_node/wrapper.ts) and update relay_url in config.json (see assets/exit_node/README.md, Hosting options section).
Upgraded Code.cfw.gs, but the problem still exists:
WARN exit node failed for https://chatgpt.com/: relay error: exit-node response was double-wrapped — Apps Script is running a pre-v2.0.2 Code.gs that ignores the raw: true flag. Open your Apps Script project, replace Code.gs with the v2.0.2+ version from assets/apps_script/Code.gs, then Deploy → Manage deployments → New version. Same fix applies to Cloudflare Worker deployments (assets/cloudflare/worker.js). — falling back to direct Apps Script
Edit: I upgraded those based on the codes that are provided in the Rahgozar's assets
Also there is another error within the Rahgozar but since the issues were closed, I couldn't open one for it.
When updating the sni pool I get this error:
This error pops up right after you click on "SNI Pool" button
Thanks for the careful testing and the screenshot — both reports were really useful.
SNI Pool crash: confirmed bug, fixed in v2.9.1.
CFW double-wrap warning: I traced the chain end-to-end (rahgozar → Code.cfw.gs → worker.js → exit_node) and ran a four-way simulation against current assets/. The result:
Apps Script
Worker
Result
new
new
✅ delivers page content
new
old
❌ double-wrap error
old
new
❌ double-wrap error
old
old
❌ double-wrap error
So the repo source is correct when both halves are upgraded — and the symptom is byte-identical across the three broken-deployment cases, which is why the old error message was misleading. The most common gotcha is that pasting code isn't deploying it:
Apps Script: after pasting Code.cfw.gs, you have to do Deploy → Manage deployments → pencil icon → Version: New version → Deploy. Saving alone keeps the old deployment serving /exec.
Cloudflare Worker: in the dashboard editor, click the Save and deploy button (top-right). The plain "Save" only saves a draft.
To pinpoint which half is stale on your setup, hit the Worker directly:
One important compatibility note: if you are using upstream mhrv-rs, use the upstream app and the upstream assets/apps_script/Code.gs from this repository. If you are using rahgozar, use the rahgozar app and rahgozar Code.gs / Code.cfw.gs. Mixing app + Apps Script + Worker assets across the two repos can produce exactly these “double wrapped” or raw JSON symptoms, because the envelope expectations may not match.
For the Cloudflare Worker path, both halves have to be redeployed, not just saved:
Apps Script: Deploy -> Manage deployments -> Edit -> Version: New version -> Deploy
Cloudflare Worker: Save and deploy
The SNI Pool crash sounds fork-specific, so that one should be tracked in the fork. For this upstream issue, the actionable question is whether upstream mhrv-rs plus upstream Code.gs still returns a raw {"s":200,"h":...} envelope after a fresh deployment.
حالت اول بدون کلود فلر که کاملا اوکی بود جمنای حتی بالا اوردم باهاش
حالت دوم ترکیب با کلود فلر متاسفانه نمیدونم مشکل چیه دیپلوی منت ها میرن درجا توی بلک لیست ظاهرا یچا خودم اشتباه کردم احتمالا
و در مورد
کلود فلر چه نسخه فورک این یرنامه چه نسخه اصلی mhrv rs
در هر دو صورت یک مشکل دارم اونم اینه که کد هاشون وقتی paste میکنی
وقتی پسورد عوض میکنی یک شرط که برسی میکنه ایا حالت دیفالت و غیر دیفالت با هم برابر هستند ارور میده مجیور میشم اون شرط پاک کنم که تاثیری نداره چون کار میکردن فقط جهت اطلاع گفتم
و در مورد exit not
وقتی که کد در نسخه فورک برنامه گذاشتم ۲ خط ارور داشت دادم به هوش مصنوعی یه نسخه بدون مشکل برام داد از اون استفاده کردم
ولی این ها مشکل نبودن مشکل اصلی اینه امدم از worker.js
نسخه فورک استفاده کنم با code.cfw.gs
اگر بهجای صفحه، raw JSON یا envelope میبینید، معمولاً یکی از این دو اتفاق افتاده است:
مسیر assetها با هم قاطی شدهاند؛ مثلاً app اصلی mhrv-rs با Code.gs / Worker مربوط به fork دیگر، یا برعکس.
پاسخ exit-node/worker به شکلی برگشته که client آن را unwrap نکرده و همان JSON خام به مرورگر رسیده است.
برای upstream mhrv-rs، لطفاً این ترکیب را نگه دارید:
mhrv-rs upstream app/client
assets/apps_script/Code.cfw.gs از همین repo
worker.js / Cloudflare Worker سازگار با همین repo
AUTH_KEY یکسان در client و Apps Script
اگر از rahgozar استفاده میکنید، app و Code.gs / Code.cfw.gs / Worker همان repo را با هم استفاده کنید. ترکیبکردن دو پروژه دقیقاً میتواند raw JSON / double-wrap / unwrap error بدهد.
در مورد شرطی که بعد از تغییر password/default مقدار خطا میدهد: آن guard را حذف نکنید. اگر guard خطا میدهد یعنی هنوز یک placeholder یا مقدار ناسازگار در یکی از سمتها مانده است. حذف guard فقط خطای واضح را تبدیل به خطای مبهمتر در runtime میکند.
برای ChatGPT هم جداگانه باید بگویم Deno/Cloudflare/Datacenter exit node ممکن است همچنان با Cloudflare challenge بخورد؛ حتی اگر JSON درست شود، تضمین نمیکند chatgpt.com از آن exit IP قبول شود.
Activity
dazzling-no-more commentedon May 25, 2026
Do you have the same problem in rahgozar?
https://github.com/dazzling-no-more/rahgozar
Shjpr9 commentedon May 25, 2026
Hey @dazzling-no-more
It seems I had to upgrade Code.gs.
Code.gsworks with Chatgpt even though it throws an error:Code.cfw.gs, but the problem still exists:Edit: I upgraded those based on the codes that are provided in the Rahgozar's assets
Also there is another error within the Rahgozar but since the issues were closed, I couldn't open one for it.
When updating the sni pool I get this error:
This error pops up right after you click on "SNI Pool" button
dazzling-no-more commentedon May 25, 2026
@Shjpr9
Thanks for the careful testing and the screenshot — both reports were really useful.
SNI Pool crash: confirmed bug, fixed in v2.9.1.
CFW double-wrap warning: I traced the chain end-to-end (rahgozar → Code.cfw.gs → worker.js → exit_node) and ran a four-way simulation against current
assets/. The result:So the repo source is correct when both halves are upgraded — and the symptom is byte-identical across the three broken-deployment cases, which is why the old error message was misleading. The most common gotcha is that pasting code isn't deploying it:
Deploy → Manage deployments → pencil icon → Version: New version → Deploy. Saving alone keeps the old deployment serving/exec.To pinpoint which half is stale on your setup, hit the Worker directly:
therealaleph commentedon May 25, 2026
Thanks for testing and writing down what changed.
One important compatibility note: if you are using upstream mhrv-rs, use the upstream app and the upstream
assets/apps_script/Code.gsfrom this repository. If you are using rahgozar, use the rahgozar app and rahgozarCode.gs/Code.cfw.gs. Mixing app + Apps Script + Worker assets across the two repos can produce exactly these “double wrapped” or raw JSON symptoms, because the envelope expectations may not match.For the Cloudflare Worker path, both halves have to be redeployed, not just saved:
Deploy -> Manage deployments -> Edit -> Version: New version -> DeploySave and deployThe SNI Pool crash sounds fork-specific, so that one should be tracked in the fork. For this upstream issue, the actionable question is whether upstream mhrv-rs plus upstream
Code.gsstill returns a raw{"s":200,"h":...}envelope after a fresh deployment.Answered via LLM, Supervised @therealaleph
aligh1386 commentedon May 26, 2026
سلام من از ۲ حالت امدم استفاده کنم
حالت اول بدون کلود فلر که کاملا اوکی بود جمنای حتی بالا اوردم باهاش
حالت دوم ترکیب با کلود فلر متاسفانه نمیدونم مشکل چیه دیپلوی منت ها میرن درجا توی بلک لیست ظاهرا یچا خودم اشتباه کردم احتمالا
و در مورد
کلود فلر چه نسخه فورک این یرنامه چه نسخه اصلی mhrv rs
در هر دو صورت یک مشکل دارم اونم اینه که کد هاشون وقتی paste میکنی
وقتی پسورد عوض میکنی یک شرط که برسی میکنه ایا حالت دیفالت و غیر دیفالت با هم برابر هستند ارور میده مجیور میشم اون شرط پاک کنم که تاثیری نداره چون کار میکردن فقط جهت اطلاع گفتم
و در مورد exit not
وقتی که کد در نسخه فورک برنامه گذاشتم ۲ خط ارور داشت دادم به هوش مصنوعی یه نسخه بدون مشکل برام داد از اون استفاده کردم
ولی این ها مشکل نبودن مشکل اصلی اینه امدم از worker.js
نسخه فورک استفاده کنم با code.cfw.gs
دیپلوی منتم در کسری از ثانبه بلک لیست میشه
therealaleph commentedon May 28, 2026
اگر بهجای صفحه، raw JSON یا envelope میبینید، معمولاً یکی از این دو اتفاق افتاده است:
Code.gs/ Worker مربوط به fork دیگر، یا برعکس.برای upstream mhrv-rs، لطفاً این ترکیب را نگه دارید:
اگر از rahgozar استفاده میکنید، app و
Code.gs/Code.cfw.gs/ Worker همان repo را با هم استفاده کنید. ترکیبکردن دو پروژه دقیقاً میتواند raw JSON / double-wrap / unwrap error بدهد.در مورد شرطی که بعد از تغییر password/default مقدار خطا میدهد: آن guard را حذف نکنید. اگر guard خطا میدهد یعنی هنوز یک placeholder یا مقدار ناسازگار در یکی از سمتها مانده است. حذف guard فقط خطای واضح را تبدیل به خطای مبهمتر در runtime میکند.
برای ChatGPT هم جداگانه باید بگویم Deno/Cloudflare/Datacenter exit node ممکن است همچنان با Cloudflare challenge بخورد؛ حتی اگر JSON درست شود، تضمین نمیکند
chatgpt.comاز آن exit IP قبول شود.Answered via LLM, Supervised @therealaleph