Nextcloud version: 15.0.0
Operating system and version (eg, Ubuntu 17.04): CentOs 7
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.6
PHP version (eg, 7.1): 7.2
The issue you are facing: All notifications are getting an HTTP response of 400 - Bad Request from push-notifications.nextcloud.com — Thus chats and video calls are not working appropriately as no notifications are ever received.
Is this the first time you’ve seen this error? (Y/N): Yes, this previously worked and has been failing the last few days. The noticed time was at the upgrade to NC 15.
Steps to replicate it:
- Send a message or attempt to start a video call
The output of your Nextcloud log in Admin > Logging:
GuzzleHttp\Exception\ClientException: Client error: `POST https://push-notifications.nextcloud.com/notifications` resulted in a `400 Bad Request` response:
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php - line 66:
GuzzleHttp\Exception\RequestException::create(GuzzleHttp\Psr7\Request {}, "*** sensiti ... *")
/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php - line 203:
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensiti ... *")
/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php - line 156:
GuzzleHttp\Promise\Promise::callHandler(1, "*** sensiti ... *", [ GuzzleHttp ... l])
/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php - line 47:
GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}("*** sensiti ... *")
/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php - line 246:
GuzzleHttp\Promise\TaskQueue->run(true)
/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php - line 223:
GuzzleHttp\Promise\Promise->invokeWaitFn()
/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php - line 267:
GuzzleHttp\Promise\Promise->waitIfPending()
/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php - line 225:
GuzzleHttp\Promise\Promise->invokeWaitList()
/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php - line 62:
GuzzleHttp\Promise\Promise->waitIfPending()
/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 131:
GuzzleHttp\Promise\Promise->wait()
/var/www/html/nextcloud/lib/private/Http/Client/Client.php - line 231:
GuzzleHttp\Client->request("post", "https://pus ... s", { verify: "/ ... e})
/var/www/html/nextcloud/apps/notifications/lib/Push.php - line 143:
OC\Http\Client\Client->post("https://pus ... s", { form_param ... }})
/var/www/html/nextcloud/apps/notifications/lib/App.php - line 50:
OCA\Notifications\Push->pushToDevice(55, OC\Notification\Notification {})
/var/www/html/nextcloud/lib/private/Notification/Manager.php - line 208:
OCA\Notifications\App->notify(OC\Notification\Notification {})
/var/www/html/nextcloud/apps/spreed/lib/Chat/Notifier.php - line 91:
OC\Notification\Manager->notify(OC\Notification\Notification {})
/var/www/html/nextcloud/apps/spreed/lib/Chat/ChatManager.php - line 125:
OCA\Spreed\Chat\Notifier->notifyMentionedUsers(OCA\Spreed\Room {}, OC\Comments\Comment {})
/var/www/html/nextcloud/apps/spreed/lib/Controller/ChatController.php - line 223:
OCA\Spreed\Chat\ChatManager->sendMessage(OCA\Spreed\Room {}, "users", "bcalde1", "@scalde1 ", DateTime { d ... "})
/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 166:
OCA\Spreed\Controller\ChatController->sendMessage("6yu42uj9", "@scalde1 ", "Brittney Calderwood")
/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Spreed\C ... {}, "sendMessage")
/var/www/html/nextcloud/lib/private/AppFramework/App.php - line 118:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Spreed\C ... {}, "sendMessage")
/var/www/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main("OCA\\Spreed ... r", "sendMessage", OC\AppFramew ... {}, { apiVersion ... "})
<<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({ apiVersion ... "})
/var/www/html/nextcloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew ... {}, { apiVersion ... "})
/var/www/html/nextcloud/ocs/v1.php - line 82:
OC\Route\Router->match("/ocsapp/app ... 9")
/var/www/html/nextcloud/ocs/v2.php - line 24:
require_once("/var/www/ht ... p")
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'ocx10pkwxtqg',
'passwordsalt' => '-omitted-',
'secret' => '-omitted-',
'trusted_domains' =>
array (
0 => '-omitted-',
),
'datadirectory' => '/data/nextcloud/udata/data',
'dbtype' => 'mysql',
'dbname' => '-omitted-',
'dbhost' => '-omitted-',
'dbport' => '',
'mysql.utf8mb4' => true,
'dbuser' => '-omitted-',
'dbpassword' => '-omitted-',
'installed' => true,
'filelocking.enabled' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => '-omitted-',
'mail_domain' => '-omitted-',
'mail_smtpauth' => 1,
'mail_smtphost' => '-omitted-',
'mail_smtpport' => '465',
'mail_smtpname' => '-omitted-',
'mail_smtppassword' => '-omitted-',
'version' => '15.0.0.10',
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
'overwrite.cli.url' => '-omitted-',
'updater.release.channel' => 'beta',
);
Is there by chance an incompatibility of sorts with NC15 and the notification proxy? I’m at a complete loss.
Thanks in advance for any guidance.
Steven