Nextcloud Talk - No Push Notification - Neverendingstory?

Nextcloud version 21.0.0
Operating system and version Ubuntu 20.04
Apache or nginx version Apache 2.4.25
PHP version 7.4

The issue you are facing:
Hello,
I installed the latest nextcloud, then the phone app for android. However from the start the push notifications are silent. Browsed the internet, it turns out numerous people have been facing this problem and somehow the nextcloud team seems not to have been interested to solve it for years. So once again, please solve the program issues you are having. Nextcloud is really a fantastic project, especially since all big companies have started recording and selling everything you tell or write. Many people find it unacceptable that the phone is mute when you call somebody! Please please repair it!!!

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Install nextcloud from script
  2. configure users, install android app
  3. Make a call

The output of your Nextcloud log in Admin > Logging:

s	GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://push-notifications.nextcloud.com/notifications

/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php - line 158:

    GuzzleHttp\Handler\CurlFactory::createRejection()

/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php - line 110:

    GuzzleHttp\Handler\CurlFactory::finishError()

/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php - line 47:

    GuzzleHttp\Handler\CurlFactory::finish()

/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php - line 28:

    GuzzleHttp\Handler\CurlHandler->__invoke()

/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php - line 48:

    GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}("*** sensiti ... *")

/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php - line 64:

    GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}("*** sensiti ... *")

/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php - line 31:

    GuzzleHttp\PrepareBodyMiddleware->__invoke()

/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php - line 71:

    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensiti ... *")

/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php - line 63:

    GuzzleHttp\RedirectMiddleware->__invoke()

/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php - line 75:

    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensiti ... *")

/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 331:

    GuzzleHttp\HandlerStack->__invoke()

/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 168:

    GuzzleHttp\Client->transfer()

/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 187:

    GuzzleHttp\Client->requestAsync()

/nextcloud/lib/private/Http/Client/Client.php - line 307:

    GuzzleHttp\Client->request()

/nextcloud/apps/notifications/lib/Push.php - line 286:

    OC\Http\Client\Client->post()

/nextcloud/apps/notifications/lib/Push.php - line 121:

    OCA\Notifications\Push->sendNotificationsToProxies()

/nextcloud/apps/notifications/lib/App.php - line 95:

    OCA\Notifications\Push->flushPayloads()

/nextcloud/lib/private/Notification/Manager.php - line 238:

    OCA\Notifications\App->flush()

/nextcloud/apps/spreed/lib/Chat/ChatManager.php - line 244:

    OC\Notification\Manager->flush()

/nextcloud/apps/spreed/lib/Controller/ChatController.php - line 254:

    OCA\Talk\Chat\ChatManager->sendMessage()

/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 218:

    OCA\Talk\Controller\ChatController->sendMessage()

/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 127:

    OC\AppFramework\Http\Dispatcher->executeController()

/nextcloud/lib/private/AppFramework/App.php - line 157:

    OC\AppFramework\Http\Dispatcher->dispatch()

/nextcloud/lib/private/Route/Router.php - line 302:

    OC\AppFramework\App::main()

/nextcloud/ocs/v1.php - line 63:

    OC\Route\Router->match()

/nextcloud/ocs/v2.php - line 24:

    require_once("/nextcloud/ocs/v1.php")

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

unimportant

The output of your Apache/nginx/system log in /var/log/____:

unimportant

Furthermore, I managed to force the phones to ring when an incoming call arrives: as adviced in one of the forum, you have to send a text message prior to ringing. So the procedure is:

  1. Open phone app “nextcloud talk”
  2. pick a user and sent him any text message
  3. count to 3 and start calling him
    Then, all of the sudden, his phone starts ringing.
    This is the second day of my testing, yesterday when I initially sent him the first text message, the push notifications were working ok througout the day (also in different networks). Today morning it did not work anymore and this error occured once again. Once again we repeated the “text first” procedure and it started working again.
    PLEASE CORRECT THE ERRORS!!!
    Regards
2 Likes

I have similar problems. Sometimes the phone starts to ring, other times it doesn’t. There will be a notification at the top of the screen, but you will not get a call screen with the option to answer the call. Sending a text message in advance makes no difference to me.