Signaling server error

Hi all,

I try to install signaling for nextccloud talk.

I followed this tutorial:

Into my nextcloud talk administrator setting, the signaling server is reachable, and it’s reachable as well turn/stun servers but I have this error when I try to enter into the room (Conversations):

[spreed] Errore: GuzzleHttp\Exception\ClientException: Client error: POST http://129.152.27.212:8080/api/v1/room/jypxrur2 resulted in a 400 Bad Request response:
Unsupported request type:

at <>

  1. /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 69
    GuzzleHttp\Exception\RequestException::create(“*** sensitive parameters replaced ***”)
  2. /config/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 204
    GuzzleHttp\Middleware::GuzzleHttp{closure}(“*** sensitive parameters replaced ***”)
  3. /config/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 153
    GuzzleHttp\Promise\Promise::callHandler()
  4. /config/www/nextcloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php line 48
    GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}(“*** sensitive parameters replaced ***”)
  5. /config/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 248
    GuzzleHttp\Promise\TaskQueue->run()
  6. /config/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 224
    GuzzleHttp\Promise\Promise->invokeWaitFn()
  7. /config/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 269
    GuzzleHttp\Promise\Promise->waitIfPending()
  8. /config/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 226
    GuzzleHttp\Promise\Promise->invokeWaitList()
  9. /config/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 62
    GuzzleHttp\Promise\Promise->waitIfPending()
  10. /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 187
    GuzzleHttp\Promise\Promise->wait()
  11. /config/www/nextcloud/lib/private/Http/Client/Client.php line 297
    GuzzleHttp\Client->request()
  12. /config/www/nextcloud/apps/spreed/lib/Signaling/BackendNotifier.php line 85
    OC\Http\Client\Client->post()
  13. /config/www/nextcloud/apps/spreed/lib/Signaling/BackendNotifier.php line 146
    OCA\Talk\Signaling\BackendNotifier->doRequest()
  14. /config/www/nextcloud/apps/spreed/lib/Signaling/BackendNotifier.php line 227
    OCA\Talk\Signaling\BackendNotifier->backendRequest()
  15. /config/www/nextcloud/apps/spreed/lib/Signaling/Listener.php line 263
    OCA\Talk\Signaling\BackendNotifier->roomSessionsRemoved()
  16. /config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 251
    OCA\Talk\Signaling\Listener::notifyAfterRoomDisconected()
  17. /config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 73
    Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
  18. /config/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php line 94
    Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
  19. /config/www/nextcloud/apps/spreed/lib/Service/ParticipantService.php line 786
    OC\EventDispatcher\EventDispatcher->dispatch()
  20. /config/www/nextcloud/apps/spreed/lib/Controller/RoomController.php line 1186
    OCA\Talk\Service\ParticipantService->leaveRoomAsSession()
  21. /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 230
    OCA\Talk\Controller\RoomController->joinRoom()
  22. /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 137
    OC\AppFramework\Http\Dispatcher->executeController()
  23. /config/www/nextcloud/lib/private/AppFramework/App.php line 183
    OC\AppFramework\Http\Dispatcher->dispatch()
  24. /config/www/nextcloud/lib/private/Route/Router.php line 315
    OC\AppFramework\App::main()
  25. /config/www/nextcloud/ocs/v1.php line 64
    OC\Route\Router->match()
  26. /config/www/nextcloud/ocs/v2.php line 23
    require_once(“/config/www/nextcloud/ocs/v1.php”)

POST /ocs/v2.php/apps/spreed/api/v4/room/jypxrur2/participants/active
from 192.168.254.60 by admin at 2023-08-07T11:44:24+00:00

Someone could help me to understand which could be the problem?

Thank you

I have not configured the nginx server, and I try to use the signaling server directly without certificate, configuring the listen address with 0.0.0.0/0.
Can it works without NGINX?

If I test it with curl I have these replies:

1-

curl -i http://129.152.27.212:8080/api/v1/welcome
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Server: nextcloud-spreed-signaling/e70398289005111a81621dd57fc0ebd70935fa24
X-Spreed-Signaling-Features: audio-video-permissions, hello-v2, incall-all, mcu, simulcast, switchto, transient-data, update-sdp, welcome
Date: Mon, 07 Aug 2023 13:41:16 GMT
Content-Length: 94

2-

curl -i http://129.152.27.212:8080/api/v1/room/jypxrur2
HTTP/1.1 405 Method Not Allowed
Date: Mon, 07 Aug 2023 13:41:28 GMT
Content-Length: 0

Thank you

Reinstalled on another ubuntu server, with and without the webserver in front, same behaviour. Rooms respond “405 method not allowed”

Any ideas?
Thanks in advance

curl -i http://192.168.254.30:8080/api/v1/welcome

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Server: nextcloud-spreed-signaling/e427d0daa6640021e31b6b253e065c7240fb3613
X-Spreed-Signaling-Features: audio-video-permissions, hello-v2, incall-all, mcu, simulcast, switchto, transient-data, update-sdp, welcome
Date: Tue, 08 Aug 2023 10:16:55 GMT
Content-Length: 94

curl -i http://192.168.254.30:8080/api/v1/room/5neu8u6e
HTTP/1.1 405 Method Not Allowed
Date: Tue, 08 Aug 2023 10:17:30 GMT
Content-Length: 0