LoginSignup
2
2

More than 5 years have passed since last update.

hubot + http proxy メモ

Last updated at Posted at 2015-03-12

hubot は heroku にデプロイして動かすのがメインのユースケースらしく、社内環境とかの HTTP プロキシ越しに動かすのは茨の道っぽい。
hubot API が提供する HTTP クライアントは node-scoped-http-client というライブラリがベースになっているので、HTTP クライアントを利用するようなプラグインをプロキシ環境で動かしたいときは、プラグイン自体を書き換えて new ScopedClient url, options の options.agent に tunnel-agent のエージェントを渡すように修正する必要がある。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2