Nextcloud talk server 19.00 ubuntu 18.04 cloud.example.net
HPB signaling server (Nats, Janus, Signaling, apache2) ubunut 20.04 signal.example.net
Turnserver (Coturn) ubuntu 18.04 turnserver.example.net
I downloaded Nats-io from here:
Nats
unzipped it, copied nats-server to /usr/bin.
I start it manual in terminal window > nats-server -c /etc/signaling/gnats.conf (as regular user)
Nats-io has never logged anything, however signaling server finds it.
I installed janus
sudo apt-get janus
I installed signaling server supplied by @morph027 (thanks for that)
Everything seems right except it doesn’t create a conversation.
Error while creating conversation.
How to troubleshoot?
I am not that familiar with Janus or Signaling, so not really sure what success looks like. The signaling server seems to find the nats-server and janus videoroom, websockets seem like them are accessible to signaling server. I am not getting complaints about the SSL certs.
There is an exception at the top of the nextcloud log, complaining about expecting a string.
Not really sure how to troubleshoot from here. Any suggestions would be appreciated.
thanks
@Stevebrudi
Janus log here:
Janus Log
Syslog here : (Janus and signaling)
Syslog
signaling server config here:
Signaling Config
janus config here:
Janus config
NextCloud log here: (i could not get it to display as a text file)
{“reqId”:“vg7bCfGjGXyE1HqKUOrx”,“level”:3,“time”:“2020-07-08T14:38:22+00:00”,“remoteAddr”:“192.168.26.119”,“user”:“Steve”,“app”:“no app in context",“method”:“POST”,“url”:"/ocs/v2.php/apps/spreed/api/v2/room",“message”:{“Exception”:“Exception”,“Message”:“strtolower() expects parameter 1 to be string, null given”,“Code”:0,“Trace”:[{“file”:"/var/www/cixcloud/lib/private/AppFramework/App.php”,“line”:137,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Talk\Controller\RoomController”},“createRoom”]},{“file”:"/var/www/cixcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",“line”:47,“funcNextCloud Log here:tion”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OCA\Talk\Controller\RoomController”,“createRoom”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{“apiVersion”:“v2”,"_route":“ocs.spreed.Room.createRoom”}]},{“function”:"__invoke",“class”:“OC\AppFramework\Routing\RouteActionHandler”,“type”:"->",“args”:[{“apiVersion”:“v2”,"_route":“ocs.spreed.Room.createRoom”}]},{“file”:"/var/www/cixcloud/lib/private/Route/Router.php",“line”:297,“function”:“call_user_func”,“args”:[{“class”:“OC\AppFramework\Routing\RouteActionHandler”},{“apiVersion”:“v2”,"_route":“ocs.spreed.Room.createRoom”}]},{“file”:"/var/www/cixcloud/ocs/v1.php",“line”:82,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/ocsapp/apps/spreed/api/v2/room"]},{“file”:"/var/www/cixcloud/ocs/v2.php",“line”:24,“args”:["/var/www/cixcloud/ocs/v1.php"],“function”:“reqNextCloud Log here:uire_once”}],“File”:"/var/www/cixcloud/lib/private/AppFramework/Http/Dispatcher.php",“Line”:110,“Previous”:{“Exception”:“TypeError”,“Message”:“strtolower() NextCloud Log here:expects parameter 1 to be string, null given”,“Code”:0,“Trace”:[{“file”:"/var/www/cixcloud/lib/private/Http/Client/Client.php",“line”:162,“function”:“strtolower”,“args”:[null]},{“file”:"/var/www/cixcloud/lib/private/Http/Client/Client.php",“line”:293,“function”:“preventLocalAddress”,“class”:“OC\Http\Client\Client”,“type”:"->",“args”:[“pbx.brudi.net/api/v1/room/jtkuzgja",{“headers”:{“Content-Type”:“application/json”,“Spreed-Signaling-Random”:“rll1r/sr2uTB0lVCsz3WIRRTBR/xApTWC7euHi+OihOVeEGj7VfA7ECDqgQ+KaQM”,“Spreed-Signaling-Checksum”:“749593c19e8253648044bfc6a61a78c14db850597278d3d2168218e37eaa9924”},“body”:"{“type”:“message”,“message”:{“data”:{“type”:“chat”,“chat”:{“refresh”:true}}}}”}]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Signaling/BackendNotifier.php",“line”:75,“function”:“post”,“class”:“OC\Http\Client\Client”,“type”:"->",“args”:[“pbx.brudi.net/api/v1/room/jtkuzgja",{“headers”:{“Content-Type”:“application/json”,“Spreed-Signaling-Random”:“rll1r/sr2uTB0lVCsz3WIRRTBR/xApTWC7euHi+OihOVeEGj7VfA7ECDqgQ+KaQM”,“Spreed-Signaling-Checksum”:“749593c19e8253648044bfc6a61a78c14db850597278d3d2168218e37eaa9924”},“body”:"{“type”:“message”,“message”:{“data”:{“type”:“chat”,“chat”:{“refresh”:true}}}}”}]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Signaling/BackendNotifier.php",“line”:124,“function”:“doRequest”,“class”:“OCA\Talk\Signaling\BackendNotifier”,“type”:"->",“args”:[“pbx.brudi.net/api/v1/room/jtkuzgja",{“headers”:{“Content-Type”:“application/json”,“Spreed-Signaling-Random”:“rll1r/sr2uTB0lVCsz3WIRRTBR/xApTWC7euHi+OihOVeEGj7VfA7ECDqgQ+KaQM”,“Spreed-Signaling-Checksum”:“749593c19e8253648044bfc6a61a78c14db850597278d3d2168218e37eaa9924”},“body”:"{“type”:“message”,“message”:{“data”:{“type”:“chat”,“chat”:{“refresh”:true}}}}”}]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Signaling/BackendNotifier.php",“line”:328,“function”:“backendRequest”,“class”:“OCA\Talk\Signaling\BackendNotifier”,“type”:"->",“args”:[{“class”:“OCA\Talk\Room”},{“type”:“message”,“message”:{“data”:{“type”:“chat”,“chat”:{“refresh”:true}}}}]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Signaling/Listener.php",“line”:264,“function”:“sendRoomMessage”,“class”:“OCA\Talk\Signaling\BackendNotifier”,“type”:"->",“args”:[{“class”:“OCA\Talk\Room”},{“type”:“chat”,“chat”:{“refresh”:true}}]},{“file”:"/var/www/cixcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",“line”:251,“function”:“OCA\Talk\Signaling\{closure}”,“class”:“OCA\Talk\Signaling\Listener”,“type”:"::",“args”:["*** sensitive parameters replaced "]},{“file”:"/var/www/cixcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",“line”:73,“function”:“callListeners”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:"->",“args”:[[{“class”:“Closure”},{“class”:“Closure”}]," sensitive parameter replaced "," sensitive parameter replaced "]},{“file”:"/var/www/cixclhttps://gitlab.com/packaging/nextcloud-spreed-signalingoud/lib/private/EventDispatcher/EventDispatcher.php",“line”:86,“function”:“dispatch”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:"->",“args”:[" sensitive parameter replaced "," sensitive parameter replaced "]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Chat/ChatManager.php",“line”:104,“function”:“dispatch”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:"->",“args”:[" sensitive parameter replaced "," sensitive parameter replaced "]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Chat/SystemMessage/Listener.php",“line”:272,“function”:“addSystemMessage”,“class”:“OCA\Talk\Chat\ChatManager”,“type”:"->",“args”:[{“class”:“OCA\Talk\Room”},“users”,“Steve”,"{“message”:“conversation_created”,“parameters”:[]}",{“date”:“2020-07-08 14:38:22.288970”,“timezone_type”:3,“timezone”:“UTC”,“class”:“DateTime”},false]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Chat/SystemMessage/Listener.php",“line”:98,“function”:“sendSystemMessage”,“class”:“OCA\Talk\Chat\SystemMessage\Listener”,“type”:"->",“args”:[{“class”:“OCA\Talk\Room”},“conversation_created”]},{“file”:"/var/www/cixcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",“line”:251,“function”:“OCA\Talk\Chat\SystemMessage\{closure}”,“class”:“OCA\Talk\Chat\SystemMessage\Listener”,“type”:"::",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/cixcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",“line”:73,“function”:“callListeners”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:"->",“args”:[[{“class”:“Closure”}]," sensitive parameter replaced "," sensitive parameter replaced "]},{“file”:"/var/www/cixcloud/lib/private/EventDispatcher/EventDispatcher.php",“line”:86,“function”:“dispatch”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:"->",“args”:[" sensitive parameter replaced "," sensitive parameter replaced "]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Manager.php",“line”:683,“function”:“dispatch”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:"->",“args”:[" sensitive parameter replaced "," sensitive parameter replaced ***"]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Manager.php",“line”:604,“function”:“createRoom”,“class”:“OCA\Talk\Manager”,“type”:"->",“args”:[2,“fgff”,"",""]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Controller/RoomController.php",“line”:749,“function”:“createGroupRoom”,“class”:“OCA\Talk\Manager”,“type”:"->",“args”:[“fgff”]},{“file”:"/var/www/cixcloud/apps/spreed/lib/Controller/RoomController.php",“line”:566,“function”:“createEmptyRoom”,“class”:“OCA\Talk\Controller\RoomController”,“type”:"->",“args”:[“fgff”,false]},{“file”:"/var/www/cixcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:170,“function”:“createRoom”,“class”:“OCA\Talk\Controller\RoomController”,“type”:"->",“args”:[2,"",“fgff”,""]},{“file”:"/var/www/cixcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:100,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Talk\Controller\RoomController”},“createRoom”]},{“file”:"/var/www/cixcloud/lib/private/AppFramework/App.php",“line”:137,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Talk\Controller\RoomController”},“createRoom”]},{“file”:"/var/www/cixcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",“line”:47,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OCA\Talk\Controller\RoomController”,“createRoom”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{“apiVersion”:“v2”,"_route":“ocs.spreed.Room.createRoom”}]},{“function”:"__invoke",“class”:“OC\AppFramework\Routing\RouteActionHandler”,“type”:"->",“args”:[{“apiVersion”:“v2”,"_route":“ocs.spreed.Room.createRoom”}]},{“file”:"/var/www/cixcloud/lib/private/Route/Router.php",“line”:297,“function”:“call_user_func”,“args”:[{“class”:“OC\AppFramework\Routing\RouteActionHandler”},{“apiVersion”:“v2”,"_route":“ocs.spreed.Room.createRoom”}]},{“file”:"/var/www/cixcloud/ocs/v1.php",“line”:82,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/ocsapp/apps/spreed/api/v2/room"]},{“file”:"/var/www/cixcloud/ocs/v2.php",“line”:24,“args”:["/var/www/cixcloud/ocs/v1.php"],“function”:“require_once”}],“File”:"/var/www/cixcloud/lib/private/Http/Client/Client.php",“Line”:162},“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0”,“version”:“19.0.0.12”}