zapier-platform icon indicating copy to clipboard operation
zapier-platform copied to clipboard

Enable Proxy Support for CLI

Open doara-developer opened this issue 4 years ago • 9 comments

This issue has been copied into our private issue tracker (as PDE-2631). Thanks for the report! We'll update this as we learn more.

doara-developer avatar Aug 02 '21 02:08 doara-developer

hi @doara-developer, I am honestly not sure! I don't have any experience dealing with proxies. Do tools like curl work normally from your command line? Do they need any special setup? Afaik Zapier doesn't do anything special with regards to proxies, but I'm not sure what steps you'd need to take.

xavdid avatar Aug 10 '21 21:08 xavdid

Thanks for reply.

OK. I confirmed source code and found to use node-fetch library for zapier-cli.
node-fetch doesn't support proxy natively, and need to use proxy-agent.

So, we should change this issue label to feature-request. Can you change it? I don't have permission for change.

doara-developer avatar Aug 11 '21 00:08 doara-developer

Got it! I've updated this issue's title and tags.

Off the top of my head, we'd probably add a line in a local config file to put the proxy address (a string, right?) and then use that in an example like this?

If that sounds right, we can add support for that.

Are you unable to use the Zapier CLI until we ship that?

xavdid avatar Aug 11 '21 23:08 xavdid

Off the top of my head, we'd probably add a line in a local config file to put the proxy address (a string, right?) and then use that in an example like this?

Yes. It will work by implementing like your example.

Are you unable to use the Zapier CLI until we ship that?

I can use it by connecting without proxy. But, it's inconvenient for me. I would appreciate it if you implement as soon as possible.

doara-developer avatar Aug 12 '21 05:08 doara-developer

This issue has been copied into our private issue tracker (as PDE-2632). Thanks for the report! We'll update this as we learn more.

zapzap avatar Aug 12 '21 23:08 zapzap

Got it! It looks easy enough, we can probably get it out in our next release.

xavdid avatar Aug 12 '21 23:08 xavdid

Thank you. I'm waiting for your update.

doara-developer avatar Aug 13 '21 06:08 doara-developer

Hi there @doara-developer , unfortunately implementing this was more complex than we anticipated and thus was delayed indefinitely. I'm circling back on this -- are you still interested in this capability?

kreddlear avatar Apr 26 '23 20:04 kreddlear

Yes, I still interested in this feature. I'd like to manage Zapier App in git and update by CI behind a proxy server.

Of course, I have some options without this feature.(e.g. change network setting) However, it would be very helpful if this was implemented.

doara-developer avatar Apr 30 '23 15:04 doara-developer