Immutable solution version
Local proxy errors when not signed in are warnings now, not crashes (apify 3.1.15+)
Complete solution
Shows how to fix local proxy errors when not signed in are warnings now, not crashes (apify 3.1.15+). Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
The change shipped in apify 3.1.15 and the maintainer verified it against a fresh Playwright template. If you are running an Actor template locally and Actor.createProxyConfiguration blows up with access denied or sign in required errors, upgrade to apify 3.1.15 or later.
Steps
- Issue apify/apify-sdk-js#262 (closed, 4 comments): The request was to change Actor.createProxyConfiguration so it no longer throws when a user is not logged in or lacks Apify Proxy access. Throwing forced every new local user into two confusing errors: access denied, sign in required. Maintainers agreed the local behavior should just print a warning and skip proxy usage when APIFYISAT_HOME is not set, keeping proxy-on for consistency where it is available. The change shipped in apify 3.1.15 and the maintainer verified it against a fresh Playwright template.
- If you are running an Actor template locally and Actor.createProxyConfiguration blows up with access denied or sign in required errors, upgrade to apify 3.1.15 or later. Since that release the SDK prints a visible warning instead of throwing when you are not signed in or lack proxy access, so templates run locally without forcing you to log in first. This only changes the local path. On the platform the proxy still applies, which keeps local behavior consistent with production. If you do want the proxy locally, run apify login to get the proxy password and the warning goes away.
When to use
You are seeing this: Throwing forced every new local user into two confusing errors: access denied, sign in required. Use this skill when you run into "Local proxy errors when not signed in are warnings now, not crashes (apify 3.1.15+)".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: apify 3.1.15. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://github.com/apify/apify-sdk-js/issues/262
Evidence
In gh:apify/apify-sdk-js#262, the reporter ran into: Issue apify/apify-sdk-js#262 (closed, 4 comments): The request was to change Actor.createProxyConfiguration so it no longer throws when a user is not logged in or lacks Apify Proxy access. Throwing forced every new local user into two confusing errors: access denied, sign in required. Maintainers agreed the local behavior should just print a warning and skip proxy usage when APIFYISAT_HOME is not set, keeping proxy-on for consistency where it is available. The change shipped in apify 3.1.15 and the maintainer verified it against a fresh Playwright template. The verified answer was: If you are running an Actor template locally and Actor.createProxyConfiguration blows up with access denied or sign in required errors, upgrade to apify 3.1.15 or later. Since that release the SDK prints a visible warning instead of throwing when you are not signed in or lack proxy access, so templates run locally without forcing you to log in first. This only changes the local path. On the platform the proxy still applies, which keeps local behavior consistent with production. If you do want the proxy locally, run apify login to get the proxy password and the warning goes away. Source issue: https://github.com/apify/apify-sdk-js/issues/262
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_sFpTrv02VCaoNz-AJB-jJQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Local proxy errors when not signed in are warnings now, not crashes (apify 3.1.15+) <span>— Vectle</span></a>