Does EI-daemon support proxy?

Iā€™m operating behind an HTTP proxy so the serial daemon fails to access the studio.
Is it possible to set the http proxy?

Edge Impulse serial daemon v1.4.8
Failed to set up serial daemon { Error: getaddrinfo ENOTFOUND
    at errnoException (dns.js:50:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
  code: 'ENOTFOUND',
  errno: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: '',
  host: '',
  port: 443 }

Hi @Raphael, yes, by setting the HTTP_PROXY environmental variable.

E.g. on macOS / Linux:

HTTP_PROXY=http://localhost:8888 edge-impulse-daemon

Or on Windows:

set HTTP_PROXY=http://localhost:8888

Tested this with a local HTTP proxy on macOS for both the uploader and the daemon!

If your proxy is using https instead, change to HTTPS_PROXY. :rocket: