Page MenuHomeDevCentral

GitHub events aren't forwarded to Notifications center
Closed, ResolvedPublic

Description

After 2016-09-04 update, we don't receive correctly GitHub events. We still get events from Phabricator and Docker.

2016-09-04 servers log:

  • [Dwellers/Notifications] 18:35 Dereckson: New container deployed with Docker Hub inbound mails and Docker Hub triggers
  • [Acquisitariat] 18:29 Dereckson: Unlocked credentials for notifications credentials provisionning by zr: UPDATE passphrase_credential SET isLocked = 0 WHERE id = 56;
  • [Dwellers] 18:19 Dereckson: Dropped notifications container
  • [Ysul] 18:18 Dereckson: Updated zr's account Arcanist configuration to use HTTPS and not HTTP for DevCentral
  • [Dwellers] 16:56 Dereckson: Configurations for notifications center: Docker Hub tokens for auth grove and notifications repo

Notifications log

$ shell docker notifications
$ less /var/wwwroot/default/storage/logs

[2016-09-06 01:42:26] production.INFO: [Gate] New payload. {"service":"GitHub","door":"Nasqueron","delivery":"29535680-73d3-11e6-84c1-d86448e8397d","event":"push"} 
[2016-09-06 01:42:26] production.ERROR: exception 'ErrorException' with message 'include(/var/wwwroot/default/app/Analyzers/GitHub/GitHubPayloadAnalyzerConfigu
ration.php): failed to open stream: No such file or directory' in /var/wwwroot/default/vendor/composer/ClassLoader.php:412
Stack trace:
#0 /var/wwwroot/default/vendor/composer/ClassLoader.php(412): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'include(/var/ww...', '/var/wwwr
oot/de...', 412, Array)
#1 /var/wwwroot/default/vendor/composer/ClassLoader.php(412): Composer\Autoload\includeFile()
#2 /var/wwwroot/default/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/var/wwwroot/de...')
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass('Nasqueron\\Notif...')
#4 [internal function]: spl_autoload_call('Nasqueron\\Notif...')
#5 /var/wwwroot/default/app/Analyzers/BasePayloadAnalyzer.php(101): class_exists('Nasqueron\\Notif...')
#6 /var/wwwroot/default/app/Analyzers/BasePayloadAnalyzer.php(113): Nasqueron\Notifications\Analyzers\BasePayloadAnalyzer->getConfigurationClassName()
#7 /var/wwwroot/default/app/Analyzers/BasePayloadAnalyzer.php(53): Nasqueron\Notifications\Analyzers\BasePayloadAnalyzer->loadConfiguration('Nasqueron')
#8 /var/wwwroot/default/app/Analyzers/GitHub/GitHubPayloadAnalyzer.php(45): Nasqueron\Notifications\Analyzers\BasePayloadAnalyzer->__construct('Nasqueron', Obj
ect(stdClass))

Event Timeline

dereckson moved this task from Backlog to Next on the User-Dereckson board.
dereckson updated the task description. (Show Details)
Dwellers/Notifications
$ composer dumpautoload
$ sv restart php-fpm
ok: run: php-fpm: (pid 2249) 0s