Room server join error: Failed to join the room: Status=500
Hi,
I have deployed apprtc to google cloud. I tried to do some test locally but it did not work because chrome requires only https for camera sharing
I think there may be a configuration problem with the deployment.
I can join a room from a browser(it does not seem I get any error) but when I use another browser to connect to the same room I get this error:
POST https://myapp.appspot.com/join/378952 500 (anonymous) @ util.js:68 sendUrlRequest @ util.js:46 sendAsyncUrlRequest @ util.js:39 (anonymous) @ call.js:460 Call.joinRoom_ @ call.js:453 Call.connectToRoom_ @ call.js:248 Call.start @ call.js:58 AppController.finishCallSetup_ @ appcontroller.js:209 (anonymous) @ appcontroller.js:124 util.js:212 1.876: Room server join error: Failed to join the room: Status=500, response=
Error: Server Error
The server encountered an error and could not complete your request.
Please try again in 30 seconds.
util.js:212 1.877: WebSocket register error: Failed to join the room: Status=500, response=Error: Server Error
The server encountered an error and could not complete your request.
Please try again in 30 seconds.
util.js:212 2.097: Signaling channel opened.collidermain and are run on my local server.
What should I do?
Thanks - the last week was hell so any help would be really great
It seems that this is connected to bigquery This is shown on the Google cloud error log <HttpError 404 when requesting https://bigquery.googleapis.com/bigquery/v2/projects/myapp/datasets/prod/tables/analytics/insertAll?alt=json returned "Not found: Dataset myapp:prod"> Traceback (most recent call last): File "/base/alloc/tmpfs/dynamic_runtimes/python27g/3f4b27f16594164f/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1511, in call
can this be retaled to analytics -this was in the trace: File "/base/data/home/apps/s~myapp/5.438724152784724699/analytics.py", line 126, in report_event analytics.report_event(*args, **kwargs) File "/base/data/home/apps/s~myapp/5.438724152784724699/analytics.py", line 101, in report_event body=obj).execute()
I just removed
analytics.report_event(*args, **kwargs)
and
response = self.bigquery.tabledata().insertAll( projectId=app_identity.get_application_id(), datasetId=self.bigquery_dataset, tableId=self.bigquery_table, body=obj).execute()
from analytics.py and it now seems to work for browsers