twilio / rtc-diagnostics-react-app

Apache License 2.0
20 stars 10 forks source link

On standard serverless deploy, receiving error code 31105 w/ message: "Invalid client name" #41

Closed tommyorndorff closed 3 years ago

tommyorndorff commented 3 years ago

Describe the bug After cloning the repo, adding a .env file with my account sid and auth code, and running npm run serverless:deploy I can open the browser at the page described. However when I click 'Start' under 'Connectivity and Bandwidth Tests', I receive back a {"payload":{"error":{"code":31105,"message":"Invalid client name"}},"type":"error","version":""} from wss://chunderw-vpc-gll.twilio.com/signal

To Reproduce

Expected behavior Tests execute

Screenshots Attaching

Environment (please complete the following information):

Additional context

tommyorndorff commented 3 years ago

image

tommyorndorff commented 3 years ago

When using the .env.example file, I had copied it to .env via cp .env.example .env then updating it. I did not remove the comment at https://github.com/twilio/rtc-diagnostics-react-app/blob/1b1bdbf691a94417d2751fff144d664bfd19a01e/.env.example#L3 as I read that it was optional to use that line at all. Removing the comment and deploying again makes this work fine.