Hello.
I’m also in the process of setting up the Vidyo plugin, but using a Vidyo Portal (at a hosting service) for which I already have admin privileges and API access.
It seems that Indico correctly connects with the Vidyo Portal, but it fails when it is trying to create the VC room, raising this exception:
"APIException: Invalid Extension - Extension does not start with Tenant Prefix101042"
Note that Prefix101042 is the combination of the plugin configuration parameter "Indico tenant prefix" (10) and the number of the event/conference in which I am creating the vidyo room (1042)
I’m posting the log at the bottom. Any suggestion will be welcome.
Thank you very much in advance.
Cheers.
Indico version installed (2.1.8)
Python version used (2.7.5)
Traceback
---------
Traceback (most recent call last):
File "/opt/indico/.venv/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/indico/.venv/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/web/flask/util.py", line 114, in wrapper
return obj().process()
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/web/rh.py", line 289, in process
res = self._do_process()
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/web/rh.py", line 259, in _do_process
rv = self._process()
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/modules/vc/controllers.py", line 153, in _process
self.plugin.create_room(vc_room, self.event)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico_vc_vidyo/plugin.py", line 193, in create_room
client.add_room(room_obj)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico_vc_vidyo/api/client.py", line 47, in _wrapper
raise APIException(err_msg)
APIException: Invalid Extension - Extension does not start with Tenant Prefix101042
Request Data
------------
{u'data': {u'get': {},
u'headers': {'Accept': u'application/json, text/javascript, */*; q=0.01',
'Accept-Encoding': u'gzip, deflate, br',
'Accept-Language': u'en-US,en;q=0.5',
'Content-Length': u'646',
'Content-Type': u'application/x-www-form-urlencoded; charset=UTF-8',
'Cookie': REMOVEDBYME,
'Host': u'MYHOST',
'Referer': u'MYHOST/event/1042/manage/videoconference/',
'User-Agent': u'Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0',
'X-Csrf-Token': u'REMOVEDBYME',
'X-Requested-With': u'XMLHttpRequest'},
u'json': None,
u'post': {'vc-auto_mute': u'y',
'vc-csrf_token': u'REMOVEDBYME',
'vc-description': u'6mayo4',
'vc-linking': u'event',
'vc-moderation_pin': u'12345',
'vc-name': u'vidyo1',
'vc-owner_user': u'[{"_fossil":"avatar","_type":"Avatar","address":"fsdadasfasd","affiliation":"CIEMAT","email":"REMOVEDBYME@ciemat.es", ... REMOVEDBYME ...}]',
'vc-room_pin': u'123456',
'vc-show': u'y',
'vc-show_autojoin': u'y',
'vc-show_phone_numbers': u'y'},
u'url': {'confId': u'1042', 'service': u'vidyo'}},
u'endpoint': u'vc.manage_vc_rooms_create',
u'id': 'ccREMOVEDBYMEffc',
u'ip': '172.REMOVEDBYME',
u'method': 'POST',
u'referrer': 'MYHOST/event/1042/manage/videoconference/',
u'rh': 'RHVCManageEventCreate',
u'time': '2019-05-06T12:21:21.693445',
u'url': u'MYHOST/event/1042/manage/videoconference/vidyo/create',
u'user': {u'email': u'REMOVEDBYME@ciemat.es',
u'id': 0,
u'name': u'REMOVEDBYME'},
u'user_agent': u'Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0'}