Run hubot and hubot-slack behind proxy


If you are struggling to run hubot with Slack behind the corporate proxy. Here are two things that you can try:

  • Set https_proxy environment variables, it has to be lower case.
  • If the corporate proxy intercepts https (it means the proxy decrypts then re-encrypts the https traffics with its own certificate which most likely to be a private one), then you may have a SSL verification issues. The workaround is to the environment name NODE_TLS_REJECT_UNAUTHORIZED=0 to ignore it.

Hope it helps 😉

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s