Huginn: How to run Huginn behind a proxy

Created on 14 Jun 2018  路  3Comments  路  Source: huginn/huginn

I could configure my local server with Ubuntu 16.04 to run behind a system-wide proxy. In other words, if I run "curl ipinfo.io/ip", it returns my proxy server's public IP, not my public IP from my ISP.

But, when I run a Website Agent from Huginn, it could somehow bypass my system-wide proxy. I could confirm this by using a Website Agent to fetch, for example, "http://ipinfo.io/ip".

Any way that I can run Huginn behind a proxy?

Most helpful comment

Setting the HTTP_PROXY variable in your .env file should enforce all connection are going through that proxy.

All 3 comments

Setting the HTTP_PROXY variable in your .env file should enforce all connection are going through that proxy.

Many thanks! This works!

Add http_proxy instead of HTTP_PROXY. The HTTP_PROXY seems to be ignored by typhoeus which is the default FARADAY_HTTP_BACKEND in huginn.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheChrisK picture TheChrisK  路  4Comments

Fishwaldo picture Fishwaldo  路  4Comments

hillerliao picture hillerliao  路  3Comments

0xdevalias picture 0xdevalias  路  9Comments

vijayrajah picture vijayrajah  路  5Comments