Hello there, a little bit of backend digging for today
I am often getting this kind of errors:
Traceback (most recent call last):
line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
line 75, in join_session
sess = am.getSession(afcsSession.key)
line 375, in getSession
sess = session(self.__roomInstance, self.url.split("/")[-1], room)
line 205, in __init__
self.__instance = instance.replace('#room#', room)
AttributeError: 'NoneType' object has no attribute 'replace'
instance happens to be null
> implying self.__roomInstance is null at line 375 is null.
> implying __initialize called in init or login does not set self.__roomInstance right:
if response.tagName == 'meeting-info':
if len(response.getElementsByTagName("room")) > 0:
self.__roomInstance = response.getElementsByTagName("room").attributes['instance'].value
So it seems like no room tag was present or response.tagName was not 'meeting-info', too bad i do not log the raw response. I am not always able to reproduce this error.
Wondering if it could have anything to do with being 'thread safe' in Python.
In anycase if i get more of those i will start logging xml response.
If you have any ideas or startegies to share to catch this one, that would be great.
Great ! it's all good now.
Out of curiosity how did you fixed it on your side ?
server creating the token and getSession were force to be the same for a given request ?