Probot: Don't receive any events from Webhook

Created on 3 Mar 2019  路  2Comments  路  Source: probot/probot

Bug Report

Reviving https://github.com/probot/probot/issues/636 as this issue is still happening for me.
Current Behavior

02:01:21.785Z ERROR probot: Not Found
  Error: Not Found
      at Request.callback (...../node_modules/smee-client/node_modules/superagent/lib/node/index.js:706:15)
      at IncomingMessage.parser (...../node_modules/smee-client/node_modules/superagent/lib/node/index.js:916:18)
      at IncomingMessage.emit (events.js:187:15)
      at IncomingMessage.EventEmitter.emit (domain.js:442:20)
      at endReadableNT (_stream_readable.js:1094:12)
      at process._tickCallback (internal/process/next_tick.js:63:19)

when trying to receive context of event from Webhook.

// Your code here

module.exports = app => {
  app.on('issues.opened', async context => {
    const params = context.issue({
      body: 'Hello World!'
    });
    await context.github.issues.createComment(params);
  });
};

Expected behavior/code

Should see that comment appears when new issue was opened.

Environment

Probot version(s): latest
Node/npm version: latest
OS: mojave

Most helpful comment

Hm, it actually does look like it fails when I have a react UI server running in parallel. Should we look into adding more explicit messages for port conflicts?

All 2 comments

Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines and explore other ways you can get involved.

Hm, it actually does look like it fails when I have a react UI server running in parallel. Should we look into adding more explicit messages for port conflicts?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zeke picture zeke  路  4Comments

JasonEtco picture JasonEtco  路  4Comments

Nischay-Pro picture Nischay-Pro  路  5Comments

ericis picture ericis  路  5Comments

Jaskaranbir picture Jaskaranbir  路  3Comments