Environment
- mhrv-rs version:
v1.9.17
- OS: Windows 10
- ISP: ADSL (Mokhaberat Iran)
Problem Description
The relay works normally for some time after a fresh deployment, but after consuming approximately 30–40% of the daily UrlFetchApp quota, it starts failing consistently with 502/504 errors. This happens in both apps_script mode and full mode (ngrok tunnel).
apps_script mode behavior:
- Initially passes end-to-end test (200 OK).
- After moderate usage, every relay request returns:
HTTP/1.1 502 Bad Gateway
Relay error: timeout
- Even simple HTTP POSTs to Telegram’s API (
149.154.*.*) fail with the same timeout error.
full mode (ngrok) behavior:
- Tunnel establishes correctly, but soon every batch operation times out:
WARN batch failed (script …): timeout
ERROR tunnel connect_data error … : timeout
- The script is rapidly blacklisted after 3 timeouts in 30 seconds, making the tunnel unusable.
Suspected Cause
The daily quota on my account appears to be around 10,000 requests (half of the documented 20,000), which means I hit the limit much earlier than expected. This explains why the relay works initially but dies after moderate usage.
Impact
This makes the relay unreliable for any real work. I have to rebuild the relay frequently just to get a few hours of usable connectivity.
Request
Is there a known issue with lower quota for certain Google accounts (e.g., accounts created from Iran)? Could this be a regional restriction? Any workaround to increase the effective quota (beyond multiple script_ids) would be appreciated.
Environment
v1.9.17Problem Description
The relay works normally for some time after a fresh deployment, but after consuming approximately 30–40% of the daily UrlFetchApp quota, it starts failing consistently with 502/504 errors. This happens in both
apps_scriptmode andfullmode (ngrok tunnel).apps_script mode behavior:
149.154.*.*) fail with the same timeout error.full mode (ngrok) behavior:
Suspected Cause
The daily quota on my account appears to be around 10,000 requests (half of the documented 20,000), which means I hit the limit much earlier than expected. This explains why the relay works initially but dies after moderate usage.
Impact
This makes the relay unreliable for any real work. I have to rebuild the relay frequently just to get a few hours of usable connectivity.
Request
Is there a known issue with lower quota for certain Google accounts (e.g., accounts created from Iran)? Could this be a regional restriction? Any workaround to increase the effective quota (beyond multiple
script_ids) would be appreciated.