CA
other-emerald
Proxy access with C# and custom docker image leads to 403 error on free plan
Hi,
I'm currently on the free plan and wanted to create a custom actor using C# within a Docker image. Everything works as expected unless I try to use the 5 available proxies. No matter what I do, I keep getting the following error:
One or more errors occurred. (The proxy tunnel request to proxy 'http://proxy.apify.com:8000/' failed with status code '403'.")
Credentials are properly set. Without valid credentials I'd get a 407 error. I'm using the normal HttpClient from the .NET Framework.
Any ideas why it doesn't work?
What does "Access from external HTTP clients (outside of Actors) is not enabled." mean in detail? Couldn't find more information in the documentation.
Thanks,
Sven
5 Replies
it means that free plan proxies can be used only when running on apify platform
other-emeraldOP•3y ago
@HonzaS Running a container on apify is therefore not considered "on the platform"?
I think it should be considered as on the platform. I am just explaning that message meaning.
But maybe custom container is somehow not recognized. Somebody from apify staff will give you more details.
But maybe custom container is somehow not recognized. Somebody from apify staff will give you more details.
if you running SDK-based solution (crawlee) in Apify cloud, SDK will detect Apify cloud and manage proxy configuration to make it work. If you running any code without SDK and referencing proxy by direct URL then as I understand you restricted from using proxy if its free plan
wise-white•3y ago
Actually, it should work even without the SDK in any language. the proxy just checks that it is from the Apify servers