Which Proxies Are Used for Obtaining Static IP in Pipedream?

This topic was automatically generated from Slack. You can find the original thread here.

What proxies are people using to get a static IP when using pipedream?

If you’re on an Advanced plan we can set up an HTTP proxy for you. But otherwise you can set up your own and use workflow Node.js code to use it:

https://pipedream.com/docs/code/nodejs/http-requests/#ip-addresses-for-http-requests-made-from-pipedream-workflows

oh we are on teams. Are you able to help us get this set up?

that would be sweet

Yes, could you email as at support@pipedream.com with your organization name?

We can get you set up with the proxy details and also invite you to a private Slack channel for support.

will do

Posted thread to Discourse: What Proxies Do People Use for Static IP in Pipedream?

Hey , we were able to get the proxy that was made for us up and running but for some reason when we try to use it inside of pipedream we are getting an error saying it doesn’t support https, only http. But if I try it on my local machine to test it I can access through the proxy via https.

The applications we are trying to access require https.

Any ideas why this might be happening?

Error:
HTTPSConnectionPool(host=‘<http://login-api-test.idicore.com|<>host>’, port=443): Max retries exceeded with url: /apiclient (Caused by ProxyError(‘Your proxy appears to only use HTTP and not HTTPS, try changing your proxy URL to be HTTP. See: Advanced Usage - urllib3 1.26.15 documentation’, SSLError(SSLError(1, ‘[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)’))))

Hi Tom, that is strange.

Since you’re on a plan that qualifies for the HTTP proxy, they so also qualify for private Slack support. Has that been set up for your organization yet?

We do not have that setup yet

Could you DM me your organization name in Pipedream? I can send invites to all of your team members from there.

Hey , just following up on the problem itself. It looks like an error such as the one I ran into can be caused by a bug in the version of the urllib3 library. Here is a stackoverflow: debugging - SSL: WRONG_VERSION_NUMBER ON PYTHON REQUEST - Stack Overflow

So not an issue with the proxy itself (since it clearly works on my local machine) but the version of urllib3 can cause TLS mismatched versions.

Am I able to upgrade the version of an individual library in my workspace or is that not how pipedream handles libraries?

Nice find ! I didn’t think that the underlying HTTP client could be the issue.

Yes you can pin PyPi packages to a specific version.

how can I pin a Python PyPi package to a specific version within a Python code step?

Currently, Pipedream does not support pinning a specific version of a PyPi package within a Python code step. Pipedream automatically installs the latest version of the package when you import it in your code. If you need further assistance or have any questions, please visit https://pipedream.com/support.

Ok so where do we go from here lol

So Mario’s not aware of this since we haven’t documented it.

But you may be able to pin a specific version using a magic comment:

# pipedream add-package requests=1.0.0
import requests

Please give that a try and let us know if that works for you!

Thanks, I will give this a shot

I use my proxies to get a static IP when working with Pipedream. They are more reliable and easier to manage than the shared ones. My static IP is essential because it keeps things running smoothly and stops me from getting blocked when automating stuff.

I found a place where I can buy proxy for about $1.4 each, and it’s been perfect for me. It’s not too expensive, and it’s been stable, which means less trouble and better control over what I do in Pipedream.

Static private IP addresses for your workflows are now available within the product itself:

You can attach workflows to run in a dedicated VPC in your Pipedream account, without configuring a proxy. This will also apply your static IP address to pre-built actions, without tweaking any code.