title: Network error: Error: connect ETIMEDOUT 149.154.167.220:443
body: <p>I have this code block  in server.js file:</p>
  
  <pre><code>const Telegram = require('telegram-node-bot')
  
  const tg = new Telegram.Telegram('***********token**************',{
      workers:1
  });
  
  const pingController = require('./controllers/ping')
      ,otherwiseController = require('./controllers/otherwise')
  
  tg.router.when(new Telegram.TextCommand('/ping','pingCommand'), new pingController())
      .otherwise(new otherwiseController());
  </code></pre>
  
  <p>and this code block in ping.js file:</p>
  
  <pre><code>const Telegram = require('telegram-node-bot');
  class pingController extends Telegram.TelegramBaseController{
      pingHandler($){
          $.sendMessage('pong');
      }
  
      get routes() {
          return{
              'pingCommand': 'pingHandler'
          };
      }
  }
  
  module.exports = pingController;
  </code></pre>
  
  <p>and finally this code block in otherwise file:</p>
  
  <pre><code>const Telegram = require('telegram-node-bot');
  class otherwiseController extends Telegram.TelegramBaseController{
      handler($){
          $.sendMessage('Sorry!!!')
  }
  }
  
  module.exports = otherwiseController;
  </code></pre>
  
  <p>when I run node server.js, I just got error like this:
  [error]</p>
  
  <blockquote>
    <p>Network error: Error: connect ETIMEDOUT 149.154.167.220:443
        at Object._errnoException (util.js:1031:13)
        at _exceptionWithHostPort (util.js:1052:20)
        at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1195:14) request TelegramApiRequest {   _method: 'setWebhook',   _params: {
    url: '' },   _multipart: undefined }</p>
  </blockquote>
  
  <p>Also, the telegram is filtered in our country!!!, and I use the Siphon 3 proxy.</p>