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 πŸ˜‰

Leave a comment